Lines Matching refs:phba
327 #define chip_be2(phba) (phba->generation == BE_GEN2) argument
328 #define chip_be3_r(phba) (phba->generation == BE_GEN3) argument
329 #define is_chip_be2_be3r(phba) (chip_be3_r(phba) || (chip_be2(phba))) argument
337 #define BEISCSI_ULP_AVLBL_CID(phba, ulp_num) \ argument
338 (((struct ulp_cid_info *)phba->cid_array_info[ulp_num])->avlbl_cids)
339 #define BEISCSI_ULP0_AVLBL_CID(phba) \ argument
340 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP0)
341 #define BEISCSI_ULP1_AVLBL_CID(phba) \ argument
342 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP1)
383 (phba->cid_to_cri_map[cid] = cri_index)
384 #define BE_GET_CRI_FROM_CID(cid) (phba->cid_to_cri_map[cid])
402 #define BEISCSI_GET_CID_COUNT(phba, ulp_num) \ argument
403 (phba->fw_config.iscsi_cid_count[ulp_num])
448 struct beiscsi_hba *phba; member
734 void beiscsi_process_eq(struct beiscsi_hba *phba);
832 struct wrb_handle *alloc_wrb_handle(struct beiscsi_hba *phba, unsigned int cid);
834 free_mgmt_sgl_handle(struct beiscsi_hba *phba, struct sgl_handle *psgl_handle);
840 void hwi_ring_cq_db(struct beiscsi_hba *phba,
846 static inline bool beiscsi_error(struct beiscsi_hba *phba) in beiscsi_error() argument
848 return phba->ue_detected || phba->fw_timeout; in beiscsi_error()
1072 #define beiscsi_log(phba, level, mask, fmt, arg...) \ argument
1074 uint32_t log_value = phba->attr_log_enable; \
1076 shost_printk(level, phba->shost, \