Home
last modified time | relevance | path

Searched refs:num_rx_ring (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/renesas/
Dravb_main.c225 for (i = 0; i < priv->num_rx_ring[q]; i++) { in ravb_ring_free()
236 (priv->num_rx_ring[q] + 1); in ravb_ring_free()
254 for (i = 0; i < priv->num_rx_ring[q]; i++) in ravb_ring_free()
278 int rx_ring_size = sizeof(*rx_desc) * priv->num_rx_ring[q]; in ravb_ring_format()
291 for (i = 0; i < priv->num_rx_ring[q]; i++) { in ravb_ring_format()
342 priv->rx_skb[q] = kcalloc(priv->num_rx_ring[q], in ravb_ring_init()
349 for (i = 0; i < priv->num_rx_ring[q]; i++) { in ravb_ring_init()
364 ring_size = sizeof(struct ravb_ex_rx_desc) * (priv->num_rx_ring[q] + 1); in ravb_ring_init()
518 int entry = priv->cur_rx[q] % priv->num_rx_ring[q]; in ravb_rx()
519 int boguscnt = (priv->dirty_rx[q] + priv->num_rx_ring[q]) - in ravb_rx()
[all …]
Dsh_eth.c1131 for (i = 0; i < mdp->num_rx_ring; i++) in sh_eth_ring_free()
1146 ringsize = sizeof(struct sh_eth_rxdesc) * mdp->num_rx_ring; in sh_eth_ring_free()
1168 int rx_ringsize = sizeof(*rxdesc) * mdp->num_rx_ring; in sh_eth_ring_format()
1182 for (i = 0; i < mdp->num_rx_ring; i++) { in sh_eth_ring_format()
1215 mdp->dirty_rx = (u32) (i - mdp->num_rx_ring); in sh_eth_ring_format()
1258 mdp->rx_skbuff = kcalloc(mdp->num_rx_ring, sizeof(*mdp->rx_skbuff), in sh_eth_ring_init()
1269 rx_ringsize = sizeof(struct sh_eth_rxdesc) * mdp->num_rx_ring; in sh_eth_ring_init()
1463 int entry = mdp->cur_rx % mdp->num_rx_ring; in sh_eth_rx()
1464 int boguscnt = (mdp->dirty_rx + mdp->num_rx_ring) - mdp->cur_rx; in sh_eth_rx()
1537 entry = (++mdp->cur_rx) % mdp->num_rx_ring; in sh_eth_rx()
[all …]
Dsh_eth.h504 u32 num_rx_ring; member
Dravb.h779 u32 num_rx_ring[NUM_RX_QUEUE]; member
/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c315 const int num_rx_ring = 1; in ath10k_htt_send_rx_ring_cfg_ll() local
329 + (sizeof(*ring) * num_rx_ring); in ath10k_htt_send_rx_ring_cfg_ll()