Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c710 for (i = 0; i < priv->num_rx_bds; i++) { in bcm_sysport_alloc_rx_bufs()
841 if (priv->rx_read_ptr == priv->num_rx_bds) in bcm_sysport_desc_rx()
1664 priv->num_rx_bds = priv->num_rx_desc_words / WORDS_PER_DESC; in bcm_sysport_init_rx_ring()
1668 priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct bcm_sysport_cb), in bcm_sysport_init_rx_ring()
1675 for (i = 0; i < priv->num_rx_bds; i++) { in bcm_sysport_init_rx_ring()
1695 rdma_writel(priv, priv->num_rx_bds << RDMA_RING_SIZE_SHIFT | in bcm_sysport_init_rx_ring()
1705 priv->num_rx_bds, priv->rx_bds); in bcm_sysport_init_rx_ring()
1721 for (i = 0; i < priv->num_rx_bds; i++) { in bcm_sysport_fini_rx_ring()
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.h591 unsigned int num_rx_bds; member