Searched refs:txd_size (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 946 cnt * soc->txrx.txd_size, in mtk_init_fq_dma() 962 phy_ring_tail = eth->phy_scratch_ring + soc->txrx.txd_size * (cnt - 1); in mtk_init_fq_dma() 967 txd = eth->scratch_ring + i * soc->txrx.txd_size; in mtk_init_fq_dma() 971 (i + 1) * soc->txrx.txd_size; in mtk_init_fq_dma() 997 void *txd, u32 txd_size) in mtk_desc_to_tx_buf() argument 999 int idx = (txd - ring->dma) / txd_size; in mtk_desc_to_tx_buf() 1010 static int txd_to_idx(struct mtk_tx_ring *ring, void *dma, u32 txd_size) in txd_to_idx() argument 1012 return (dma - ring->dma) / txd_size; in txd_to_idx() 1201 itx_buf = mtk_desc_to_tx_buf(ring, itxd, soc->txrx.txd_size); in mtk_tx_map() 1256 soc->txrx.txd_size); in mtk_tx_map() [all …]
|
D | mtk_wed.c | 171 u32 txd_size; in mtk_wed_buffer_alloc() local 174 txd_size = dev->wlan.init_buf(buf, buf_phys, token++); in mtk_wed_buffer_alloc() 177 desc->buf1 = cpu_to_le32(buf_phys + txd_size); in mtk_wed_buffer_alloc() 180 ctrl = FIELD_PREP(MTK_WDMA_DESC_CTRL_LEN0, txd_size) | in mtk_wed_buffer_alloc() 182 MTK_WED_BUF_SIZE - txd_size) | in mtk_wed_buffer_alloc() 185 ctrl = FIELD_PREP(MTK_WDMA_DESC_CTRL_LEN0, txd_size) | in mtk_wed_buffer_alloc() 187 MTK_WED_BUF_SIZE - txd_size) | in mtk_wed_buffer_alloc()
|
D | mtk_eth_soc.h | 987 u32 txd_size; member
|
/linux-6.1.9/drivers/net/ethernet/tehuti/ |
D | tehuti.c | 1531 if (bdx_fifo_init(priv, &priv->txd_fifo0.m, priv->txd_size, in bdx_tx_init() 1542 if (bdx_tx_db_init(&priv->txdb, max(priv->txd_size, priv->txf_size))) in bdx_tx_init() 2007 priv->txd_size = 2; in bdx_probe() 2254 ring->tx_pending = bdx_tx_fifo_size_to_packets(priv->txd_size); in bdx_get_ringparam() 2289 (tx_size == priv->txd_size)) in bdx_set_ringparam() 2298 priv->txf_size = priv->txd_size = tx_size; in bdx_set_ringparam()
|
D | tehuti.h | 274 u8 txd_size; member
|
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_hw.h | 65 u8 txd_size; member
|
D | aq_ring.c | 175 self->dx_size = aq_nic_cfg->aq_hw_caps->txd_size; in aq_ring_tx_alloc()
|
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2.c | 34 .txd_size = HW_ATL2_TXD_SIZE, \
|
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_a0.c | 31 .txd_size = HW_ATL_A0_TXD_SIZE, \
|
D | hw_atl_b0.c | 33 .txd_size = HW_ATL_B0_TXD_SIZE, \
|