/u-boot/include/linux/ |
A D | iopoll.h | 34 if (cond) \ 43 (cond) ? 0 : -ETIMEDOUT; \ 53 read_poll_timeout(op, addr, val, cond, false, timeout_us) 55 #define readb_poll_timeout(addr, val, cond, timeout_us) \ argument 56 readx_poll_timeout(readb, addr, val, cond, timeout_us) 58 #define readw_poll_timeout(addr, val, cond, timeout_us) \ argument 59 readx_poll_timeout(readw, addr, val, cond, timeout_us) 61 #define readl_poll_timeout(addr, val, cond, timeout_us) \ argument 62 readx_poll_timeout(readl, addr, val, cond, timeout_us) 64 #define readq_poll_timeout(addr, val, cond, timeout_us) \ argument [all …]
|
A D | build_bug.h | 12 #define BUILD_BUG_ON_MSG(cond, msg) (0) argument 46 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) argument
|
A D | compiler.h | 56 #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) ) argument 58 #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond)) argument 60 #define __trace_if_value(cond) ({ \ argument 69 (cond) ? \
|
/u-boot/arch/arm/include/asm/ |
A D | unified.h | 62 .macro it, cond 64 .macro itt, cond 66 .macro ite, cond 68 .macro ittt, cond 70 .macro itte, cond 72 .macro itet, cond 74 .macro itee, cond 76 .macro itttt, cond 78 .macro ittte, cond 80 .macro ittet, cond [all …]
|
/u-boot/post/lib_powerpc/ |
A D | b.c | 133 int cond; in cpu_post_test_b() local 145 for (cond = 0; cond <= 1 && ret == 0; cond++) in cpu_post_test_b() 150 int cr = cond ? 0x80000000 : 0x00000000; in cpu_post_test_b() 152 (cc == 0 && !cond) || in cpu_post_test_b() 153 (cc == 1 && cond); in cpu_post_test_b()
|
/u-boot/include/ |
A D | regmap.h | 288 #define regmap_read_poll_timeout_test(map, addr, val, cond, sleep_us, \ argument 297 if (cond) \ 308 __ret ?: ((cond) ? 0 : -ETIMEDOUT); \ 311 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_ms) \ argument 312 regmap_read_poll_timeout_test(map, addr, val, cond, sleep_us, \ 332 #define regmap_field_read_poll_timeout(field, val, cond, sleep_us, timeout_ms) \ argument 340 if (cond) \ 349 __ret ?: ((cond) ? 0 : -ETIMEDOUT); \
|
A D | log.h | 227 #define debug_cond(cond, fmt, args...) \ argument 239 #define debug_cond(cond, fmt, args...) \ argument 241 if (cond) \
|
/u-boot/include/test/ |
A D | ut.h | 28 const char *func, const char *cond); 41 const char *func, const char *cond, const char *fmt, ...) 108 #define ut_assert(cond) \ argument 109 if (!(cond)) { \ 110 ut_fail(uts, __FILE__, __LINE__, __func__, #cond); \ 115 #define ut_assertf(cond, fmt, args...) \ argument 116 if (!(cond)) { \ 117 ut_failf(uts, __FILE__, __LINE__, __func__, #cond, \ 278 #define ut_assertok(cond) ut_asserteq(0, cond) argument
|
/u-boot/test/ |
A D | ut.c | 21 const char *func, const char *cond) in ut_fail() argument 24 printf("%s:%d, %s(): %s\n", fname, line, func, cond); in ut_fail() 29 const char *func, const char *cond, const char *fmt, ...) in ut_failf() argument 34 printf("%s:%d, %s(): %s: ", fname, line, func, cond); in ut_failf()
|
/u-boot/lib/zlib/ |
A D | zutil.h | 102 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} argument 109 # define Assert(cond,msg) argument
|
/u-boot/lib/bzip2/ |
A D | bzlib_private.h | 101 #define AssertH(cond,errcode) \ argument 102 { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); } 104 #define AssertD(cond,msg) \ argument 105 { if (!(cond)) { \ 111 #define AssertD(cond,msg) /* */ argument 127 #define AssertH(cond,errcode) \ argument 128 { if (!(cond)) bz_internal_error ( errcode ); } 129 #define AssertD(cond,msg) /* */ argument
|
/u-boot/arch/xtensa/include/asm/ |
A D | asmmacro.h | 63 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond 72 loop\cond \at, 99f 105 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond
|
/u-boot/tools/buildman/ |
A D | kconfiglib.py | 1140 if expr_value(cond): 3491 depend_on(sym, cond) 3501 depend_on(sym, cond) 5700 res |= expr_items(cond) 5704 res |= expr_items(cond) 5708 res |= expr_items(cond) 5713 res |= expr_items(cond) 5855 cond) 5859 cond) 6767 if cond == "y": [all …]
|
/u-boot/drivers/bios_emulator/x86emu/ |
A D | ops2.c | 148 int cond; in x86emuOp2_long_jump() local 157 if (cond) in x86emuOp2_long_jump() 173 int cond = 0; in x86emuOp2_set_byte() local 179 cond = ACCESS_FLAG(F_OF); in x86emuOp2_set_byte() 183 cond = !ACCESS_FLAG(F_OF); in x86emuOp2_set_byte() 187 cond = ACCESS_FLAG(F_CF); in x86emuOp2_set_byte() 191 cond = !ACCESS_FLAG(F_CF); in x86emuOp2_set_byte() 195 cond = ACCESS_FLAG(F_ZF); in x86emuOp2_set_byte() 199 cond = !ACCESS_FLAG(F_ZF); in x86emuOp2_set_byte() 211 cond = ACCESS_FLAG(F_SF); in x86emuOp2_set_byte() [all …]
|
A D | ops.c | 1250 int cond; in x86emuOp_jump_near_cond() local 1254 cond = x86emu_check_jump_condition(op1 & 0xF); in x86emuOp_jump_near_cond() 1259 if (cond) in x86emuOp_jump_near_cond()
|
/u-boot/arch/arm/lib/ |
A D | memcpy.S | 28 .macro ldr1b ptr reg cond=al abort 29 ldrb\cond\() \reg, [\ptr], #1 40 .macro str1b ptr reg cond=al abort 41 strb\cond\() \reg, [\ptr], #1
|
/u-boot/scripts/ |
A D | checkpatch.pl | 3671 $cond =~ s/\n./\n /g; 3817 my ($s, $c) = ($stat, $cond); 5076 my ($s, $c) = ($stat, $cond); 5476 my ($cond, $block) = @{$chunk}; 5496 if (statement_lines($cond) > 1) { 5540 my ($cond, $block) = @{$chunks[0]}; 5542 if (defined $cond) { 5545 if (statement_lines($cond) > 1) { 5560 if (defined $cond) { 6377 if (defined $cond) { [all …]
|
/u-boot/drivers/net/ |
A D | armada100_fec.c | 45 static int armdfec_phy_timeout(u32 *reg, u32 flag, int cond) in armdfec_phy_timeout() argument 52 if (cond && (reg_val & flag)) in armdfec_phy_timeout() 54 else if (!cond && !(reg_val & flag)) in armdfec_phy_timeout()
|
/u-boot/tools/ |
A D | asn1_compiler.c | 1442 const char *cond, *act; in render_element() local 1458 cond = (e->flags & ELEMENT_CONDITIONAL || in render_element() 1464 cond, act, skippable ? "_OR_SKIP" : ""); in render_element() 1479 cond, in render_element() 1492 cond, act, in render_element()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | octeontx_nand.c | 374 #define readq_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument 381 if (cond) \ 390 (cond) ? 0 : -ETIMEDOUT; \
|