Lines Matching refs:tail_idx
646 cq->tail_idx = 0; in ionic_cq_init()
679 cq_info = &cq->info[cq->tail_idx]; in ionic_cq_service()
681 if (cq->tail_idx == cq->num_descs - 1) in ionic_cq_service()
683 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in ionic_cq_service()
684 cq_info = &cq->info[cq->tail_idx]; in ionic_cq_service()
716 q->tail_idx = 0; in ionic_q_init()
795 tail = q->tail_idx; in ionic_q_is_posted()
810 if (q->tail_idx == q->head_idx) in ionic_q_service()
817 q->name, stop_index, q->tail_idx, q->head_idx); in ionic_q_service()
820 desc_info = &q->info[q->tail_idx]; in ionic_q_service()
821 index = q->tail_idx; in ionic_q_service()
822 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_q_service()