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

/linux-4.4.14/drivers/usb/serial/
H A Dkeyspan_pda.c48 int tx_room; member in struct:keyspan_pda_private
476 if (count > priv->tx_room && !in_interrupt()) { keyspan_pda_write()
497 priv->tx_room = *room; keyspan_pda_write()
510 if (count > priv->tx_room) { keyspan_pda_write()
513 count = priv->tx_room; keyspan_pda_write()
523 priv->tx_room -= count; keyspan_pda_write()
570 return priv->tx_room; keyspan_pda_write_room()
637 priv->tx_room = *room; keyspan_pda_open()
/linux-4.4.14/drivers/spi/
H A Dspi-dw.c151 u32 tx_left, tx_room, rxtx_gap; tx_max() local
154 tx_room = dws->fifo_len - dw_readl(dws, DW_SPI_TXFLR); tx_max()
167 return min3(tx_left, tx_room, (u32) (dws->fifo_len - rxtx_gap)); tx_max()
H A Dspi-rockchip.c249 u32 tx_left, tx_room; tx_max() local
252 tx_room = rs->fifo_len - readl_relaxed(rs->regs + ROCKCHIP_SPI_TXFLR); tx_max()
254 return min(tx_left, tx_room); tx_max()

Completed in 149 milliseconds