Lines Matching refs:phba

252 #define chip_be2(phba)      (phba->generation == BE_GEN2)  argument
253 #define chip_be3_r(phba) (phba->generation == BE_GEN3) argument
254 #define is_chip_be2_be3r(phba) (chip_be3_r(phba) || (chip_be2(phba))) argument
262 #define BEISCSI_ULP_AVLBL_CID(phba, ulp_num) \ argument
263 (((struct ulp_cid_info *)phba->cid_array_info[ulp_num])->avlbl_cids)
264 #define BEISCSI_ULP0_AVLBL_CID(phba) \ argument
265 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP0)
266 #define BEISCSI_ULP1_AVLBL_CID(phba) \ argument
267 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP1)
300 (phba->cid_to_cri_map[cid] = cri_index)
301 #define BE_GET_CRI_FROM_CID(cid) (phba->cid_to_cri_map[cid])
320 #define BEISCSI_GET_CID_COUNT(phba, ulp_num) \ argument
321 (phba->fw_config.iscsi_cid_count[ulp_num])
395 #define beiscsi_hba_in_error(phba) ((phba)->state & BEISCSI_HBA_IN_ERR) argument
396 #define beiscsi_hba_is_online(phba) \ argument
397 (!beiscsi_hba_in_error((phba)) && \
398 test_bit(BEISCSI_HBA_ONLINE, &phba->state))
409 struct beiscsi_hba *phba; member
555 #define BEISCSI_ASYNC_HDQ_SIZE(phba, ulp) \ argument
556 (BEISCSI_GET_CID_COUNT((phba), (ulp)) * 2)
692 void beiscsi_process_eq(struct beiscsi_hba *phba);
790 struct wrb_handle *alloc_wrb_handle(struct beiscsi_hba *phba, unsigned int cid,
793 free_mgmt_sgl_handle(struct beiscsi_hba *phba, struct sgl_handle *psgl_handle);
798 void hwi_ring_cq_db(struct beiscsi_hba *phba,
803 void beiscsi_process_mcc_cq(struct beiscsi_hba *phba);
1009 void beiscsi_start_boot_work(struct beiscsi_hba *phba, unsigned int s_handle);
1020 #define __beiscsi_log(phba, level, fmt, arg...) \ argument
1021 shost_printk(level, phba->shost, fmt, __LINE__, ##arg)
1023 #define beiscsi_log(phba, level, mask, fmt, arg...) \ argument
1025 uint32_t log_value = phba->attr_log_enable; \
1027 __beiscsi_log(phba, level, fmt, ##arg); \