Home
last modified time | relevance | path

Searched refs:word_delay (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-sprd.c161 u32 word_delay; member
187 u32 interval_cycle = SPRD_SPI_FIFO_SIZE * ss->word_delay; in sprd_spi_transfer_max_timeout()
667 struct spi_delay *d = &t->word_delay; in sprd_spi_init_hw()
668 u16 word_delay, interval; in sprd_spi_init_hw() local
686 word_delay = clamp_t(u16, d->value, SPRD_SPI_MIN_DELAY_CYCLE, in sprd_spi_init_hw()
688 interval = DIV_ROUND_UP(word_delay - 10, 4); in sprd_spi_init_hw()
689 ss->word_delay = interval * 4 + 10; in sprd_spi_init_hw()
H A Dspidev.c277 k_tmp->word_delay.value = u_tmp->word_delay_usecs; in spidev_message()
278 k_tmp->word_delay.unit = SPI_DELAY_UNIT_USECS; in spidev_message()
290 k_tmp->word_delay.value, in spidev_message()
H A Dspi-orion.c474 spi_delay_exec(&xfer->word_delay, xfer); in orion_spi_write_read()
484 spi_delay_exec(&xfer->word_delay, xfer); in orion_spi_write_read()
H A Dspi.c3496 delay1 = spi_delay_to_ns(&xfer->word_delay, xfer); in _spi_xfer_word_delay_update()
3500 delay2 = spi_delay_to_ns(&spi->word_delay, xfer); in _spi_xfer_word_delay_update()
3505 memcpy(&xfer->word_delay, &spi->word_delay, in _spi_xfer_word_delay_update()
3506 sizeof(xfer->word_delay)); in _spi_xfer_word_delay_update()
3574 * Ensure transfer word_delay is at least as long as that required by in __spi_validate()
H A Dspi-atmel.c1154 struct spi_delay *delay = &spi->word_delay; in atmel_word_delay_csr()
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-sprd.c160 u32 word_delay; member
186 u32 interval_cycle = SPRD_SPI_FIFO_SIZE * ss->word_delay; in sprd_spi_transfer_max_timeout()
666 struct spi_delay *d = &t->word_delay; in sprd_spi_init_hw()
667 u16 word_delay, interval; in sprd_spi_init_hw() local
685 word_delay = clamp_t(u16, d->value, SPRD_SPI_MIN_DELAY_CYCLE, in sprd_spi_init_hw()
687 interval = DIV_ROUND_UP(word_delay - 10, 4); in sprd_spi_init_hw()
688 ss->word_delay = interval * 4 + 10; in sprd_spi_init_hw()
H A Dspidev.c288 k_tmp->word_delay.value = u_tmp->word_delay_usecs; in spidev_message()
289 k_tmp->word_delay.unit = SPI_DELAY_UNIT_USECS; in spidev_message()
301 k_tmp->word_delay.value, in spidev_message()
H A Dspi-ar934x.c146 spi_delay_exec(&t->word_delay, t); in ar934x_spi_transfer_one_message()
H A Dspi-orion.c513 spi_delay_exec(&xfer->word_delay, xfer); in orion_spi_write_read()
523 spi_delay_exec(&xfer->word_delay, xfer); in orion_spi_write_read()
H A Dspi-omap2-mcspi.c763 spi_delay_exec(&xfer->word_delay, xfer); in omap2_mcspi_txrx_pio()
812 spi_delay_exec(&xfer->word_delay, xfer); in omap2_mcspi_txrx_pio()
861 spi_delay_exec(&xfer->word_delay, xfer); in omap2_mcspi_txrx_pio()
H A Dspi.c3870 delay1 = spi_delay_to_ns(&xfer->word_delay, xfer); in _spi_xfer_word_delay_update()
3874 delay2 = spi_delay_to_ns(&spi->word_delay, xfer); in _spi_xfer_word_delay_update()
3879 memcpy(&xfer->word_delay, &spi->word_delay, in _spi_xfer_word_delay_update()
3880 sizeof(xfer->word_delay)); in _spi_xfer_word_delay_update()
3947 * Ensure transfer word_delay is at least as long as that required by in __spi_validate()
H A Dspi-atmel.c1217 struct spi_delay *delay = &spi->word_delay; in atmel_word_delay_csr()
/kernel/linux/linux-5.10/include/linux/spi/
H A Dspi.h145 * @word_delay: delay to be inserted between consecutive
196 struct spi_delay word_delay; /* inter-word delay */ member
845 * @word_delay: inter word delay to be introduced after each word size
958 struct spi_delay word_delay; member
/kernel/linux/linux-6.6/include/linux/spi/
H A Dspi.h162 * @word_delay: delay to be inserted between consecutive
217 struct spi_delay word_delay; /* Inter-word delay */ member
942 * @word_delay: inter word delay to be introduced after each word size
1061 struct spi_delay word_delay; member

Completed in 29 milliseconds