Lines Matching defs:cq
10 vnic_cq_fw_service(struct vnic_cq *cq,
21 desc = (struct snic_fw_req *)((u8 *)cq->ring.descs +
22 cq->ring.desc_size * cq->to_clean);
25 while (color != cq->last_color) {
27 if ((*q_service)(cq->vdev, cq->index, desc))
30 cq->to_clean++;
31 if (cq->to_clean == cq->ring.desc_count) {
32 cq->to_clean = 0;
33 cq->last_color = cq->last_color ? 0 : 1;
36 desc = (struct snic_fw_req *)((u8 *)cq->ring.descs +
37 cq->ring.desc_size * cq->to_clean);