Home
last modified time | relevance | path

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

/linux/drivers/scsi/csiostor/
A 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)
459 #define csio_q_size(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->size)
462 #define csio_q_wr_sz(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->wr_sz)
465 ((__hw)->wrm.q_arr[(__idx)]->un.iq.physiqid)
467 ((__hw)->wrm.q_arr[(__idx)]->un.iq.flq_idx)
472 ((__hw)->wrm.q_arr[(__idx)]->un.eq.physeqid)
476 csio_q_flid((__hw), (__hw)->wrm.q_arr[(__iq_qidx)]->un.iq.flq_idx)
[all …]
A Dcsio_wr.c251 wrm->free_qidx++; in csio_wr_alloc_q()
794 q = wrm->q_arr[i]; in csio_wr_destroy_queues()
1650 if (!wrm->num_q) { in csio_wrm_init()
1655 wrm->q_arr = kcalloc(wrm->num_q, sizeof(struct csio_q *), GFP_KERNEL); in csio_wrm_init()
1656 if (!wrm->q_arr) in csio_wrm_init()
1661 if (!wrm->q_arr[i]) { in csio_wrm_init()
1667 wrm->free_qidx = 0; in csio_wrm_init()
1672 kfree(wrm->q_arr); in csio_wrm_init()
1695 q = wrm->q_arr[i]; in csio_wrm_exit()
1697 if (wrm->free_qidx && (i < wrm->free_qidx)) { in csio_wrm_exit()
[all …]
A Dcsio_hw.h456 struct csio_wrm wrm; /* Work request module*/ member
592 #define csio_hw_to_wrm(hw) ((struct csio_wrm *)(&(hw)->wrm))
A Dcsio_init.c464 struct csio_wrm *wrm = csio_hw_to_wrm(hw); in csio_resource_alloc() local
467 wrm->num_q = ((CSIO_MAX_SCSI_QSETS * 2) + CSIO_HW_NIQ + in csio_resource_alloc()
A Dcsio_isr.c428 struct csio_q *q = hw->wrm.q_arr[sqset->iq_idx]; in csio_request_irqs()
A Dcsio_hw.c1356 struct csio_wrm *wrm = csio_hw_to_wrm(hw); in csio_get_device_params() local
1406 wrm->fw_eq_start = param[2]; in csio_get_device_params()
1407 wrm->fw_iq_start = param[4]; in csio_get_device_params()

Completed in 25 milliseconds