• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/qla2xxx/

Lines Matching defs:ha

189 	struct scsi_qla_host *ha;	/* HA the SP is queued on */
379 #define ISP_REQ_Q_IN(ha, reg) \
380 (IS_QLA2100(ha) || IS_QLA2200(ha) ? \
383 #define ISP_REQ_Q_OUT(ha, reg) \
384 (IS_QLA2100(ha) || IS_QLA2200(ha) ? \
387 #define ISP_RSP_Q_IN(ha, reg) \
388 (IS_QLA2100(ha) || IS_QLA2200(ha) ? \
391 #define ISP_RSP_Q_OUT(ha, reg) \
392 (IS_QLA2100(ha) || IS_QLA2200(ha) ? \
396 #define MAILBOX_REG(ha, reg, num) \
397 (IS_QLA2100(ha) || IS_QLA2200(ha) ? \
402 #define RD_MAILBOX_REG(ha, reg, num) \
403 RD_REG_WORD(MAILBOX_REG(ha, reg, num))
404 #define WRT_MAILBOX_REG(ha, reg, num, data) \
405 WRT_REG_WORD(MAILBOX_REG(ha, reg, num), data)
407 #define FB_CMD_REG(ha, reg) \
408 (IS_QLA2100(ha) || IS_QLA2200(ha) ? \
411 #define RD_FB_CMD_REG(ha, reg) \
412 RD_REG_WORD(FB_CMD_REG(ha, reg))
413 #define WRT_FB_CMD_REG(ha, reg, data) \
414 WRT_REG_WORD(FB_CMD_REG(ha, reg), data)
1143 #define SET_TARGET_ID(ha, to, from) \
1145 if (HAS_EXTENDED_IDS(ha)) \
1526 struct scsi_qla_host *ha;
2177 #define DT_MASK(ha) ((ha)->device_type & (DT_ISP_LAST - 1))
2178 #define IS_QLA2100(ha) (DT_MASK(ha) & DT_ISP2100)
2179 #define IS_QLA2200(ha) (DT_MASK(ha) & DT_ISP2200)
2180 #define IS_QLA2300(ha) (DT_MASK(ha) & DT_ISP2300)
2181 #define IS_QLA2312(ha) (DT_MASK(ha) & DT_ISP2312)
2182 #define IS_QLA2322(ha) (DT_MASK(ha) & DT_ISP2322)
2183 #define IS_QLA6312(ha) (DT_MASK(ha) & DT_ISP6312)
2184 #define IS_QLA6322(ha) (DT_MASK(ha) & DT_ISP6322)
2185 #define IS_QLA2422(ha) (DT_MASK(ha) & DT_ISP2422)
2186 #define IS_QLA2432(ha) (DT_MASK(ha) & DT_ISP2432)
2187 #define IS_QLA5422(ha) (DT_MASK(ha) & DT_ISP5422)
2188 #define IS_QLA5432(ha) (DT_MASK(ha) & DT_ISP5432)
2190 #define IS_QLA23XX(ha) (IS_QLA2300(ha) || IS_QLA2312(ha) || IS_QLA2322(ha) || \
2191 IS_QLA6312(ha) || IS_QLA6322(ha))
2192 #define IS_QLA24XX(ha) (IS_QLA2422(ha) || IS_QLA2432(ha))
2193 #define IS_QLA54XX(ha) (IS_QLA5422(ha) || IS_QLA5432(ha))
2195 #define IS_ZIO_SUPPORTED(ha) ((ha)->device_type & DT_ZIO_SUPPORTED)
2196 #define IS_OEM_001(ha) ((ha)->device_type & DT_OEM_001)
2197 #define HAS_EXTENDED_IDS(ha) ((ha)->device_type & DT_EXTENDED_IDS)
2437 #define LOOP_TRANSITION(ha) \
2438 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \
2439 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) || \
2440 atomic_read(&ha->loop_state) == LOOP_DOWN)
2444 #define qla_printk(level, ha, format, arg...) \
2445 dev_printk(level , &((ha)->pdev->dev) , format , ## arg)