Searched refs:tx_room (Results 1 – 2 of 2) sorted by relevance
109 u32 tx_left, tx_room, rxtx_gap; in pic32_tx_max() local112 tx_room = priv->fifo_n_word - pic32_spi_tx_fifo_level(priv); in pic32_tx_max()116 return min3(tx_left, tx_room, (u32)(priv->fifo_n_word - rxtx_gap)); in pic32_tx_max()
292 u32 tx_left, tx_room, rxtx_gap; in tx_max() local295 tx_room = priv->fifo_len - dw_read(priv, DW_SPI_TXFLR); in tx_max()308 return min3(tx_left, tx_room, (u32)(priv->fifo_len - rxtx_gap)); in tx_max()