Home
last modified time | relevance | path

Searched refs:rxtx_gap (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
114 rxtx_gap = (priv->rx_end - priv->rx) - (priv->tx_end - priv->tx); in pic32_tx_max()
115 rxtx_gap /= n_bytes; 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
305 rxtx_gap = ((priv->rx_end - priv->rx) - (priv->tx_end - priv->tx)) / in tx_max()
308 return min3(tx_left, tx_room, (u32)(priv->fifo_len - rxtx_gap)); in tx_max()