Searched refs:__hw (Results 1 – 3 of 3) sorted by relevance
/drivers/scsi/csiostor/ |
D | csio_wr.h | 452 #define csio_get_q(__hw, __idx) ((__hw)->wrm.q_arr[__idx]) argument 453 #define csio_q_type(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->type) argument 454 #define csio_q_pidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->pidx) argument 455 #define csio_q_cidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->cidx) argument 456 #define csio_q_inc_idx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->inc_idx) argument 457 #define csio_q_vstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->vstart) argument 458 #define csio_q_pstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->pstart) argument 459 #define csio_q_size(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->size) argument 460 #define csio_q_credits(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->credits) argument 461 #define csio_q_portid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->portid) argument [all …]
|
D | csio_hw.h | 372 #define csio_is_hw_intr_enabled(__hw) \ argument 373 ((__hw)->flags & CSIO_HWF_HW_INTR_ENABLED) 374 #define csio_is_host_intr_enabled(__hw) \ argument 375 ((__hw)->flags & CSIO_HWF_HOST_INTR_ENABLED) 376 #define csio_is_hw_master(__hw) ((__hw)->flags & CSIO_HWF_MASTER) argument 377 #define csio_is_valid_vpd(__hw) ((__hw)->flags & CSIO_HWF_VPD_VALID) argument 378 #define csio_is_dev_id_cached(__hw) ((__hw)->flags & CSIO_HWF_DEVID_CACHED) argument 379 #define csio_valid_vpd_copied(__hw) ((__hw)->flags |= CSIO_HWF_VPD_VALID) argument 380 #define csio_dev_id_cached(__hw) ((__hw)->flags |= CSIO_HWF_DEVID_CACHED) argument 553 #define csio_info(__hw, __fmt, ...) \ argument [all …]
|
D | csio_mb.h | 54 #define CSIO_DUMP_MB(__hw, __num, __mb) \ argument 55 csio_dbg(__hw, "\t%llx %llx %llx %llx %llx %llx %llx %llx\n", \ 56 (unsigned long long)csio_rd_reg64(__hw, __mb), \ 57 (unsigned long long)csio_rd_reg64(__hw, __mb + 8), \ 58 (unsigned long long)csio_rd_reg64(__hw, __mb + 16), \ 59 (unsigned long long)csio_rd_reg64(__hw, __mb + 24), \ 60 (unsigned long long)csio_rd_reg64(__hw, __mb + 32), \ 61 (unsigned long long)csio_rd_reg64(__hw, __mb + 40), \ 62 (unsigned long long)csio_rd_reg64(__hw, __mb + 48), \ 63 (unsigned long long)csio_rd_reg64(__hw, __mb + 56))
|