Lines Matching refs:tfr
264 struct spi_transfer *tfr) in __bcm2835aux_spi_transfer_one_irq() argument
279 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one_irq() argument
299 return __bcm2835aux_spi_transfer_one_irq(master, spi, tfr); in bcm2835aux_spi_transfer_one_irq()
304 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one_poll() argument
334 spi, tfr); in bcm2835aux_spi_transfer_one_poll()
344 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one() argument
359 spi_hz = tfr->speed_hz; in bcm2835aux_spi_transfer_one()
376 tfr->effective_speed_hz = clk_hz / (2 * (speed + 1)); in bcm2835aux_spi_transfer_one()
379 bs->tx_buf = tfr->tx_buf; in bcm2835aux_spi_transfer_one()
380 bs->rx_buf = tfr->rx_buf; in bcm2835aux_spi_transfer_one()
381 bs->tx_len = tfr->len; in bcm2835aux_spi_transfer_one()
382 bs->rx_len = tfr->len; in bcm2835aux_spi_transfer_one()
393 byte_limit = hz_per_byte ? tfr->effective_speed_hz / hz_per_byte : 1; in bcm2835aux_spi_transfer_one()
396 if (tfr->len < byte_limit) in bcm2835aux_spi_transfer_one()
397 return bcm2835aux_spi_transfer_one_poll(master, spi, tfr); in bcm2835aux_spi_transfer_one()
400 return bcm2835aux_spi_transfer_one_irq(master, spi, tfr); in bcm2835aux_spi_transfer_one()