Searched refs:desc_num (Results 1 – 3 of 3) sorted by relevance
359 u32 desc_num = priv->tx_currdescnum; in _dw_eth_send() local360 struct dmamacdescr *desc_p = &priv->tx_mac_descrtable[desc_num]; in _dw_eth_send()408 if (++desc_num >= CONFIG_TX_DESCR_NUM) in _dw_eth_send()409 desc_num = 0; in _dw_eth_send()411 priv->tx_currdescnum = desc_num; in _dw_eth_send()421 u32 status, desc_num = priv->rx_currdescnum; in _dw_eth_recv() local422 struct dmamacdescr *desc_p = &priv->rx_mac_descrtable[desc_num]; in _dw_eth_recv()452 u32 desc_num = priv->rx_currdescnum; in _dw_free_pkt() local453 struct dmamacdescr *desc_p = &priv->rx_mac_descrtable[desc_num]; in _dw_free_pkt()468 if (++desc_num >= CONFIG_RX_DESCR_NUM) in _dw_free_pkt()[all …]
514 u32 status, desc_num = priv->rx_currdescnum; in _sun8i_eth_recv() local515 struct emac_dma_desc *desc_p = &priv->rx_chain[desc_num]; in _sun8i_eth_recv()562 u32 v, desc_num = priv->tx_currdescnum; in _sun8i_emac_eth_send() local563 struct emac_dma_desc *desc_p = &priv->tx_chain[desc_num]; in _sun8i_emac_eth_send()596 if (++desc_num >= CONFIG_TX_DESCR_NUM) in _sun8i_emac_eth_send()597 desc_num = 0; in _sun8i_emac_eth_send()598 priv->tx_currdescnum = desc_num; in _sun8i_emac_eth_send()716 u32 desc_num = priv->rx_currdescnum; in _sun8i_free_pkt() local717 struct emac_dma_desc *desc_p = &priv->rx_chain[desc_num]; in _sun8i_free_pkt()729 if (++desc_num >= CONFIG_RX_DESCR_NUM) in _sun8i_free_pkt()[all …]
4061 int desc_num, int cpu, in mvpp2_aggr_txq_init() argument4092 mvpp2_write(priv, MVPP2_AGGR_TXQ_DESC_SIZE_REG(cpu), desc_num); in mvpp2_aggr_txq_init()