Home
last modified time | relevance | path

Searched refs:spi_used_hz (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/spi/
Dspi-bcm2835aux.c328 unsigned long spi_used_hz; in bcm2835aux_spi_transfer_one() local
356 spi_used_hz = clk_hz / (2 * (speed + 1)); in bcm2835aux_spi_transfer_one()
374 if (tfr->len < spi_used_hz / HZ_PER_BYTE) in bcm2835aux_spi_transfer_one()
Dspi-bcm2835.c534 unsigned long spi_used_hz; in bcm2835_spi_transfer_one() local
554 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()