Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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.c182 unsigned int tx_left; member
297 u32 words = min(rs->tx_left, tx_free); in rockchip_spi_pio_writer()
299 rs->tx_left -= words; in rockchip_spi_pio_writer()
361 if (rs->tx_left) in rockchip_spi_isr()
381 rs->tx_left = rs->tx ? xfer->len / rs->n_bytes : 0; in rockchip_spi_prepare_irq()
388 if (rs->tx_left) in rockchip_spi_prepare_irq()
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()
Dspi-mtk-nor.c246 int tx_len, tx_left, prg_left; in mtk_nor_adj_prg_size() local
251 tx_left = MTK_NOR_REG_PRGDATA_MAX + 1 - tx_len; in mtk_nor_adj_prg_size()
252 if (op->data.nbytes > tx_left) in mtk_nor_adj_prg_size()
253 op->data.nbytes = tx_left; in mtk_nor_adj_prg_size()
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/net/ethernet/realtek/
D8139too.c1766 unsigned long dirty_tx, tx_left; in rtl8139_tx_interrupt() local
1772 tx_left = tp->cur_tx - dirty_tx; in rtl8139_tx_interrupt()
1773 while (tx_left > 0) { in rtl8139_tx_interrupt()
1813 tx_left--; in rtl8139_tx_interrupt()