Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/qualcomm/
Dqca_uart.c58 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()
/Linux-v5.15/drivers/spi/
Dspi-fsl-espi.c217 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()
Dspi-rockchip.c181 unsigned int tx_left; member
291 u32 words = min(rs->tx_left, tx_free); in rockchip_spi_pio_writer()
293 rs->tx_left -= words; in rockchip_spi_pio_writer()
346 if (rs->tx_left) in rockchip_spi_isr()
364 rs->tx_left = rs->tx ? xfer->len / rs->n_bytes : 0; in rockchip_spi_prepare_irq()
370 if (rs->tx_left) in rockchip_spi_prepare_irq()
Dspi-mtk-nor.c233 int tx_len, tx_left, prg_left; in mtk_nor_adj_prg_size() local
238 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()
Dspi-pic32.c163 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()
/Linux-v5.15/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c96 int tx_left = TX_RING_SIZE; in fs_enet_napi() local
105 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()
/Linux-v5.15/drivers/gpu/drm/bridge/
Dsil-sii8620.c639 int tx_left = ctx->burst.tx_count; in sii8620_burst_send() local
642 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()
/Linux-v5.15/drivers/net/ethernet/realtek/
D8139too.c1765 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()