Searched refs:tx_left (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/qualcomm/ |
D | qca_uart.c | 58 int tx_left; /* bytes left in XMIT queue */ member 141 if (qca->tx_left <= 0) { in qcauart_transmit() 152 qca->tx_left); in qcauart_transmit() 154 qca->tx_left -= written; in qcauart_transmit() 192 qca->tx_left = 0; in qcauart_netdev_close() 209 WARN_ON(qca->tx_left); in qcauart_netdev_xmit() 239 qca->tx_left = (pos - qca->tx_buffer) - written; in qcauart_netdev_xmit()
|
/drivers/spi/ |
D | spi-fsl-espi.c | 217 unsigned int tx_left; in fsl_espi_fill_tx_fifo() local 223 tx_left = espi->tx_t->len - espi->tx_pos; in fsl_espi_fill_tx_fifo() 225 while (tx_fifo_avail >= min(4U, tx_left) && tx_left) { in fsl_espi_fill_tx_fifo() 226 if (tx_left >= 4) { in fsl_espi_fill_tx_fifo() 236 tx_left -= 4; in fsl_espi_fill_tx_fifo() 238 } else if (tx_left >= 2 && tx_buf && espi->swab) { in fsl_espi_fill_tx_fifo() 242 tx_left -= 2; in fsl_espi_fill_tx_fifo() 251 tx_left -= 1; in fsl_espi_fill_tx_fifo() 256 if (!tx_left) { in fsl_espi_fill_tx_fifo()
|
D | spi-rockchip.c | 172 unsigned int tx_left; member 270 u32 words = min(rs->tx_left, tx_free); in rockchip_spi_pio_writer() 272 rs->tx_left -= words; in rockchip_spi_pio_writer() 325 if (rs->tx_left) in rockchip_spi_isr() 343 rs->tx_left = rs->tx ? xfer->len / rs->n_bytes : 0; in rockchip_spi_prepare_irq() 349 if (rs->tx_left) in rockchip_spi_prepare_irq()
|
D | spi-dw.c | 146 u32 tx_left, tx_room, rxtx_gap; in tx_max() local 148 tx_left = (dws->tx_end - dws->tx) / dws->n_bytes; in tx_max() 162 return min3(tx_left, tx_room, (u32) (dws->fifo_len - rxtx_gap)); in tx_max()
|
D | spi-pic32.c | 163 u32 tx_left, tx_room, rxtx_gap; in pic32_tx_max() local 165 tx_left = (pic32s->tx_end - pic32s->tx) / n_bytes; in pic32_tx_max() 178 return min3(tx_left, tx_room, (u32)(pic32s->fifo_n_elm - rxtx_gap)); in pic32_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/gpu/drm/bridge/ |
D | sil-sii8620.c | 638 int tx_left = ctx->burst.tx_count; in sii8620_burst_send() local 641 while (tx_left > 0) { in sii8620_burst_send() 650 tx_left -= len; in sii8620_burst_send() 654 ctx->burst.tx_count = tx_left; in sii8620_burst_send()
|
/drivers/net/ethernet/realtek/ |
D | 8139too.c | 1765 unsigned long dirty_tx, tx_left; in rtl8139_tx_interrupt() local 1771 tx_left = tp->cur_tx - dirty_tx; in rtl8139_tx_interrupt() 1772 while (tx_left > 0) { in rtl8139_tx_interrupt() 1812 tx_left--; in rtl8139_tx_interrupt()
|
D | r8169_main.c | 6058 unsigned int dirty_tx, tx_left, bytes_compl = 0, pkts_compl = 0; in rtl_tx() local 6062 tx_left = tp->cur_tx - dirty_tx; in rtl_tx() 6064 while (tx_left > 0) { in rtl_tx() 6088 tx_left--; in rtl_tx()
|