Home
last modified time | relevance | path

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

/drivers/usb/serial/
Dkeyspan_pda.c48 int tx_room; member
485 if (count > priv->tx_room && !in_interrupt()) { in keyspan_pda_write()
506 priv->tx_room = *room; in keyspan_pda_write()
519 if (count > priv->tx_room) { in keyspan_pda_write()
522 count = priv->tx_room; in keyspan_pda_write()
532 priv->tx_room -= count; in keyspan_pda_write()
579 return priv->tx_room; in keyspan_pda_write_room()
646 priv->tx_room = *room; in keyspan_pda_open()
/drivers/spi/
Dspi-dw.c154 u32 tx_left, tx_room, rxtx_gap; in tx_max() local
157 tx_room = dws->fifo_len - dw_readl(dws, DW_SPI_TXFLR); in tx_max()
170 return min3(tx_left, tx_room, (u32) (dws->fifo_len - rxtx_gap)); in tx_max()
Dspi-pic32.c171 u32 tx_left, tx_room, rxtx_gap; in pic32_tx_max() local
174 tx_room = pic32s->fifo_n_elm - pic32_tx_fifo_level(pic32s); in pic32_tx_max()
186 return min3(tx_left, tx_room, (u32)(pic32s->fifo_n_elm - rxtx_gap)); in pic32_tx_max()
Dspi-rockchip.c248 u32 tx_left, tx_room; in tx_max() local
251 tx_room = rs->fifo_len - readl_relaxed(rs->regs + ROCKCHIP_SPI_TXFLR); in tx_max()
253 return min(tx_left, tx_room); in tx_max()