Searched refs:spi_used_hz (Results 1 – 2 of 2) sorted by relevance
323 unsigned long spi_used_hz; in bcm2835aux_spi_transfer_one() local353 spi_used_hz = clk_hz / (2 * (speed + 1)); in bcm2835aux_spi_transfer_one()375 do_div(xfer_time_us, spi_used_hz); in bcm2835aux_spi_transfer_one()
534 unsigned long spi_used_hz; in bcm2835_spi_transfer_one() local554 spi_used_hz = cdiv ? (clk_hz / cdiv) : (clk_hz / 65536); in bcm2835_spi_transfer_one()580 do_div(xfer_time_us, spi_used_hz); in bcm2835_spi_transfer_one()