Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbcmsysport.c729 cb = &priv->rx_cbs[i]; in bcm_sysport_alloc_rx_bufs()
773 cb = &priv->rx_cbs[priv->rx_read_ptr]; in bcm_sysport_desc_rx()
1685 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct bcm_sysport_cb), in bcm_sysport_init_rx_ring()
1687 if (!priv->rx_cbs) { in bcm_sysport_init_rx_ring()
1693 cb = priv->rx_cbs + i; in bcm_sysport_init_rx_ring()
1739 cb = &priv->rx_cbs[i]; in bcm_sysport_fini_rx_ring()
1747 kfree(priv->rx_cbs); in bcm_sysport_fini_rx_ring()
1748 priv->rx_cbs = NULL; in bcm_sysport_fini_rx_ring()
Dbcmsysport.h750 struct bcm_sysport_cb *rx_cbs; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c2230 cb = &priv->rx_cbs[ring->read_ptr]; in bcmgenet_desc_rx()
2395 cb = &priv->rx_cbs[i]; in bcmgenet_free_rx_buffers()
2639 ring->cbs = priv->rx_cbs + start_ptr; in bcmgenet_init_rx_ring()
2987 kfree(priv->rx_cbs); in bcmgenet_fini_dma()
3003 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct enet_cb), in bcmgenet_init_dma()
3005 if (!priv->rx_cbs) in bcmgenet_init_dma()
3009 cb = priv->rx_cbs + i; in bcmgenet_init_dma()
3019 kfree(priv->rx_cbs); in bcmgenet_init_dma()
3037 kfree(priv->rx_cbs); in bcmgenet_init_dma()
Dbcmgenet.h642 struct enet_cb *rx_cbs; member