Home
last modified time | relevance | path

Searched refs:wrm (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_wr.h452 #define csio_get_q(__hw, __idx) ((__hw)->wrm.q_arr[__idx])
453 #define csio_q_type(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->type)
454 #define csio_q_pidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->pidx)
455 #define csio_q_cidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->cidx)
456 #define csio_q_inc_idx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->inc_idx)
457 #define csio_q_vstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->vstart)
458 #define csio_q_pstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->pstart)
459 #define csio_q_size(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->size)
460 #define csio_q_credits(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->credits)
461 #define csio_q_portid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->portid)
[all …]
Dcsio_wr.c74 return (hw->wrm.sge.sge_control & EGRSTATUSPAGESIZE_F) ? 128 : 64; in csio_wr_qstat_pgsz()
116 struct csio_wrm *wrm = csio_hw_to_wrm(hw); in csio_wr_fill_fl() local
117 struct csio_sge *sge = &wrm->sge; in csio_wr_fill_fl()
189 struct csio_wrm *wrm = csio_hw_to_wrm(hw); in csio_wr_alloc_q() local
191 int free_idx = wrm->free_qidx; in csio_wr_alloc_q()
196 if (free_idx >= wrm->num_q) { in csio_wr_alloc_q()
233 q = wrm->q_arr[free_idx]; in csio_wr_alloc_q()
249 wrm->free_qidx++; in csio_wr_alloc_q()
278 flq = wrm->q_arr[q->un.iq.flq_idx]; in csio_wr_alloc_q()
359 iq_id = iqp.iqid - hw->wrm.fw_iq_start; in csio_wr_iq_create_rsp()
[all …]
Dcsio_hw.h398 struct csio_wrm wrm; /* Work request module*/ member
534 #define csio_hw_to_wrm(hw) ((struct csio_wrm *)(&(hw)->wrm))
Dcsio_init.c472 struct csio_wrm *wrm = csio_hw_to_wrm(hw); in csio_resource_alloc() local
475 wrm->num_q = ((CSIO_MAX_SCSI_QSETS * 2) + CSIO_HW_NIQ + in csio_resource_alloc()
Dcsio_isr.c430 struct csio_q *q = hw->wrm.q_arr[sqset->iq_idx]; in csio_request_irqs()
Dcsio_hw.c1261 struct csio_wrm *wrm = csio_hw_to_wrm(hw); in csio_get_device_params() local
1311 wrm->fw_eq_start = param[2]; in csio_get_device_params()
1312 wrm->fw_iq_start = param[4]; in csio_get_device_params()