Searched refs:rxtx_gap (Results 1 – 2 of 2) sorted by relevance
154 u32 tx_left, tx_room, rxtx_gap; in tx_max() local167 rxtx_gap = ((dws->rx_end - dws->rx) - (dws->tx_end - dws->tx)) in tx_max()170 return min3(tx_left, tx_room, (u32) (dws->fifo_len - rxtx_gap)); in tx_max()
171 u32 tx_left, tx_room, rxtx_gap; in pic32_tx_max() local184 rxtx_gap = ((pic32s->rx_end - pic32s->rx) - in pic32_tx_max()186 return min3(tx_left, tx_room, (u32)(pic32s->fifo_n_elm - rxtx_gap)); in pic32_tx_max()