Lines Matching refs:cidx
176 u16 cidx; /* consumer index (HW) */ member
189 u16 cidx; /* consumer index (HW) */ member
202 u16 cidx; /* consumer index (SW) */ member
501 unsigned int cidx = q->cidx; in free_freelQ_buffers() local
504 struct freelQ_ce *ce = &q->centries[cidx]; in free_freelQ_buffers()
510 if (++cidx == q->size) in free_freelQ_buffers()
511 cidx = 0; in free_freelQ_buffers()
616 unsigned int cidx = q->cidx; in free_cmdQ_buffers() local
619 ce = &q->centries[cidx]; in free_cmdQ_buffers()
634 if (++cidx == q->size) { in free_cmdQ_buffers()
635 cidx = 0; in free_cmdQ_buffers()
639 q->cidx = cidx; in free_cmdQ_buffers()
1043 const struct freelQ_ce *ce = &fl->centries[fl->cidx]; in get_packet()
1062 recycle_fl_buf(fl, fl->cidx); in get_packet()
1068 recycle_fl_buf(fl, fl->cidx); in get_packet()
1092 struct freelQ_ce *ce = &fl->centries[fl->cidx]; in unexpected_offload()
1100 recycle_fl_buf(fl, fl->cidx); in unexpected_offload()
1473 struct respQ_e *e = &q->entries[q->cidx]; in process_responses()
1513 if (++fl->cidx == fl->size) in process_responses()
1514 fl->cidx = 0; in process_responses()
1515 prefetch(fl->centries[fl->cidx].skb); in process_responses()
1524 if (unlikely(++q->cidx == q->size)) { in process_responses()
1525 q->cidx = 0; in process_responses()
1546 const struct respQ_e *e = &Q->entries[Q->cidx]; in responses_pending()
1563 struct respQ_e *e = &q->entries[q->cidx]; in process_pure_responses()
1568 prefetch(fl->centries[fl->cidx].skb); in process_pure_responses()
1579 if (unlikely(++q->cidx == q->size)) { in process_pure_responses()
1580 q->cidx = 0; in process_pure_responses()
1611 writel(adapter->sge->respQ.cidx, in t1_poll()
1666 writel(sge->respQ.cidx, adapter->regs + A_SG_SLEEPING); in t1_interrupt()