Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbcmsysport.c708 for (i = 0; i < priv->num_rx_bds; i++) { in bcm_sysport_alloc_rx_bufs()
839 if (priv->rx_read_ptr == priv->num_rx_bds) in bcm_sysport_desc_rx()
1643 priv->num_rx_bds = priv->num_rx_desc_words / WORDS_PER_DESC; in bcm_sysport_init_rx_ring()
1647 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct bcm_sysport_cb), in bcm_sysport_init_rx_ring()
1654 for (i = 0; i < priv->num_rx_bds; i++) { in bcm_sysport_init_rx_ring()
1674 rdma_writel(priv, priv->num_rx_bds << RDMA_RING_SIZE_SHIFT | in bcm_sysport_init_rx_ring()
1684 priv->num_rx_bds, priv->rx_bds); in bcm_sysport_init_rx_ring()
1700 for (i = 0; i < priv->num_rx_bds; i++) { in bcm_sysport_fini_rx_ring()
Dbcmsysport.h750 unsigned int num_rx_bds; member
/Linux-v5.4/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h623 unsigned int num_rx_bds; member
Dbcmgenet.c1961 for (i = 0; i < priv->num_rx_bds; i++) { in bcmgenet_free_rx_buffers()
2552 priv->num_rx_bds = TOTAL_DESC; in bcmgenet_init_dma()
2553 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct enet_cb), in bcmgenet_init_dma()
2558 for (i = 0; i < priv->num_rx_bds; i++) { in bcmgenet_init_dma()