Home
last modified time | relevance | path

Searched refs:tx_room (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/spi/
Dpic32_spi.c109 u32 tx_left, tx_room, rxtx_gap; in pic32_tx_max() local
112 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()
Ddesignware_spi.c292 u32 tx_left, tx_room, rxtx_gap; in tx_max() local
295 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()