Searched refs:tx_room (Results 1 – 3 of 3) sorted by relevance
44 int tx_room; member483 if (count > priv->tx_room && !in_interrupt()) { in keyspan_pda_write()504 priv->tx_room = *room; in keyspan_pda_write()517 if (count > priv->tx_room) { in keyspan_pda_write()520 count = priv->tx_room; in keyspan_pda_write()530 priv->tx_room -= count; in keyspan_pda_write()577 return priv->tx_room; in keyspan_pda_write_room()644 priv->tx_room = *room; in keyspan_pda_open()
145 u32 tx_left, tx_room, rxtx_gap; in tx_max() local148 tx_room = dws->fifo_len - dw_readl(dws, DW_SPI_TXFLR); in tx_max()161 return min3(tx_left, tx_room, (u32) (dws->fifo_len - rxtx_gap)); in tx_max()
163 u32 tx_left, tx_room, rxtx_gap; in pic32_tx_max() local166 tx_room = pic32s->fifo_n_elm - pic32_tx_fifo_level(pic32s); in pic32_tx_max()178 return min3(tx_left, tx_room, (u32)(pic32s->fifo_n_elm - rxtx_gap)); in pic32_tx_max()