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;
1606 wr = (void *)&q->q.desc[q->q.pidx];
1607 eowr = (void *)&q->q.desc[q->q.pidx];
1882 last_desc = txq->q.pidx + ndesc - 1;
1919 wr = (void *)&txq->q.desc[txq->q.pidx];
2147 eosw_txq_advance_index(&eosw_txq->pidx, n, eosw_txq->ndesc);
2157 eosw_txq->desc[eosw_txq->pidx].skb = skb;
2281 wr = (struct fw_eth_tx_eo_wr *)&eohw_txq->q.desc[eohw_txq->q.pidx];
2401 pktcount = eosw_txq->pidx - eosw_txq->last_pidx;
2495 int pktcount = eosw_txq->pidx - eosw_txq->last_pidx;
2496 int pidx = eosw_txq->pidx;
2506 pidx--;
2507 if (pidx < 0)
2508 pidx += eosw_txq->ndesc;
2510 skb = eosw_txq->desc[pidx].skb;
2513 eosw_txq->desc[pidx].skb = NULL;
2518 eosw_txq->pidx = eosw_txq->last_pidx + 1;
2613 eosw_txq->flowc_idx = eosw_txq->pidx;
2690 wr = (void *)&q->q.desc[q->q.pidx];
2764 wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx];
2802 wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx];
2982 pos = (u64 *)&q->q.desc[q->q.pidx];
3024 last_desc = q->q.pidx + ndesc - 1;
3241 pos = (u64 *)&q->q.desc[q->q.pidx];
4472 fl->pidx = fl->cidx = 0;
4549 q->cidx = q->pidx = 0;