Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/serial/
Dkeyspan_pda.c44 int tx_room; member
483 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()
/Linux-v5.4/drivers/spi/
Dspi-dw.c145 u32 tx_left, tx_room, rxtx_gap; in tx_max() local
148 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()
Dspi-pic32.c163 u32 tx_left, tx_room, rxtx_gap; in pic32_tx_max() local
166 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()