Home
last modified time | relevance | path

Searched refs:desc_num (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/drivers/net/
Ddesignware.c359 u32 desc_num = priv->tx_currdescnum; in _dw_eth_send() local
360 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() local
422 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() local
453 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 …]
Dsun8i_emac.c514 u32 status, desc_num = priv->rx_currdescnum; in _sun8i_eth_recv() local
515 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() local
563 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() local
717 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 …]
Dmvpp2.c4061 int desc_num, int cpu, in mvpp2_aggr_txq_init() argument
4092 mvpp2_write(priv, MVPP2_AGGR_TXQ_DESC_SIZE_REG(cpu), desc_num); in mvpp2_aggr_txq_init()