Searched refs:tx_left (Results 1 – 6 of 6) sorted by relevance
/drivers/spi/ |
D | spi-dw.c | 154 u32 tx_left, tx_room, rxtx_gap; in tx_max() local 156 tx_left = (dws->tx_end - dws->tx) / dws->n_bytes; 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 173 tx_left = (pic32s->tx_end - pic32s->tx) / n_bytes; 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 250 tx_left = (rs->tx_end - rs->tx) / rs->n_bytes; in tx_max() 253 return min(tx_left, tx_room); in tx_max()
|
/drivers/net/ethernet/freescale/fs_enet/ |
D | fs_enet-main.c | 97 int tx_left = TX_RING_SIZE; in fs_enet_napi() local 106 while (((sc = CBDR_SC(bdp)) & BD_ENET_TX_READY) == 0 && tx_left) { in fs_enet_napi() 180 tx_left--; in fs_enet_napi() 302 if (received < budget && tx_left) { in fs_enet_napi()
|
/drivers/net/ethernet/realtek/ |
D | 8139too.c | 1772 unsigned long dirty_tx, tx_left; in rtl8139_tx_interrupt() local 1778 tx_left = tp->cur_tx - dirty_tx; in rtl8139_tx_interrupt() 1779 while (tx_left > 0) { in rtl8139_tx_interrupt() 1819 tx_left--; in rtl8139_tx_interrupt()
|
D | r8169.c | 7274 unsigned int dirty_tx, tx_left; in rtl_tx() local 7278 tx_left = tp->cur_tx - dirty_tx; in rtl_tx() 7280 while (tx_left > 0) { in rtl_tx() 7306 tx_left--; in rtl_tx()
|