Lines Matching refs:condition
73 #define CONDITION_CHK(condition, severity, fail_msg) \
76 if (condition) { \
115 /* read one reg and check the condition */
116 #define IDLE_CHK_1(chip_mask, offset, condition, severity, fail_msg) \
123 CONDITION_CHK(condition, severity, prnt_str); \
126 /* loop to read one reg and check the condition */
127 #define IDLE_CHK_2(chip_mask, offset, loop, inc, condition, severity, fail_msg) \
135 CONDITION_CHK(condition, severity, prnt_str); \
139 /* read two regs and check the condition */
140 #define IDLE_CHK_3(chip_mask, offset1, offset2, condition, severity, fail_msg) \
147 CONDITION_CHK(condition, severity, prnt_str); \
151 #define IDLE_CHK_4(chip_mask, offset1, offset2, loop, inc, condition, severity, fail_msg) \
160 CONDITION_CHK(condition, severity, prnt_str); \
166 #define IDLE_CHK_5(chip_mask, offset, offset1, offset2, condition, severity, fail_msg) \
171 IDLE_CHK_3(chip_mask, offset1, offset2, condition, severity, fail_msg); \
199 #define IDLE_CHK_7(chip_mask, offset, offset1, offset2, loop, inc, condition, severity, fail_msg) \
223 CONDITION_CHK(condition, severity, prnt_str); \
229 /* check PXP VQ occupancy according to condition */
230 #define IDLE_CHK_8(chip_mask, offset, condition, severity, fail_msg) \
234 if (condition) { \