Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 20 of 20) sorted by relevance

/u-boot/include/linux/
A Diopoll.h34 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 Dbuild_bug.h12 #define BUILD_BUG_ON_MSG(cond, msg) (0) argument
46 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) argument
A Dcompiler.h56 #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 Dunified.h62 .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 Db.c133 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 Dregmap.h288 #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 Dlog.h227 #define debug_cond(cond, fmt, args...) \ argument
239 #define debug_cond(cond, fmt, args...) \ argument
241 if (cond) \
/u-boot/include/test/
A Dut.h28 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 Dut.c21 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 Dzutil.h102 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} argument
109 # define Assert(cond,msg) argument
/u-boot/lib/bzip2/
A Dbzlib_private.h101 #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 Dasmmacro.h63 .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 Dkconfiglib.py1140 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 Dops2.c148 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 Dops.c1250 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 Dmemcpy.S28 .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 Dcheckpatch.pl3671 $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 Darmada100_fec.c45 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 Dasn1_compiler.c1442 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 Docteontx_nand.c374 #define readq_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
381 if (cond) \
390 (cond) ? 0 : -ETIMEDOUT; \

Completed in 59 milliseconds