Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/include/linux/
H A Diopoll.h28 #define readx_poll_timeout(op, addr, val, cond, timeout_us) \ argument
33 if (cond) \
40 (cond) ? 0 : -ETIMEDOUT; \
44 #define readb_poll_timeout(addr, val, cond, timeout_us) \ argument
45 readx_poll_timeout(readb, addr, val, cond, timeout_us)
47 #define readw_poll_timeout(addr, val, cond, timeout_us) \ argument
48 readx_poll_timeout(readw, addr, val, cond, timeout_us)
50 #define readl_poll_timeout(addr, val, cond, timeout_us) \ argument
51 readx_poll_timeout(readl, addr, val, cond, timeout_us)
53 #define readq_poll_timeout(addr, val, cond, timeout_us) \ argument
[all …]
H 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
H A Dcompiler.h145 #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) argument
146 #define __trace_if(cond) \ argument
147 if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
158 ______r = !!(cond); \
313 #define smp_cond_acquire(cond) do { \ argument
314 while (!(cond)) \
/rk3399_rockchip-uboot/arch/arm/include/asm/
H A Dunified.h63 .macro it, cond
65 .macro itt, cond
67 .macro ite, cond
69 .macro ittt, cond
71 .macro itte, cond
73 .macro itet, cond
75 .macro itee, cond
77 .macro itttt, cond
79 .macro ittte, cond
81 .macro ittet, cond
[all …]
/rk3399_rockchip-uboot/include/test/
H A Dut.h26 const char *func, const char *cond);
39 const char *func, const char *cond, const char *fmt, ...)
44 #define ut_assert(cond) \ argument
45 if (!(cond)) { \
46 ut_fail(uts, __FILE__, __LINE__, __func__, #cond); \
51 #define ut_assertf(cond, fmt, args...) \ argument
52 if (!(cond)) { \
53 ut_failf(uts, __FILE__, __LINE__, __func__, #cond, \
120 #define ut_assertok(cond) ut_asserteq(0, cond) argument
/rk3399_rockchip-uboot/test/
H A Dut.c16 const char *func, const char *cond) in ut_fail() argument
19 printf("%s:%d, %s(): %s\n", fname, line, func, cond); in ut_fail()
24 const char *func, const char *cond, const char *fmt, ...) in ut_failf() argument
29 printf("%s:%d, %s(): %s: ", fname, line, func, cond); in ut_failf()
/rk3399_rockchip-uboot/post/lib_powerpc/
H 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()
/rk3399_rockchip-uboot/include/
H A Dregmap.h67 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_ms) \ argument
75 if (cond) \
84 __ret ?: ((cond) ? 0 : -ETIMEDOUT); \
H A Dlog.h118 #define debug_cond(cond, fmt, args...) \ argument
131 #define debug_cond(cond, fmt, args...) \ argument
133 if (cond) \
/rk3399_rockchip-uboot/lib/bzip2/
H 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
/rk3399_rockchip-uboot/lib/zlib/
H A Dzutil.h102 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} argument
109 # define Assert(cond,msg) argument
/rk3399_rockchip-uboot/arch/xtensa/include/asm/
H A Dasmmacro.h64 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond
73 loop\cond \at, 99f
106 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond
/rk3399_rockchip-uboot/drivers/bios_emulator/x86emu/
H A Dops2.c148 int cond; in x86emuOp2_long_jump() local
152 cond = x86emu_check_jump_condition(op2 & 0xF); in x86emuOp2_long_jump()
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()
[all …]
H 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()
/rk3399_rockchip-uboot/arch/arm/lib/
H A Dmemcpy.S31 .macro ldr1b ptr reg cond=al abort argument
32 ldrb\cond\() \reg, [\ptr], #1
43 .macro str1b ptr reg cond=al abort argument
44 strb\cond\() \reg, [\ptr], #1
/rk3399_rockchip-uboot/scripts/
H A Dcheckpatch.pl3244 my ($stat, $cond, $line_nr_next, $remain_next, $off_next,
3249 ($stat, $cond, $line_nr_next, $remain_next, $off_next) =
3252 $cond =~ s/\n./\n /g;
3395 ($stat, $cond, $line_nr_next, $remain_next, $off_next) =
3398 my ($s, $c) = ($stat, $cond);
4604 ($stat, $cond, $line_nr_next, $remain_next, $off_next) =
4625 defined($stat) && defined($cond) &&
4627 my ($s, $c) = ($stat, $cond);
5061 my ($cond, $block) = @{$chunk};
5064 my ($whitespace) = ($cond =~ /^((?:\s*\n[+-])*\s*)/s);
[all …]
/rk3399_rockchip-uboot/drivers/net/
H A Darmada100_fec.c44 static int armdfec_phy_timeout(u32 *reg, u32 flag, int cond) in armdfec_phy_timeout() argument
51 if (cond && (reg_val & flag)) in armdfec_phy_timeout()
53 else if (!cond && !(reg_val & flag)) in armdfec_phy_timeout()
/rk3399_rockchip-uboot/drivers/video/drm/rk628/
H A Drk628.h675 #define rk628_read_poll_timeout(rk628, addr, val, cond, sleep_us, timeout_us) \ argument
680 if (cond) \
689 (cond) ? 0 : -ETIMEDOUT; \
/rk3399_rockchip-uboot/drivers/video/drm/
H A Drk618_dsi.c244 #define dsi_read_poll_timeout(dsi, addr, val, cond, sleep_us, timeout_us) \ argument
249 if (cond) \
258 (cond) ? 0 : -ETIMEDOUT; \
/rk3399_rockchip-uboot/tools/buildman/
H A Dkconfiglib.py1091 for target, cond in new_selects:
1094 _make_and(cond, deps)))