Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_txrx.h118 u32 prod_cnt; /* producer counter */ member
156 unsigned int prod_cnt; /* producer counter */ member
236 unsigned int tail = q->prod_cnt & q->mask; in fun_txq_wr_db()
Dfuneth_tx.c153 unsigned int idx = q->prod_cnt & q->mask; in write_pkt_desc()
313 return q->mask - q->prod_cnt + q->cons_cnt; in fun_txq_avail()
364 q->prod_cnt += ndesc; in fun_start_xmit()
546 idx = q->prod_cnt & q->mask; in fun_xdp_tx()
567 q->prod_cnt += ndesc; in fun_xdp_tx()
604 while (q->cons_cnt != q->prod_cnt) { in fun_txq_purge()
615 while (q->cons_cnt != q->prod_cnt) { in fun_xdpq_purge()
689 q->prod_cnt = 0; in fun_txq_create_dev()
Dfuneth_rx.c54 if (c->prod_cnt - c->cons_cnt <= c->mask && buf->node == numa_mem_id()) { in cache_offer()
55 c->bufs[c->prod_cnt & c->mask] = *buf; in cache_offer()
56 c->prod_cnt++; in cache_offer()
72 if (c->prod_cnt == c->cons_cnt) in cache_get()
87 if (c->prod_cnt - c->cons_cnt > c->mask) { in cache_get()
/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_adminq.c239 static void gve_adminq_kick_cmd(struct gve_priv *priv, u32 prod_cnt) in gve_adminq_kick_cmd() argument
241 iowrite32be(prod_cnt, &priv->reg_bar0->adminq_doorbell); in gve_adminq_kick_cmd()
244 static bool gve_adminq_wait_for_cmd(struct gve_priv *priv, u32 prod_cnt) in gve_adminq_wait_for_cmd() argument
250 == prod_cnt) in gve_adminq_wait_for_cmd()