Lines Matching defs:phba

251 #define chip_be2(phba)      (phba->generation == BE_GEN2)
252 #define chip_be3_r(phba) (phba->generation == BE_GEN3)
253 #define is_chip_be2_be3r(phba) (chip_be3_r(phba) || (chip_be2(phba)))
261 #define BEISCSI_ULP_AVLBL_CID(phba, ulp_num) \
262 (((struct ulp_cid_info *)phba->cid_array_info[ulp_num])->avlbl_cids)
263 #define BEISCSI_ULP0_AVLBL_CID(phba) \
264 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP0)
265 #define BEISCSI_ULP1_AVLBL_CID(phba) \
266 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP1)
299 (phba->cid_to_cri_map[cid] = cri_index)
300 #define BE_GET_CRI_FROM_CID(cid) (phba->cid_to_cri_map[cid])
319 #define BEISCSI_GET_CID_COUNT(phba, ulp_num) \
320 (phba->fw_config.iscsi_cid_count[ulp_num])
394 #define beiscsi_hba_in_error(phba) ((phba)->state & BEISCSI_HBA_IN_ERR)
395 #define beiscsi_hba_is_online(phba) \
396 (!beiscsi_hba_in_error((phba)) && \
397 test_bit(BEISCSI_HBA_ONLINE, &phba->state))
408 struct beiscsi_hba *phba;
554 #define BEISCSI_ASYNC_HDQ_SIZE(phba, ulp) \
555 (BEISCSI_GET_CID_COUNT((phba), (ulp)) * 2)
691 void beiscsi_process_eq(struct beiscsi_hba *phba);
789 struct wrb_handle *alloc_wrb_handle(struct beiscsi_hba *phba, unsigned int cid,
792 free_mgmt_sgl_handle(struct beiscsi_hba *phba, struct sgl_handle *psgl_handle);
797 void hwi_ring_cq_db(struct beiscsi_hba *phba,
802 void beiscsi_process_mcc_cq(struct beiscsi_hba *phba);
1008 void beiscsi_start_boot_work(struct beiscsi_hba *phba, unsigned int s_handle);
1019 #define __beiscsi_log(phba, level, fmt, arg...) \
1020 shost_printk(level, phba->shost, fmt, __LINE__, ##arg)
1022 #define beiscsi_log(phba, level, mask, fmt, arg...) \
1024 uint32_t log_value = phba->attr_log_enable; \
1026 __beiscsi_log(phba, level, fmt, ##arg); \