Home
last modified time | relevance | path

Searched refs:word_delay (Results 1 – 9 of 9) sorted by relevance

/drivers/spi/
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()
A Dspi-imx.c704 if (t->word_delay.value == 0) { in mx51_ecspi_prepare_transfer()
706 } else if (t->word_delay.unit == SPI_DELAY_UNIT_SCK) { in mx51_ecspi_prepare_transfer()
707 word_delay_sck = t->word_delay.value; in mx51_ecspi_prepare_transfer()
718 word_delay_ns = spi_delay_to_ns(&t->word_delay, t); in mx51_ecspi_prepare_transfer()
1332 !(t->word_delay.value) && in spi_imx_setupxfer()
1681 if (transfer->word_delay.value) { in spi_imx_transfer_estimate_time_us()
1686 word_delay_us = DIV_ROUND_CLOSEST(spi_delay_to_ns(&transfer->word_delay, transfer), in spi_imx_transfer_estimate_time_us()
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()
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()
A Dspi-ar934x.c146 spi_delay_exec(&t->word_delay, t); in ar934x_spi_transfer_one_message()
A Dspi-omap2-mcspi.c776 spi_delay_exec(&xfer->word_delay, xfer); in omap2_mcspi_txrx_pio()
825 spi_delay_exec(&xfer->word_delay, xfer); in omap2_mcspi_txrx_pio()
874 spi_delay_exec(&xfer->word_delay, xfer); in omap2_mcspi_txrx_pio()
A Dspi.c4024 delay1 = spi_delay_to_ns(&xfer->word_delay, xfer); in _spi_xfer_word_delay_update()
4028 delay2 = spi_delay_to_ns(&spi->word_delay, xfer); in _spi_xfer_word_delay_update()
4033 memcpy(&xfer->word_delay, &spi->word_delay, in _spi_xfer_word_delay_update()
4034 sizeof(xfer->word_delay)); in _spi_xfer_word_delay_update()
A Dspi-atmel.c1212 struct spi_delay *delay = &spi->word_delay; in atmel_word_delay_csr()
A Dspi-stm32.c1893 spi_delay_ns = spi_delay_to_ns(&xfer->word_delay, xfer); in stm32h7_spi_data_idleness()

Completed in 34 milliseconds