Lines Matching refs:ctrl
14 cq->ctrl = NULL;
23 cq->ctrl = svnic_dev_get_res(vdev, RES_TYPE_CQ, index);
24 if (!cq->ctrl) {
42 writeq(paddr, &cq->ctrl->ring_base);
43 iowrite32(cq->ring.desc_count, &cq->ctrl->ring_size);
44 iowrite32(flow_control_enable, &cq->ctrl->flow_control_enable);
45 iowrite32(color_enable, &cq->ctrl->color_enable);
46 iowrite32(cq_head, &cq->ctrl->cq_head);
47 iowrite32(cq_tail, &cq->ctrl->cq_tail);
48 iowrite32(cq_tail_color, &cq->ctrl->cq_tail_color);
49 iowrite32(interrupt_enable, &cq->ctrl->interrupt_enable);
50 iowrite32(cq_entry_enable, &cq->ctrl->cq_entry_enable);
51 iowrite32(cq_message_enable, &cq->ctrl->cq_message_enable);
52 iowrite32(interrupt_offset, &cq->ctrl->interrupt_offset);
53 writeq(cq_message_addr, &cq->ctrl->cq_message_addr);
61 iowrite32(0, &cq->ctrl->cq_head);
62 iowrite32(0, &cq->ctrl->cq_tail);
63 iowrite32(1, &cq->ctrl->cq_tail_color);