Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/
Dbcmsysport.c734 cb = &priv->rx_cbs[i]; in bcm_sysport_alloc_rx_bufs()
778 cb = &priv->rx_cbs[priv->rx_read_ptr]; in bcm_sysport_desc_rx()
1690 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct bcm_sysport_cb), in bcm_sysport_init_rx_ring()
1692 if (!priv->rx_cbs) { in bcm_sysport_init_rx_ring()
1698 cb = priv->rx_cbs + i; in bcm_sysport_init_rx_ring()
1744 cb = &priv->rx_cbs[i]; in bcm_sysport_fini_rx_ring()
1752 kfree(priv->rx_cbs); in bcm_sysport_fini_rx_ring()
1753 priv->rx_cbs = NULL; in bcm_sysport_fini_rx_ring()
Dbcmsysport.h719 struct bcm_sysport_cb *rx_cbs; member
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c2240 cb = &priv->rx_cbs[ring->read_ptr]; in bcmgenet_desc_rx()
2415 cb = &priv->rx_cbs[i]; in bcmgenet_free_rx_buffers()
2659 ring->cbs = priv->rx_cbs + start_ptr; in bcmgenet_init_rx_ring()
3007 kfree(priv->rx_cbs); in bcmgenet_fini_dma()
3023 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct enet_cb), in bcmgenet_init_dma()
3025 if (!priv->rx_cbs) in bcmgenet_init_dma()
3029 cb = priv->rx_cbs + i; in bcmgenet_init_dma()
3039 kfree(priv->rx_cbs); in bcmgenet_init_dma()
3057 kfree(priv->rx_cbs); in bcmgenet_init_dma()
Dbcmgenet.h587 struct enet_cb *rx_cbs; member