Searched refs:tx_level (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/spi/ |
| H A D | spi-rockchip-sfc.c | 390 int tx_level; in rockchip_sfc_write_fifo() local 396 tx_level = rockchip_sfc_wait_txfifo_ready(sfc, 1000); in rockchip_sfc_write_fifo() 397 if (tx_level < 0) in rockchip_sfc_write_fifo() 398 return tx_level; in rockchip_sfc_write_fifo() 399 write_words = min_t(u32, tx_level, dwords); in rockchip_sfc_write_fifo() 407 tx_level = rockchip_sfc_wait_txfifo_ready(sfc, 1000); in rockchip_sfc_write_fifo() 408 if (tx_level < 0) in rockchip_sfc_write_fifo() 409 return tx_level; in rockchip_sfc_write_fifo()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-jz4780.c | 136 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/drivers/net/ethernet/tehuti/ |
| H A D | tehuti.c | 1545 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 …]
|
| H A D | tn40.c | 676 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 …]
|
| H A D | tn40.h | 152 int tx_level; member
|
| H A D | tehuti.h | 258 int tx_level; member
|
| /linux/drivers/net/ethernet/apm/xgene/ |
| H A D | xgene_enet_main.h | 193 u16 tx_level[XGENE_NUM_TX_RING]; member
|