Home
last modified time | relevance | path

Searched refs:txd_size (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c947 cnt * soc->txrx.txd_size, in mtk_init_fq_dma()
963 phy_ring_tail = eth->phy_scratch_ring + soc->txrx.txd_size * (cnt - 1); in mtk_init_fq_dma()
968 txd = eth->scratch_ring + i * soc->txrx.txd_size; in mtk_init_fq_dma()
972 (i + 1) * soc->txrx.txd_size; in mtk_init_fq_dma()
998 void *txd, u32 txd_size) in mtk_desc_to_tx_buf() argument
1000 int idx = (txd - ring->dma) / txd_size; in mtk_desc_to_tx_buf()
1011 static int txd_to_idx(struct mtk_tx_ring *ring, void *dma, u32 txd_size) in txd_to_idx() argument
1013 return (dma - ring->dma) / txd_size; in txd_to_idx()
1202 itx_buf = mtk_desc_to_tx_buf(ring, itxd, soc->txrx.txd_size); in mtk_tx_map()
1257 soc->txrx.txd_size); in mtk_tx_map()
[all …]
Dmtk_wed.c171 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()
Dmtk_eth_soc.h988 u32 txd_size; member
/drivers/net/ethernet/tehuti/
Dtehuti.c1531 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()
Dtehuti.h274 u8 txd_size; member
/drivers/net/ethernet/aquantia/atlantic/
Daq_hw.h65 u8 txd_size; member
Daq_ring.c172 self->dx_size = aq_nic_cfg->aq_hw_caps->txd_size; in aq_ring_tx_alloc()
/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c34 .txd_size = HW_ATL2_TXD_SIZE, \
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_a0.c31 .txd_size = HW_ATL_A0_TXD_SIZE, \
Dhw_atl_b0.c33 .txd_size = HW_ATL_B0_TXD_SIZE, \