Searched refs:tx_left (Results 1 – 8 of 8) sorted by relevance
58 int tx_left; /* bytes left in XMIT queue */ member141 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()
217 unsigned int tx_left; in fsl_espi_fill_tx_fifo() local223 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()
182 unsigned int tx_left; member296 u32 words = min(rs->tx_left, tx_free); in rockchip_spi_pio_writer()298 rs->tx_left -= words; in rockchip_spi_pio_writer()360 if (rs->tx_left) in rockchip_spi_isr()380 rs->tx_left = rs->tx ? xfer->len / rs->n_bytes : 0; in rockchip_spi_prepare_irq()389 if (rs->tx_left) in rockchip_spi_prepare_irq()
233 int tx_len, tx_left, prg_left; in mtk_nor_adj_prg_size() local238 tx_left = MTK_NOR_REG_PRGDATA_MAX + 1 - tx_len; in mtk_nor_adj_prg_size()239 if (op->data.nbytes > tx_left) in mtk_nor_adj_prg_size()240 op->data.nbytes = tx_left; in mtk_nor_adj_prg_size()
163 u32 tx_left, tx_room, rxtx_gap; in pic32_tx_max() local165 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()
96 int tx_left = TX_RING_SIZE; in fs_enet_napi() local105 while (((sc = CBDR_SC(bdp)) & BD_ENET_TX_READY) == 0 && tx_left) { in fs_enet_napi()179 tx_left--; in fs_enet_napi()301 if (received < budget && tx_left) { in fs_enet_napi()
639 int tx_left = ctx->burst.tx_count; in sii8620_burst_send() local642 while (tx_left > 0) { in sii8620_burst_send()651 tx_left -= len; in sii8620_burst_send()655 ctx->burst.tx_count = tx_left; in sii8620_burst_send()
1765 unsigned long dirty_tx, tx_left; in rtl8139_tx_interrupt() local1771 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()