Lines Matching defs:ha
120 #define GET_TARGET_ID(ha, iocb) ((HAS_EXTENDED_IDS(ha)) \
791 struct qla_hw_data *ha;
1023 * is not set. Right now, ha value is ignored.
1029 static inline bool qla_tgt_mode_enabled(struct scsi_qla_host *ha)
1031 return ha->host->active_mode == MODE_TARGET;
1034 static inline bool qla_ini_mode_enabled(struct scsi_qla_host *ha)
1036 return ha->host->active_mode == MODE_INITIATOR;
1039 static inline bool qla_dual_mode_enabled(struct scsi_qla_host *ha)
1041 return (ha->host->active_mode == MODE_DUAL);