Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbcmsysport.c709 cb = &priv->rx_cbs[i]; in bcm_sysport_alloc_rx_bufs()
753 cb = &priv->rx_cbs[priv->rx_read_ptr]; in bcm_sysport_desc_rx()
1647 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct bcm_sysport_cb), in bcm_sysport_init_rx_ring()
1649 if (!priv->rx_cbs) { in bcm_sysport_init_rx_ring()
1655 cb = priv->rx_cbs + i; in bcm_sysport_init_rx_ring()
1701 cb = &priv->rx_cbs[i]; in bcm_sysport_fini_rx_ring()
1709 kfree(priv->rx_cbs); in bcm_sysport_fini_rx_ring()
1710 priv->rx_cbs = NULL; in bcm_sysport_fini_rx_ring()
Dbcmsysport.h749 struct bcm_sysport_cb *rx_cbs; member
/Linux-v5.4/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c1785 cb = &priv->rx_cbs[ring->read_ptr]; in bcmgenet_desc_rx()
1962 cb = &priv->rx_cbs[i]; in bcmgenet_free_rx_buffers()
2189 ring->cbs = priv->rx_cbs + start_ptr; in bcmgenet_init_rx_ring()
2537 kfree(priv->rx_cbs); in bcmgenet_fini_dma()
2553 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct enet_cb), in bcmgenet_init_dma()
2555 if (!priv->rx_cbs) in bcmgenet_init_dma()
2559 cb = priv->rx_cbs + i; in bcmgenet_init_dma()
2569 kfree(priv->rx_cbs); in bcmgenet_init_dma()
2586 kfree(priv->rx_cbs); in bcmgenet_init_dma()
Dbcmgenet.h622 struct enet_cb *rx_cbs; member