Lines Matching refs:cq
12 struct vnic_cq *cq,
23 desc = (struct fcpio_fw_req *)((u8 *)cq->ring.descs +
24 cq->ring.desc_size * cq->to_clean);
27 while (color != cq->last_color) {
29 if ((*q_service)(cq->vdev, cq->index, desc))
32 cq->to_clean++;
33 if (cq->to_clean == cq->ring.desc_count) {
34 cq->to_clean = 0;
35 cq->last_color = cq->last_color ? 0 : 1;
38 desc = (struct fcpio_fw_req *)((u8 *)cq->ring.descs +
39 cq->ring.desc_size * cq->to_clean);