Home
last modified time | relevance | path

Searched refs:tx_level (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/spi/
Dspi-rockchip-sfc.c369 int tx_level; in rockchip_sfc_write_fifo() local
375 tx_level = rockchip_sfc_wait_txfifo_ready(sfc, 1000); in rockchip_sfc_write_fifo()
376 if (tx_level < 0) in rockchip_sfc_write_fifo()
377 return tx_level; in rockchip_sfc_write_fifo()
378 write_words = min_t(u32, tx_level, dwords); in rockchip_sfc_write_fifo()
386 tx_level = rockchip_sfc_wait_txfifo_ready(sfc, 1000); in rockchip_sfc_write_fifo()
387 if (tx_level < 0) in rockchip_sfc_write_fifo()
388 return tx_level; in rockchip_sfc_write_fifo()
Dspi-pxa2xx.c1068 u8 tx_level = read_SSSR_bits(drv_data, SSSR_TFL_MASK) >> 8; in pxa2xx_spi_transfer_one() local
1070 if (tx_level) { in pxa2xx_spi_transfer_one()
1072 dev_warn(&spi->dev, "%u bytes of garbage in Tx FIFO!\n", tx_level); in pxa2xx_spi_transfer_one()
1073 if (tx_level > transfer->len) in pxa2xx_spi_transfer_one()
1074 tx_level = transfer->len; in pxa2xx_spi_transfer_one()
1075 drv_data->tx += tx_level; in pxa2xx_spi_transfer_one()
/linux-6.12.1/drivers/i2c/busses/
Di2c-jz4780.c136 int tx_level; member
493 - i2c->cdata->tx_level - 1); in jz4780_i2c_irq()
589 jz4780_i2c_writew(i2c, JZ4780_I2C_TXTL, i2c->cdata->tx_level); in jz4780_i2c_xfer_read()
645 jz4780_i2c_writew(i2c, JZ4780_I2C_TXTL, i2c->cdata->tx_level); in jz4780_i2c_xfer_write()
741 .tx_level = JZ4780_I2C_FIFO_LEN / 2,
749 .tx_level = X1000_I2C_FIFO_LEN / 2,
/linux-6.12.1/drivers/net/ethernet/tehuti/
Dtehuti.c1545 priv->tx_level = BDX_MAX_TX_LEVEL; in bdx_tx_init()
1547 priv->tx_update_mark = priv->tx_level - 1024; in bdx_tx_init()
1649 priv->tx_level -= txd_sizes[nr_frags].bytes; in bdx_tx_transmit()
1650 BDX_ASSERT(priv->tx_level <= 0 || priv->tx_level > BDX_MAX_TX_LEVEL); in bdx_tx_transmit()
1652 if (priv->tx_level > priv->tx_update_mark) { in bdx_tx_transmit()
1679 if (priv->tx_level < BDX_MIN_TX_LEVEL) { in bdx_tx_transmit()
1681 BDX_DRV_NAME, ndev->name, priv->tx_level); in bdx_tx_transmit()
1700 int tx_level = 0; in bdx_tx_cleanup() local
1719 tx_level -= db->rptr->len; /* '-' koz len is negative */ in bdx_tx_cleanup()
1733 priv->tx_level += tx_level; in bdx_tx_cleanup()
[all …]
Dtn40.c676 priv->tx_level = TN40_MAX_TX_LEVEL; in tn40_create_tx_ring()
677 priv->tx_update_mark = priv->tx_level - 1024; in tn40_create_tx_ring()
794 priv->tx_level -= tn40_txd_sizes[nr_frags].bytes; in tn40_start_xmit()
795 if (priv->tx_level > priv->tx_update_mark) { in tn40_start_xmit()
810 if (priv->tx_level < TN40_MIN_TX_LEVEL) { in tn40_start_xmit()
811 netdev_dbg(priv->ndev, "TX Q STOP level %d\n", priv->tx_level); in tn40_start_xmit()
822 int tx_level = 0; in tn40_tx_cleanup() local
842 tx_level -= db->rptr->len; /* '-' Because the len is negative */ in tn40_tx_cleanup()
858 priv->tx_level += tx_level; in tn40_tx_cleanup()
866 (priv->tx_level >= TN40_MAX_TX_LEVEL / 2))) { in tn40_tx_cleanup()
[all …]
Dtn40.h120 int tx_level; member
Dtehuti.h258 int tx_level; member
/linux-6.12.1/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c543 pdata->tx_level[tx_ring->cp_ring->index] += count; in xgene_enet_setup_tx_desc()
555 u32 tx_level = pdata->tx_level[index]; in xgene_enet_start_xmit() local
559 if (tx_level < pdata->txc_level[index]) in xgene_enet_start_xmit()
560 tx_level += ((typeof(pdata->tx_level[index]))~0U); in xgene_enet_start_xmit()
562 if ((tx_level - pdata->txc_level[index]) > pdata->tx_qcnt_hi) { in xgene_enet_start_xmit()
Dxgene_enet_main.h193 u16 tx_level[XGENE_NUM_TX_RING]; member