Lines Matching refs:ha
38 extern void ql_dump_buf8(qla_host_t *ha, const char *str, void *dbuf,
40 extern void ql_dump_buf16(qla_host_t *ha, const char *str, void *dbuf,
42 extern void ql_dump_buf32(qla_host_t *ha, const char *str, void *dbuf,
64 #define QL_DPRINT1(ha, x) if (ha->dbg_level & 0x0001) device_printf x
65 #define QL_DPRINT2(ha, x) if (ha->dbg_level & 0x0002) device_printf x
66 #define QL_DPRINT4(ha, x) if (ha->dbg_level & 0x0004) device_printf x
67 #define QL_DPRINT8(ha, x) if (ha->dbg_level & 0x0008) device_printf x
68 #define QL_DPRINT10(ha, x) if (ha->dbg_level & 0x0010) device_printf x
69 #define QL_DPRINT20(ha, x) if (ha->dbg_level & 0x0020) device_printf x
70 #define QL_DPRINT40(ha, x) if (ha->dbg_level & 0x0040) device_printf x
71 #define QL_DPRINT80(ha, x) if (ha->dbg_level & 0x0080) device_printf x
80 #define QL_ASSERT(ha, x, y) if (!x && !ha->err_inject) panic y
81 #define QL_ERR_INJECT(ha, val) (ha->err_inject == val)
85 #define QL_DPRINT1(ha, x)
86 #define QL_DPRINT2(ha, x)
87 #define QL_DPRINT4(ha, x)
88 #define QL_DPRINT8(ha, x)
89 #define QL_DPRINT10(ha, x)
90 #define QL_DPRINT20(ha, x)
91 #define QL_DPRINT40(ha, x)
92 #define QL_DPRINT80(ha, x)
98 #define QL_ASSERT(ha, x, y)
99 #define QL_ERR_INJECT(ha, val) 0