/openbmc/linux/drivers/scsi/fnic/ |
H A D | fnic_res.c | 225 unsigned int i, cq_index; in fnic_alloc_vnic_resources() local 272 cq_index = i; in fnic_alloc_vnic_resources() 274 &fnic->cq[cq_index], cq_index, in fnic_alloc_vnic_resources() 283 cq_index = fnic->rq_count + i; in fnic_alloc_vnic_resources() 284 err = vnic_cq_alloc(fnic->vdev, &fnic->cq[cq_index], cq_index, in fnic_alloc_vnic_resources() 294 cq_index = fnic->raw_wq_count + fnic->rq_count + i; in fnic_alloc_vnic_resources() 295 err = vnic_cq_alloc(fnic->vdev, &fnic->cq[cq_index], in fnic_alloc_vnic_resources() 296 cq_index, in fnic_alloc_vnic_resources() 344 cq_index = i; in fnic_alloc_vnic_resources() 346 cq_index, in fnic_alloc_vnic_resources() [all …]
|
H A D | vnic_wq.c | 141 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init_start() argument 154 iowrite32(cq_index, &wq->ctrl->cq_index); in vnic_wq_init_start() 165 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init() argument 176 iowrite32(cq_index, &wq->ctrl->cq_index); in vnic_wq_init()
|
H A D | vnic_wq_copy.c | 84 void vnic_wq_copy_init(struct vnic_wq_copy *wq, unsigned int cq_index, in vnic_wq_copy_init() argument 95 iowrite32(cq_index, &wq->ctrl->cq_index); in vnic_wq_copy_init()
|
H A D | vnic_wq.h | 39 u32 cq_index; /* 0x18 */ member 158 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, 162 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index,
|
H A D | vnic_rq.c | 99 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init() argument 109 iowrite32(cq_index, &rq->ctrl->cq_index); in vnic_rq_init()
|
H A D | vnic_rq.h | 42 u32 cq_index; /* 0x18 */ member 214 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
|
H A D | vnic_wq_copy.h | 109 void vnic_wq_copy_init(struct vnic_wq_copy *wq, unsigned int cq_index,
|
H A D | fnic_scsi.c | 776 unsigned int cq_index, in fnic_fcpio_ack_handler() argument 785 wq = &fnic->wq_copy[cq_index - fnic->raw_wq_count - fnic->rq_count]; in fnic_fcpio_ack_handler() 1269 unsigned int cq_index, in fnic_fcpio_cmpl_handler() argument 1288 fnic_fcpio_ack_handler(fnic, cq_index, desc); in fnic_fcpio_cmpl_handler() 1325 unsigned int i, cq_index; in fnic_wq_copy_cmpl_handler() local 1334 cq_index = i + fnic->raw_wq_count + fnic->rq_count; in fnic_wq_copy_cmpl_handler() 1337 cur_work_done = vnic_cq_copy_service(&fnic->cq[cq_index], in fnic_wq_copy_cmpl_handler()
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_wq.c | 121 void enic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, in enic_wq_init_start() argument 134 iowrite32(cq_index, &wq->ctrl->cq_index); in enic_wq_init_start() 144 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init() argument 148 enic_wq_init_start(wq, cq_index, 0, 0, in vnic_wq_init()
|
H A D | vnic_rq.c | 101 static void vnic_rq_init_start(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init_start() argument 112 iowrite32(cq_index, &rq->ctrl->cq_index); in vnic_rq_init_start() 125 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init() argument 129 vnic_rq_init_start(rq, cq_index, 0, 0, error_interrupt_enable, in vnic_rq_init()
|
H A D | enic_res.c | 209 unsigned int cq_index; in enic_init_vnic_resources() local 235 cq_index = i; in enic_init_vnic_resources() 237 cq_index, in enic_init_vnic_resources() 243 cq_index = enic->rq_count + i; in enic_init_vnic_resources() 245 cq_index, in enic_init_vnic_resources()
|
H A D | vnic_wq.h | 22 u32 cq_index; /* 0x18 */ member 168 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, 178 void enic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index,
|
H A D | vnic_rq.h | 23 u32 cq_index; /* 0x18 */ member 197 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | vnic_wq.c | 140 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init_start() argument 153 iowrite32(cq_index, &wq->ctrl->cq_index); in vnic_wq_init_start() 163 void svnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in svnic_wq_init() argument 167 vnic_wq_init_start(wq, cq_index, 0, 0, error_interrupt_enable, in svnic_wq_init()
|
H A D | vnic_wq.h | 18 u32 cq_index; /* 0x18 */ member 143 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, 148 void svnic_wq_init(struct vnic_wq *wq, unsigned int cq_index,
|
/openbmc/linux/drivers/scsi/bnx2i/ |
H A D | 57xx_iscsi_hsi.h | 136 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 …]
|
H A D | bnx2i_hwi.c | 141 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 …]
|