Home
last modified time | relevance | path

Searched refs:tx_left (Results 1 – 6 of 6) sorted by relevance

/drivers/spi/
Dspi-dw.c154 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()
Dspi-pic32.c171 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()
Dspi-rockchip.c248 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/
Dfs_enet-main.c97 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/
D8139too.c1772 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()
Dr8169.c7274 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()