Searched refs:tx_fifo_avail (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-fsl-espi.c | 216 u32 tx_fifo_avail; in fsl_espi_fill_tx_fifo() local 221 tx_fifo_avail = events ? SPIE_TXCNT(events) : FSL_ESPI_FIFO_SIZE; in fsl_espi_fill_tx_fifo() 225 while (tx_fifo_avail >= min(4U, tx_left) && tx_left) { in fsl_espi_fill_tx_fifo() 237 tx_fifo_avail -= 4; in fsl_espi_fill_tx_fifo() 243 tx_fifo_avail -= 2; in fsl_espi_fill_tx_fifo() 252 tx_fifo_avail -= 1; in fsl_espi_fill_tx_fifo() 266 if (tx_fifo_avail) in fsl_espi_fill_tx_fifo()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-fsl-espi.c | 216 u32 tx_fifo_avail; in fsl_espi_fill_tx_fifo() local 221 tx_fifo_avail = events ? SPIE_TXCNT(events) : FSL_ESPI_FIFO_SIZE; in fsl_espi_fill_tx_fifo() 225 while (tx_fifo_avail >= min(4U, tx_left) && tx_left) { in fsl_espi_fill_tx_fifo() 237 tx_fifo_avail -= 4; in fsl_espi_fill_tx_fifo() 243 tx_fifo_avail -= 2; in fsl_espi_fill_tx_fifo() 252 tx_fifo_avail -= 1; in fsl_espi_fill_tx_fifo() 266 if (tx_fifo_avail) in fsl_espi_fill_tx_fifo()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-tegra.c | 797 unsigned int words_to_transfer, tx_fifo_avail; in tegra_i2c_fill_tx_fifo() local 803 tx_fifo_avail = FIELD_GET(I2C_MST_FIFO_STATUS_TX, val); in tegra_i2c_fill_tx_fifo() 806 tx_fifo_avail = FIELD_GET(I2C_FIFO_STATUS_TX, val); in tegra_i2c_fill_tx_fifo() 819 if (words_to_transfer > tx_fifo_avail) in tegra_i2c_fill_tx_fifo() 820 words_to_transfer = tx_fifo_avail; in tegra_i2c_fill_tx_fifo() 830 tx_fifo_avail -= words_to_transfer; in tegra_i2c_fill_tx_fifo() 848 if (tx_fifo_avail > 0 && buf_remaining > 0) { in tegra_i2c_fill_tx_fifo() 850 * buf_remaining > 3 check not needed as tx_fifo_avail == 0 in tegra_i2c_fill_tx_fifo() 851 * when (words_to_transfer was > tx_fifo_avail) earlier in tegra_i2c_fill_tx_fifo()
|
H A D | i2c-altera.c | 210 size_t tx_fifo_avail = idev->fifo_size - readl(idev->base + in altr_i2c_fill_tx_fifo() local 212 int bytes_to_transfer = min(tx_fifo_avail, idev->msg_len); in altr_i2c_fill_tx_fifo()
|
H A D | i2c-axxia.c | 305 size_t tx_fifo_avail = FIFO_SIZE - readl(idev->base + MST_TX_FIFO); in axxia_i2c_fill_tx_fifo() local 306 int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_fill_tx_fifo()
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-tegra.c | 798 unsigned int words_to_transfer, tx_fifo_avail; in tegra_i2c_fill_tx_fifo() local 804 tx_fifo_avail = FIELD_GET(I2C_MST_FIFO_STATUS_TX, val); in tegra_i2c_fill_tx_fifo() 807 tx_fifo_avail = FIELD_GET(I2C_FIFO_STATUS_TX, val); in tegra_i2c_fill_tx_fifo() 820 if (words_to_transfer > tx_fifo_avail) in tegra_i2c_fill_tx_fifo() 821 words_to_transfer = tx_fifo_avail; in tegra_i2c_fill_tx_fifo() 831 tx_fifo_avail -= words_to_transfer; in tegra_i2c_fill_tx_fifo() 849 if (tx_fifo_avail > 0 && buf_remaining > 0) { in tegra_i2c_fill_tx_fifo() 851 * buf_remaining > 3 check not needed as tx_fifo_avail == 0 in tegra_i2c_fill_tx_fifo() 852 * when (words_to_transfer was > tx_fifo_avail) earlier in tegra_i2c_fill_tx_fifo()
|
H A D | i2c-altera.c | 209 size_t tx_fifo_avail = idev->fifo_size - readl(idev->base + in altr_i2c_fill_tx_fifo() local 211 int bytes_to_transfer = min(tx_fifo_avail, idev->msg_len); in altr_i2c_fill_tx_fifo()
|
H A D | i2c-axxia.c | 305 size_t tx_fifo_avail = FIFO_SIZE - readl(idev->base + MST_TX_FIFO); in axxia_i2c_fill_tx_fifo() local 306 int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_fill_tx_fifo()
|
Completed in 14 milliseconds