Searched refs:tx_level (Results 1 – 7 of 7) sorted by relevance
/drivers/spi/ |
D | spi-rockchip-sfc.c | 369 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()
|
D | spi-pxa2xx.c | 1117 u8 tx_level = read_SSSR_bits(drv_data, SSSR_TFL_MASK) >> 8; in pxa2xx_spi_transfer_one() local 1119 if (tx_level) { in pxa2xx_spi_transfer_one() 1121 dev_warn(&spi->dev, "%u bytes of garbage in Tx FIFO!\n", tx_level); in pxa2xx_spi_transfer_one() 1122 if (tx_level > transfer->len) in pxa2xx_spi_transfer_one() 1123 tx_level = transfer->len; in pxa2xx_spi_transfer_one() 1124 drv_data->tx += tx_level; in pxa2xx_spi_transfer_one()
|
/drivers/net/ethernet/tehuti/ |
D | tehuti.c | 1543 priv->tx_level = BDX_MAX_TX_LEVEL; in bdx_tx_init() 1545 priv->tx_update_mark = priv->tx_level - 1024; in bdx_tx_init() 1647 priv->tx_level -= txd_sizes[nr_frags].bytes; in bdx_tx_transmit() 1648 BDX_ASSERT(priv->tx_level <= 0 || priv->tx_level > BDX_MAX_TX_LEVEL); in bdx_tx_transmit() 1650 if (priv->tx_level > priv->tx_update_mark) { in bdx_tx_transmit() 1677 if (priv->tx_level < BDX_MIN_TX_LEVEL) { in bdx_tx_transmit() 1679 BDX_DRV_NAME, ndev->name, priv->tx_level); in bdx_tx_transmit() 1698 int tx_level = 0; in bdx_tx_cleanup() local 1717 tx_level -= db->rptr->len; /* '-' koz len is negative */ in bdx_tx_cleanup() 1731 priv->tx_level += tx_level; in bdx_tx_cleanup() [all …]
|
D | tehuti.h | 258 int tx_level; member
|
/drivers/i2c/busses/ |
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,
|
/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 543 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()
|
D | xgene_enet_main.h | 192 u16 tx_level[XGENE_NUM_TX_RING]; member
|