Searched refs:rx_cbs (Results 1 – 4 of 4) sorted by relevance
726 cb = &priv->rx_cbs[i]; in bcm_sysport_alloc_rx_bufs()771 cb = &priv->rx_cbs[priv->rx_read_ptr]; in bcm_sysport_desc_rx()1684 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct bcm_sysport_cb), in bcm_sysport_init_rx_ring()1686 if (!priv->rx_cbs) { in bcm_sysport_init_rx_ring()1692 cb = priv->rx_cbs + i; in bcm_sysport_init_rx_ring()1738 cb = &priv->rx_cbs[i]; in bcm_sysport_fini_rx_ring()1746 kfree(priv->rx_cbs); in bcm_sysport_fini_rx_ring()1747 priv->rx_cbs = NULL; in bcm_sysport_fini_rx_ring()
757 struct bcm_sysport_cb *rx_cbs; member
1787 cb = &priv->rx_cbs[ring->read_ptr]; in bcmgenet_desc_rx()1964 cb = &priv->rx_cbs[i]; in bcmgenet_free_rx_buffers()2191 ring->cbs = priv->rx_cbs + start_ptr; in bcmgenet_init_rx_ring()2544 kfree(priv->rx_cbs); in bcmgenet_fini_dma()2560 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct enet_cb), in bcmgenet_init_dma()2562 if (!priv->rx_cbs) in bcmgenet_init_dma()2566 cb = priv->rx_cbs + i; in bcmgenet_init_dma()2576 kfree(priv->rx_cbs); in bcmgenet_init_dma()2593 kfree(priv->rx_cbs); in bcmgenet_init_dma()
624 struct enet_cb *rx_cbs; member