Lines Matching defs:pidx
542 __be64 *d = &q->desc[q->pidx];
543 struct rx_sw_desc *sd = &q->sdesc[q->pidx];
582 if (++q->pidx == q->size) {
583 q->pidx = 0;
611 if (++q->pidx == q->size) {
612 q->pidx = 0;
1048 q->db_pidx = q->pidx;
1066 int index = (q->pidx
1067 ? (q->pidx - 1)
1241 q->pidx += n;
1242 if (q->pidx >= q->size)
1243 q->pidx -= q->size;
1432 hw_in_use = q->pidx - hw_cidx;
1580 last_desc = q->q.pidx + ndesc - 1;
1607 wr = (void *)&q->q.desc[q->q.pidx];
1608 eowr = (void *)&q->q.desc[q->q.pidx];
1886 last_desc = txq->q.pidx + ndesc - 1;
1925 wr = (void *)&txq->q.desc[txq->q.pidx];
2153 eosw_txq_advance_index(&eosw_txq->pidx, n, eosw_txq->ndesc);
2163 eosw_txq->desc[eosw_txq->pidx].skb = skb;
2287 wr = (struct fw_eth_tx_eo_wr *)&eohw_txq->q.desc[eohw_txq->q.pidx];
2407 pktcount = eosw_txq->pidx - eosw_txq->last_pidx;
2501 int pktcount = eosw_txq->pidx - eosw_txq->last_pidx;
2502 int pidx = eosw_txq->pidx;
2512 pidx--;
2513 if (pidx < 0)
2514 pidx += eosw_txq->ndesc;
2516 skb = eosw_txq->desc[pidx].skb;
2519 eosw_txq->desc[pidx].skb = NULL;
2524 eosw_txq->pidx = eosw_txq->last_pidx + 1;
2619 eosw_txq->flowc_idx = eosw_txq->pidx;
2696 wr = (void *)&q->q.desc[q->q.pidx];
2770 wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx];
2808 wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx];
2988 pos = (u64 *)&q->q.desc[q->q.pidx];
3030 last_desc = q->q.pidx + ndesc - 1;
3247 pos = (u64 *)&q->q.desc[q->q.pidx];
4497 fl->pidx = fl->cidx = 0;
4574 q->cidx = q->pidx = 0;