Searched refs:rx_cbs (Results 1 – 4 of 4) sorted by relevance
745 cb = &priv->rx_cbs[i]; in bcm_sysport_alloc_rx_bufs()789 cb = &priv->rx_cbs[priv->rx_read_ptr]; in bcm_sysport_desc_rx()1701 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct bcm_sysport_cb), in bcm_sysport_init_rx_ring()1703 if (!priv->rx_cbs) { in bcm_sysport_init_rx_ring()1709 cb = priv->rx_cbs + i; in bcm_sysport_init_rx_ring()1755 cb = &priv->rx_cbs[i]; in bcm_sysport_fini_rx_ring()1763 kfree(priv->rx_cbs); in bcm_sysport_fini_rx_ring()1764 priv->rx_cbs = NULL; in bcm_sysport_fini_rx_ring()
730 struct bcm_sysport_cb *rx_cbs; member
2283 cb = &priv->rx_cbs[ring->read_ptr]; in bcmgenet_desc_rx()2458 cb = &priv->rx_cbs[i]; in bcmgenet_free_rx_buffers()2701 ring->cbs = priv->rx_cbs + start_ptr; in bcmgenet_init_rx_ring()3048 kfree(priv->rx_cbs); in bcmgenet_fini_dma()3064 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct enet_cb), in bcmgenet_init_dma()3066 if (!priv->rx_cbs) in bcmgenet_init_dma()3070 cb = priv->rx_cbs + i; in bcmgenet_init_dma()3080 kfree(priv->rx_cbs); in bcmgenet_init_dma()3098 kfree(priv->rx_cbs); in bcmgenet_init_dma()
588 struct enet_cb *rx_cbs; member