Searched refs:tx_room (Results 1 – 4 of 4) sorted by relevance
/drivers/usb/serial/ |
D | keyspan_pda.c | 48 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/ |
D | spi-dw.c | 154 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()
|
D | spi-pic32.c | 171 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()
|
D | spi-rockchip.c | 248 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()
|