Lines Matching refs:pidx
593 __be64 *d = &q->desc[q->pidx]; in refill_fl()
594 struct rx_sw_desc *sd = &q->sdesc[q->pidx]; in refill_fl()
627 if (++q->pidx == q->size) { in refill_fl()
628 q->pidx = 0; in refill_fl()
655 if (++q->pidx == q->size) { in refill_fl()
656 q->pidx = 0; in refill_fl()
951 q->db_pidx = q->pidx; in ring_tx_db()
969 int index = (q->pidx in ring_tx_db()
970 ? (q->pidx - 1) in ring_tx_db()
1087 q->pidx += n; in txq_advance()
1088 if (q->pidx >= q->size) in txq_advance()
1089 q->pidx -= q->size; in txq_advance()
1200 wr = (void *)&q->q.desc[q->q.pidx]; in t4_eth_xmit()
1272 last_desc = q->q.pidx + ndesc - 1; in t4_eth_xmit()
1365 wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx]; in ctrl_xmit()
1405 wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx]; in restart_ctrlq()
1548 pos = (u64 *)&q->q.desc[q->q.pidx]; in service_ofldq()
1567 last_desc = q->q.pidx + ndesc - 1; in service_ofldq()
2522 fl->pidx = fl->cidx = 0; in t4_sge_alloc_rxq()
2563 q->cidx = q->pidx = 0; in init_txq()