Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/fungible/funeth/
H A 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()
363 q->prod_cnt += ndesc; in fun_start_xmit()
545 idx = q->prod_cnt & q->mask; in fun_xdp_tx()
566 q->prod_cnt += ndesc; in fun_xdp_tx()
603 while (q->cons_cnt != q->prod_cnt) { in fun_txq_purge()
614 while (q->cons_cnt != q->prod_cnt) { in fun_xdpq_purge()
688 q->prod_cnt = 0; in fun_txq_create_dev()
H A Dfuneth_txrx.h119 u32 prod_cnt; /* producer counter */ member
157 unsigned int prod_cnt; /* producer counter */ member
237 unsigned int tail = q->prod_cnt & q->mask; in fun_txq_wr_db()
H A 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/drivers/net/ethernet/google/gve/
H A Dgve_adminq.c377 static void gve_adminq_kick_cmd(struct gve_priv *priv, u32 prod_cnt) in gve_adminq_kick_cmd() argument
379 iowrite32be(prod_cnt, &priv->reg_bar0->adminq_doorbell); in gve_adminq_kick_cmd()
382 static bool gve_adminq_wait_for_cmd(struct gve_priv *priv, u32 prod_cnt) in gve_adminq_wait_for_cmd() argument
388 == prod_cnt) in gve_adminq_wait_for_cmd()