Lines Matching refs:pidx
586 __be64 *d = &q->desc[q->pidx]; in refill_fl()
587 struct rx_sw_desc *sd = &q->sdesc[q->pidx]; in refill_fl()
625 if (++q->pidx == q->size) { in refill_fl()
626 q->pidx = 0; in refill_fl()
653 if (++q->pidx == q->size) { in refill_fl()
654 q->pidx = 0; in refill_fl()
952 q->db_pidx = q->pidx; in ring_tx_db()
970 int index = (q->pidx in ring_tx_db()
971 ? (q->pidx - 1) in ring_tx_db()
1094 q->pidx += n; in txq_advance()
1095 if (q->pidx >= q->size) in txq_advance()
1096 q->pidx -= q->size; in txq_advance()
1214 wr = (void *)&q->q.desc[q->q.pidx]; in t4_eth_xmit()
1300 last_desc = q->q.pidx + ndesc - 1; in t4_eth_xmit()
1393 wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx]; in ctrl_xmit()
1431 wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx]; in restart_ctrlq()
1575 pos = (u64 *)&q->q.desc[q->q.pidx]; in service_ofldq()
1594 last_desc = q->q.pidx + ndesc - 1; in service_ofldq()
2554 fl->pidx = fl->cidx = 0; in t4_sge_alloc_rxq()
2630 q->cidx = q->pidx = 0; in init_txq()