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()1702 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct bcm_sysport_cb), in bcm_sysport_init_rx_ring()1704 if (!priv->rx_cbs) { in bcm_sysport_init_rx_ring()1710 cb = priv->rx_cbs + i; in bcm_sysport_init_rx_ring()1756 cb = &priv->rx_cbs[i]; in bcm_sysport_fini_rx_ring()1764 kfree(priv->rx_cbs); in bcm_sysport_fini_rx_ring()1765 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()2707 ring->cbs = priv->rx_cbs + start_ptr; in bcmgenet_init_rx_ring()3054 kfree(priv->rx_cbs); in bcmgenet_fini_dma()3070 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct enet_cb), in bcmgenet_init_dma()3072 if (!priv->rx_cbs) in bcmgenet_init_dma()3076 cb = priv->rx_cbs + i; in bcmgenet_init_dma()3086 kfree(priv->rx_cbs); in bcmgenet_init_dma()3104 kfree(priv->rx_cbs); in bcmgenet_init_dma()
590 struct enet_cb *rx_cbs; member