Lines Matching defs:cq
24 vnic_cq_fw_service(struct vnic_cq *cq,
35 desc = (struct snic_fw_req *)((u8 *)cq->ring.descs +
36 cq->ring.desc_size * cq->to_clean);
39 while (color != cq->last_color) {
41 if ((*q_service)(cq->vdev, cq->index, desc))
44 cq->to_clean++;
45 if (cq->to_clean == cq->ring.desc_count) {
46 cq->to_clean = 0;
47 cq->last_color = cq->last_color ? 0 : 1;
50 desc = (struct snic_fw_req *)((u8 *)cq->ring.descs +
51 cq->ring.desc_size * cq->to_clean);