/u-boot/include/linux/ |
H A D | iopoll.h | 18 * @cond: Break condition (usually involving @val) 29 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, args...) \ 34 if (cond) \ 43 (cond) ? 0 : -ETIMEDOUT; \ 46 #define readx_poll_sleep_timeout(op, addr, val, cond, sleep_us, timeout_us) \ 47 read_poll_timeout(op, val, cond, sleep_us, timeout_us, addr) 49 #define readl_poll_sleep_timeout(addr, val, cond, sleep_us, timeout_us) \ 50 readx_poll_sleep_timeout(readl, addr, val, cond, sleep_us, timeout_us) 52 #define readx_poll_timeout(op, addr, val, cond, timeout_us) \ 53 read_poll_timeout(op, val, cond, fals [all...] |
H A D | build_bug.h | 38 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
|
H A D | compiler.h | 56 #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) ) 58 #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond)) 60 #define __trace_if_value(cond) ({ \ 69 (cond) ? \
|
/u-boot/arch/arm/include/asm/ |
H 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/ |
H A D | b.c | 133 int cond; local 145 for (cond = 0; cond <= 1 && ret == 0; cond++) 150 int cr = cond ? 0x80000000 : 0x00000000; 152 (cc == 0 && !cond) || 153 (cc == 1 && cond);
|
/u-boot/include/ |
H A D | regmap.h | 271 * @cond: Break condition (usually involving @val) 288 #define regmap_read_poll_timeout_test(map, addr, val, cond, sleep_us, \ 297 if (cond) \ 308 __ret ?: ((cond) ? 0 : -ETIMEDOUT); \ 311 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_ms) \ 312 regmap_read_poll_timeout_test(map, addr, val, cond, sleep_us, \ 321 * @cond: Break condition (usually involving @val) 332 #define regmap_field_read_poll_timeout(field, val, cond, sleep_us, timeout_ms) \ 340 if (cond) \ 349 __ret ?: ((cond) [all...] |
H A D | log.h | 249 #define debug_cond(cond, fmt, args...) \ 251 if (cond) \ 260 * Output a debug text when condition "cond" is met. The "cond" should be 264 #define debug_cond(cond, fmt, args...) \ 266 if (cond) \
|
H A D | phy.h | 288 * @cond: Break condition (usually involving @val) 298 #define phy_read_mmd_poll_timeout(phydev, devaddr, regnum, val, cond, \ 301 int __ret = read_poll_timeout(phy_read_mmd, val, (cond) || val < 0, \
|
/u-boot/include/test/ |
H A D | ut.h | 25 * @cond: The condition that failed 28 const char *func, const char *cond); 37 * @cond: The condition that failed 41 const char *func, const char *cond, const char *fmt, ...) 145 #define ut_assert(cond) ({ \ 148 if (!(cond)) { \ 149 ut_fail(uts, __FILE__, __LINE__, __func__, #cond); \ 156 #define ut_assertf(cond, fmt, args...) ({ \ 159 if (!(cond)) { \ 160 ut_failf(uts, __FILE__, __LINE__, __func__, #cond, \ [all...] |
/u-boot/lib/zstd/common/ |
H A D | error_private.h | 101 #define RETURN_ERROR_IF(cond, err, ...) \ 102 if (cond) { \ 104 __FILE__, __LINE__, ERR_QUOTE(cond), ERR_QUOTE(ERROR(err))); \
|
/u-boot/lib/zlib/ |
H A D | zutil.h | 102 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} 109 # define Assert(cond,msg)
|
/u-boot/arch/xtensa/include/asm/ |
H A D | asmmacro.h | 36 * __loops ar, as, at, inc_log2[, mask_log2][, cond][, ncond] 42 * cond true condition (used in loop'cond') 63 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond variable 72 loop\cond \at, 99f 105 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond
|
/u-boot/lib/bzip2/ |
H A D | bzlib_private.h | 101 #define AssertH(cond,errcode) \ 102 { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); } 104 #define AssertD(cond,msg) \ 105 { if (!(cond)) { \ 111 #define AssertD(cond,msg) /* */ 127 #define AssertH(cond,errcode) \ 128 { if (!(cond)) bz_internal_error ( errcode ); } 129 #define AssertD(cond,msg) /* */
|
/u-boot/drivers/bios_emulator/x86emu/ |
H A D | ops2.c | 149 int cond; local 153 cond = x86emu_check_jump_condition(op2 & 0xF); 158 if (cond) 174 int cond = 0; local 180 cond = ACCESS_FLAG(F_OF); 184 cond = !ACCESS_FLAG(F_OF); 188 cond = ACCESS_FLAG(F_CF); 192 cond = !ACCESS_FLAG(F_CF); 196 cond = ACCESS_FLAG(F_ZF); 200 cond [all...] |
H A D | ops.c | 1251 int cond; local 1255 cond = x86emu_check_jump_condition(op1 & 0xF); 1260 if (cond)
|
/u-boot/tools/buildman/ |
H A D | kconfiglib.py | 347 If a condition is missing (e.g., <cond> when the 'if <cond>' is removed from 348 'default A if <cond>'), it is actually Kconfig.y. The standard __str__() 1140 for filename, cond in self.defconfig_list.defaults: 1141 if expr_value(cond): 3490 for value, cond in sym.defaults: 3492 depend_on(sym, cond) 3499 for low, high, cond in sym.ranges: 3502 depend_on(sym, cond) 3525 for _, cond i [all...] |
/u-boot/test/ |
H A D | ut.c | 21 const char *func, const char *cond) 24 printf("%s:%d, %s(): %s\n", fname, line, func, cond); 29 const char *func, const char *cond, const char *fmt, ...) 34 printf("%s:%d, %s(): %s: ", fname, line, func, cond); 20 ut_fail(struct unit_test_state *uts, const char *fname, int line, const char *func, const char *cond) argument 28 ut_failf(struct unit_test_state *uts, const char *fname, int line, const char *func, const char *cond, const char *fmt, ...) argument
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-helper-cfg.h | 35 #define cvmx_helper_cfg_assert(cond) \ 37 if (!(cond)) { \ 38 debug("cvmx_helper_cfg_assert (%s) at %s:%d\n", #cond, __FILE__, \
|
/u-boot/arch/arm/lib/ |
H 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/tools/ |
H A D | asn1_compiler.c | 1442 const char *cond, *act; local 1458 cond = (e->flags & ELEMENT_CONDITIONAL || 1464 cond, act, skippable ? "_OR_SKIP" : ""); 1479 cond, 1492 cond, act,
|
/u-boot/scripts/ |
H A D | checkpatch.pl | 4204 my ($stat, $cond, $line_nr_next, $remain_next, $off_next, 4209 ($stat, $cond, $line_nr_next, $remain_next, $off_next) = 4212 $cond =~ s/\n./\n /g; 4355 ($stat, $cond, $line_nr_next, $remain_next, $off_next) = 4358 my ($s, $c) = ($stat, $cond); 5656 ($stat, $cond, $line_nr_next, $remain_next, $off_next) = 5677 defined($stat) && defined($cond) && 5679 my ($s, $c) = ($stat, $cond); 6104 my ($cond, $block) = @{$chunk}; 6107 my ($whitespace) = ($cond [all...] |
/u-boot/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-hdmi.c | 435 #define inno_poll(reg, val, cond, sleep_us, timeout_us) \ 436 readl_poll_sleep_timeout((reg) * 4, val, cond, sleep_us, timeout_us)
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | octeontx_nand.c | 370 #define readq_poll_timeout(addr, val, cond, delay_us, timeout_us) \ 377 if (cond) \ 386 (cond) ? 0 : -ETIMEDOUT; \
|