Home
last modified time | relevance | path

Searched refs:tx_cbs (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c137 struct bcmasp_tx_cb *txcb = &intf->tx_cbs[index]; in bcmasp_clean_txcb()
329 txcb = &intf->tx_cbs[spb_index]; in bcmasp_xmit()
450 txcb = &intf->tx_cbs[intf->tx_spb_clean_index]; in bcmasp_tx_reclaim()
793 intf->tx_cbs = kcalloc(DESC_RING_COUNT, sizeof(struct bcmasp_tx_cb), in bcmasp_init_tx()
795 if (!intf->tx_cbs) { in bcmasp_init_tx()
802 memset(intf->tx_cbs, 0, sizeof(struct bcmasp_tx_cb) * DESC_RING_COUNT); in bcmasp_init_tx()
840 kfree(intf->tx_cbs); in bcmasp_reclaim_free_all_tx()
H A Dbcmasp.h299 struct bcmasp_tx_cb *tx_cbs; member
/openbmc/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c1901 &priv->tx_cbs[ring->clean_ptr]); in __bcmgenet_tx_reclaim()
2653 ring->cbs = priv->tx_cbs + start_ptr; in bcmgenet_init_tx_ring()
3045 priv->tx_cbs + i)); in bcmgenet_fini_dma()
3057 kfree(priv->tx_cbs); in bcmgenet_fini_dma()
3085 priv->tx_cbs = kcalloc(priv->num_tx_bds, sizeof(struct enet_cb), in bcmgenet_init_dma()
3087 if (!priv->tx_cbs) { in bcmgenet_init_dma()
3093 cb = priv->tx_cbs + i; in bcmgenet_init_dma()
3107 kfree(priv->tx_cbs); in bcmgenet_init_dma()
H A Dbcmgenet.h583 struct enet_cb *tx_cbs; member