Searched refs:tx_lvl (Results 1 – 2 of 2) sorted by relevance
53 int *rx_lvl, int *tx_lvl) in spi_get_fifo_levels() argument58 *tx_lvl = (spi_sts >> SPI_TX_LVL_OFFSET) & SPI_FIFO_LVL_MASK; in spi_get_fifo_levels()101 int rx_lvl, tx_lvl; in spi_rx_tx() local138 spi_get_fifo_levels(regs, &rx_lvl, &tx_lvl); in spi_rx_tx()144 while (tx_lvl < priv->fifo_size/2 && out_bytes) { in spi_rx_tx()155 tx_lvl += step; in spi_rx_tx()
68 int rx_lvl, tx_lvl; in spi_rx_tx() local83 tx_lvl = ((spi_sts >> 6) & 0x7f); in spi_rx_tx()84 while (tx_lvl < 32 && out_bytes) { in spi_rx_tx()88 tx_lvl += 4; in spi_rx_tx()