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

/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c1142 cnt * soc->txrx.txd_size,
1158 phy_ring_tail = eth->phy_scratch_ring + soc->txrx.txd_size * (cnt - 1);
1164 txd = eth->scratch_ring + i * soc->txrx.txd_size;
1168 (i + 1) * soc->txrx.txd_size;
1196 void *txd, u32 txd_size)
1198 int idx = (txd - ring->dma) / txd_size;
1209 static int txd_to_idx(struct mtk_tx_ring *ring, void *dma, u32 txd_size) argument
1211 return (dma - ring->dma) / txd_size;
1419 itx_buf = mtk_desc_to_tx_buf(ring, itxd, soc->txrx.txd_size);
1473 soc->txrx.txd_size);
1195 mtk_desc_to_tx_buf(struct mtk_tx_ring *ring, void *txd, u32 txd_size) argument
[all...]
H A Dmtk_wed.c698 u32 txd_size; local
700 txd_size = dev->wlan.init_buf(buf, buf_phys,
702 desc->buf1 = cpu_to_le32(buf_phys + txd_size);
703 ctrl = FIELD_PREP(MTK_WDMA_DESC_CTRL_LEN0, txd_size);
707 MTK_WED_BUF_SIZE - txd_size);
711 MTK_WED_BUF_SIZE - txd_size);
H A Dmtk_eth_soc.h1156 * @txd_size Tx DMA descriptor size.
1177 u32 txd_size; member in struct:mtk_soc_data::__anon459
/linux-master/drivers/net/ethernet/tehuti/
H A Dtehuti.c1531 if (bdx_fifo_init(priv, &priv->txd_fifo0.m, priv->txd_size,
1542 if (bdx_tx_db_init(&priv->txdb, max(priv->txd_size, priv->txf_size)))
2007 priv->txd_size = 2;
2254 ring->tx_pending = bdx_tx_fifo_size_to_packets(priv->txd_size);
2289 (tx_size == priv->txd_size))
2298 priv->txf_size = priv->txd_size = tx_size;
H A Dtehuti.h274 u8 txd_size; member in struct:bdx_priv
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_hw.h65 u8 txd_size; member in struct:aq_hw_caps_s
H A Daq_ring.c172 self->dx_size = aq_nic_cfg->aq_hw_caps->txd_size;
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_a0.c31 .txd_size = HW_ATL_A0_TXD_SIZE, \
H A Dhw_atl_b0.c33 .txd_size = HW_ATL_B0_TXD_SIZE, \
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.c34 .txd_size = HW_ATL2_TXD_SIZE, \

Completed in 337 milliseconds