Searched refs:rx_lvl (Results 1 – 2 of 2) sorted by relevance
53 int *rx_lvl, int *tx_lvl) in spi_get_fifo_levels() argument57 *rx_lvl = (spi_sts >> SPI_RX_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()157 if (rx_lvl >= step) { in spi_rx_tx()158 while (rx_lvl >= step) { in spi_rx_tx()176 rx_lvl -= step; in spi_rx_tx()
68 int rx_lvl, tx_lvl; in spi_rx_tx() local82 rx_lvl = ((spi_sts >> 15) & 0x7f); in spi_rx_tx()90 while (rx_lvl >= 4 && in_bytes) { in spi_rx_tx()95 rx_lvl -= 4; in spi_rx_tx()