Home
last modified time | relevance | path

Searched refs:cq_index (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dfnic_res.c237 unsigned int i, cq_index; in fnic_alloc_vnic_resources() local
284 cq_index = i; in fnic_alloc_vnic_resources()
286 &fnic->cq[cq_index], cq_index, in fnic_alloc_vnic_resources()
295 cq_index = fnic->rq_count + i; in fnic_alloc_vnic_resources()
296 err = vnic_cq_alloc(fnic->vdev, &fnic->cq[cq_index], cq_index, in fnic_alloc_vnic_resources()
306 cq_index = fnic->raw_wq_count + fnic->rq_count + i; in fnic_alloc_vnic_resources()
307 err = vnic_cq_alloc(fnic->vdev, &fnic->cq[cq_index], in fnic_alloc_vnic_resources()
308 cq_index, in fnic_alloc_vnic_resources()
356 cq_index = i; in fnic_alloc_vnic_resources()
358 cq_index, in fnic_alloc_vnic_resources()
[all …]
Dvnic_wq.c153 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init_start() argument
166 iowrite32(cq_index, &wq->ctrl->cq_index); in vnic_wq_init_start()
177 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init() argument
188 iowrite32(cq_index, &wq->ctrl->cq_index); in vnic_wq_init()
Dvnic_wq_copy.c96 void vnic_wq_copy_init(struct vnic_wq_copy *wq, unsigned int cq_index, in vnic_wq_copy_init() argument
107 iowrite32(cq_index, &wq->ctrl->cq_index); in vnic_wq_copy_init()
Dvnic_wq.h51 u32 cq_index; /* 0x18 */ member
170 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index,
174 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index,
Dvnic_rq.c111 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init() argument
121 iowrite32(cq_index, &rq->ctrl->cq_index); in vnic_rq_init()
Dvnic_rq.h54 u32 cq_index; /* 0x18 */ member
226 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
Dvnic_wq_copy.h121 void vnic_wq_copy_init(struct vnic_wq_copy *wq, unsigned int cq_index,
Dfnic_scsi.c790 unsigned int cq_index, in fnic_fcpio_ack_handler() argument
799 wq = &fnic->wq_copy[cq_index - fnic->raw_wq_count - fnic->rq_count]; in fnic_fcpio_ack_handler()
1275 unsigned int cq_index, in fnic_fcpio_cmpl_handler() argument
1294 fnic_fcpio_ack_handler(fnic, cq_index, desc); in fnic_fcpio_cmpl_handler()
1331 unsigned int i, cq_index; in fnic_wq_copy_cmpl_handler() local
1340 cq_index = i + fnic->raw_wq_count + fnic->rq_count; in fnic_wq_copy_cmpl_handler()
1343 cur_work_done = vnic_cq_copy_service(&fnic->cq[cq_index], in fnic_wq_copy_cmpl_handler()
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
Dvnic_rq.c114 static void vnic_rq_init_start(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init_start() argument
125 iowrite32(cq_index, &rq->ctrl->cq_index); in vnic_rq_init_start()
138 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init() argument
142 vnic_rq_init_start(rq, cq_index, 0, 0, error_interrupt_enable, in vnic_rq_init()
Dvnic_wq.c134 void enic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, in enic_wq_init_start() argument
147 iowrite32(cq_index, &wq->ctrl->cq_index); in enic_wq_init_start()
157 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init() argument
161 enic_wq_init_start(wq, cq_index, 0, 0, in vnic_wq_init()
Denic_res.c222 unsigned int cq_index; in enic_init_vnic_resources() local
248 cq_index = i; in enic_init_vnic_resources()
250 cq_index, in enic_init_vnic_resources()
256 cq_index = enic->rq_count + i; in enic_init_vnic_resources()
258 cq_index, in enic_init_vnic_resources()
Dvnic_wq.h35 u32 cq_index; /* 0x18 */ member
181 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index,
191 void enic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index,
Dvnic_rq.h36 u32 cq_index; /* 0x18 */ member
210 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dvnic_wq.c154 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init_start() argument
167 iowrite32(cq_index, &wq->ctrl->cq_index); in vnic_wq_init_start()
177 void svnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in svnic_wq_init() argument
181 vnic_wq_init_start(wq, cq_index, 0, 0, error_interrupt_enable, in svnic_wq_init()
Dvnic_wq.h32 u32 cq_index; /* 0x18 */ member
157 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index,
162 void svnic_wq_init(struct vnic_wq *wq, unsigned int cq_index,
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
D57xx_iscsi_hsi.h136 u8 cq_index; member
142 u8 cq_index; member
255 u8 cq_index; member
263 u8 cq_index; member
444 u8 cq_index; member
452 u8 cq_index; member
879 u8 cq_index; member
887 u8 cq_index; member
1029 u8 cq_index; member
1037 u8 cq_index; member
[all …]
Dbnx2i_hwi.c141 u16 cq_index; in bnx2i_arm_cq_event_coalescing() local
170 cq_index = ep->qp.cqe_exp_seq_sn + next_index - 1; in bnx2i_arm_cq_event_coalescing()
171 if (cq_index > ep->qp.cqe_size * 2) in bnx2i_arm_cq_event_coalescing()
172 cq_index -= ep->qp.cqe_size * 2; in bnx2i_arm_cq_event_coalescing()
173 if (!cq_index) in bnx2i_arm_cq_event_coalescing()
174 cq_index = 1; in bnx2i_arm_cq_event_coalescing()
176 cq_db->sqn[0] = cq_index; in bnx2i_arm_cq_event_coalescing()
368 login_wqe->cq_index = 0; /* CQ# used for completion, 5771x only */ in bnx2i_send_iscsi_login()
442 tmfabort_wqe->cq_index = 0; /* CQ# used for completion, 5771x only */ in bnx2i_send_iscsi_tmf()
489 text_wqe->cq_index = 0; /* CQ# used for completion, 5771x only */ in bnx2i_send_iscsi_text()
[all …]