Lines Matching refs:phba
330 #define chip_be2(phba) (phba->generation == BE_GEN2) argument
331 #define chip_be3_r(phba) (phba->generation == BE_GEN3) argument
332 #define is_chip_be2_be3r(phba) (chip_be3_r(phba) || (chip_be2(phba))) argument
340 #define BEISCSI_ULP_AVLBL_CID(phba, ulp_num) \ argument
341 (((struct ulp_cid_info *)phba->cid_array_info[ulp_num])->avlbl_cids)
342 #define BEISCSI_ULP0_AVLBL_CID(phba) \ argument
343 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP0)
344 #define BEISCSI_ULP1_AVLBL_CID(phba) \ argument
345 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP1)
386 (phba->cid_to_cri_map[cid] = cri_index)
387 #define BE_GET_CRI_FROM_CID(cid) (phba->cid_to_cri_map[cid])
405 #define BEISCSI_GET_CID_COUNT(phba, ulp_num) \ argument
406 (phba->fw_config.iscsi_cid_count[ulp_num])
452 struct beiscsi_hba *phba; member
739 void beiscsi_process_eq(struct beiscsi_hba *phba);
837 struct wrb_handle *alloc_wrb_handle(struct beiscsi_hba *phba, unsigned int cid,
840 free_mgmt_sgl_handle(struct beiscsi_hba *phba, struct sgl_handle *psgl_handle);
846 void hwi_ring_cq_db(struct beiscsi_hba *phba,
852 static inline bool beiscsi_error(struct beiscsi_hba *phba) in beiscsi_error() argument
854 return phba->ue_detected || phba->fw_timeout; in beiscsi_error()
1077 #define beiscsi_log(phba, level, mask, fmt, arg...) \ argument
1079 uint32_t log_value = phba->attr_log_enable; \
1081 shost_printk(level, phba->shost, \