Home
last modified time | relevance | path

Searched refs:COND (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_utils.h261 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument
271 if (COND) { \
286 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument
288 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument
297 #define _wait_for_atomic(COND, US, ATOMIC) \ argument
313 if (COND) { \
334 #define wait_for_us(COND, US) \ argument
339 ret__ = _wait_for((COND), (US), 10, 10); \
341 ret__ = _wait_for_atomic((COND), (US), 0); \
345 #define wait_for_atomic_us(COND, US) \ argument
[all …]
H A Dintel_pcode.c167 #define COND \ in skl_pcode_request() macro
176 if (COND) { in skl_pcode_request()
180 ret = _wait_for(COND, timeout_base_ms * 1000, 10, 10); in skl_pcode_request()
198 ret = wait_for_atomic(COND, 50); in skl_pcode_request()
204 #undef COND in skl_pcode_request()
/openbmc/linux/arch/parisc/kernel/
H A Dpacache.S74 addib,COND(=) -1, %arg3, fitoneloop /* Preadjust and test */
84 addib,COND(>) -1, %r31, fitmanymiddle /* Adjusted inner loop decr */
87 addib,COND(>) -1, %r29, fitmanymiddle /* Middle loop decr */
91 addib,COND(<=),n -1, %r22, fitdone /* Outer loop count decr */
99 addib,COND(>) -1, %r29, fitonemiddle /* Middle loop count decr */
102 addib,COND(>) -1, %r22, fitoneloop /* Outer loop count decr */
118 addib,COND(=) -1, %arg3, fdtoneloop /* Preadjust and test */
128 addib,COND(>) -1, %r31, fdtmanymiddle /* Adjusted inner loop decr */
131 addib,COND(>) -1, %r29, fdtmanymiddle /* Middle loop decr */
135 addib,COND(<=),n -1, %r22,fdtdone /* Outer loop count decr */
[all …]
H A Dentry.S354 or,COND(=) %r0,\spc,%r0
372 or,COND(<>) %r0,\spc,%r0 /* user may execute gateway page
376 or,COND(=) %r0,\tmp,%r0 /* nullify if executing as kernel */
377 cmpb,COND(<>),n \tmp,\spc,\fault
420 98: cmpib,COND(=),n 0,\spc,2f
423 cmpib,COND(=) 0,\tmp1,1b
444 or,COND(=) %r0,\spc,%r0
458 and,COND(<>) \tmp1,\pte,%r0
587 cmpib,COND(<>),n 0,\spc,\fault
591 cmpb,COND(<>),n \tmp,\tmp1,\fault
[all …]
H A Drelocate_kernel.S81 cmpib,COND(=),n 0,%r3,boot
128 cmpb,COND(<<) %r20,%r17,.Lcopy
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_kms.h103 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE0_MIXER1); in mixercfg()
109 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE1_MIXER1); in mixercfg()
115 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE2_MIXER1); in mixercfg()
121 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE3_MIXER1); in mixercfg()
127 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE4_MIXER1); in mixercfg()
133 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE5_MIXER1); in mixercfg()
139 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE6_MIXER1); in mixercfg()
H A Dmdp4_plane.c322 COND(format->alpha_enable, MDP4_PIPE_SRC_FORMAT_ALPHA_ENABLE) | in mdp4_plane_mode_set()
328 COND(format->unpack_tight, MDP4_PIPE_SRC_FORMAT_UNPACK_TIGHT)); in mdp4_plane_mode_set()
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c31 #define COND(X) ((X) << 25) macro
36 #define CONDN COND(0x0)
37 #define CONDE COND(0x1)
38 #define CONDLE COND(0x2)
39 #define CONDL COND(0x3)
40 #define CONDLEU COND(0x4)
41 #define CONDCS COND(0x5)
42 #define CONDNEG COND(0x6)
43 #define CONDVC COND(0x7)
44 #define CONDA COND(0x8)
[all …]
H A Dbpf_jit_comp_64.c60 #define COND(X) (((X) & 0xf) << 25) macro
67 #define CONDN COND(0x0)
68 #define CONDE COND(0x1)
69 #define CONDLE COND(0x2)
70 #define CONDL COND(0x3)
71 #define CONDLEU COND(0x4)
72 #define CONDCS COND(0x5)
73 #define CONDNEG COND(0x6)
74 #define CONDVC COND(0x7)
75 #define CONDA COND(0x8)
[all …]
/openbmc/linux/arch/parisc/lib/
H A Dlusercopy.S115 cmpib,COND(>>=),n 15,len,.Lbyte_loop
142 cmpb,COND(>>=),n t0,len,.Lword_loop
168 cmpib,COND(>>=),n 3,len,.Lbyte_loop
193 cmpib,COND(>>=),n 15,len,.Lbyte_loop
218 cmpclr,COND(<>) len,%r0,%r0
277 cmpb,COND(=) %r0,len,.Lcda_finish
291 cmpb,COND(=),n %r0,len,.Ldo0
317 cmpb,COND(<>) %r0,len,.Ldo4
/openbmc/linux/drivers/gpu/drm/v3d/
H A Dv3d_drv.h311 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument
321 if (COND) { \
336 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument
338 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument
/openbmc/linux/arch/x86/kernel/
H A Duprobes.c591 COND(70, 71, XF(OF)) \
592 COND(72, 73, XF(CF)) \
593 COND(74, 75, XF(ZF)) \
594 COND(78, 79, XF(SF)) \
595 COND(7a, 7b, XF(PF)) \
596 COND(76, 77, XF(CF) || XF(ZF)) \
597 COND(7c, 7d, XF(SF) != XF(OF)) \
598 COND(7e, 7f, XF(ZF) || XF(SF) != XF(OF))
600 #define COND(op_y, op_n, expr) \ macro
635 #undef COND
/openbmc/qemu/disas/
H A Dsparc.c292 #define COND(x) (((x) & 0xf) << 25) macro
300 #define CONDA (COND (0x8))
301 #define CONDCC (COND (0xd))
302 #define CONDCS (COND (0x5))
303 #define CONDE (COND (0x1))
304 #define CONDG (COND (0xa))
305 #define CONDGE (COND (0xb))
306 #define CONDGU (COND (0xc))
307 #define CONDL (COND (0x3))
308 #define CONDLE (COND (0x2))
[all …]
/openbmc/linux/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_audio.c158 COND(info->channels != 2, HDMI_AUDIO_PKT_CTRL2_LAYOUT) | in msm_hdmi_audio_update()
206 COND(enabled, HDMI_AUD_INT_AUD_FIFO_URUN_INT) | in msm_hdmi_audio_update()
207 COND(enabled, HDMI_AUD_INT_AUD_SAM_DROP_INT)); in msm_hdmi_audio_update()
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_drv.h851 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument
861 if (COND) { \
876 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument
878 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dintel_gmbus.c39 #define _wait_for(COND, MS, W) ({ \ argument
42 while (! (COND)) { \
53 #define wait_for(COND, MS) _wait_for(COND, MS, 1) argument
H A Dcdv_intel_display.c113 #define _wait_for(COND, MS, W) ({ \ argument
116 while (!(COND)) { \
127 #define wait_for(COND, MS) _wait_for(COND, MS, 1) argument
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/
H A Dregs.h216 #define CONDITIONAL_SET_FLAG(COND,FLAG) \ argument
217 if (COND) SET_FLAG(FLAG); else CLEAR_FLAG(FLAG)
/openbmc/qemu/docs/devel/
H A Dqapi-code-gen.rst205 '*if': COND,
209 '*if': COND,
271 '*if': COND,
276 '*if': COND,
332 '*if': COND,
336 | STRING : { 'type': TYPE-REF, '*if': COND }
399 '*if': COND,
403 | STRING : { 'type': STRING, '*if': COND }
466 '*if': COND,
640 '*if': COND,
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_display_power_well.c1088 #define COND \ in vlv_set_power_well() macro
1091 if (COND) in vlv_set_power_well()
1099 if (wait_for(COND, 100)) in vlv_set_power_well()
1105 #undef COND in vlv_set_power_well()
1681 #define COND \ in chv_set_pipe_power_well() macro
1684 if (COND) in chv_set_pipe_power_well()
1692 if (wait_for(COND, 100)) in chv_set_pipe_power_well()
1698 #undef COND in chv_set_pipe_power_well()
/openbmc/qemu/target/hexagon/
H A Dgen_tcg.h933 #define fGEN_TCG_cond_jumpt(COND) \ argument
936 COND; \
939 #define fGEN_TCG_cond_jumpf(COND) \ argument
942 COND; \
979 #define fGEN_TCG_cond_jumprt(COND) \ argument
982 COND; \
985 #define fGEN_TCG_cond_jumprf(COND) \ argument
988 COND; \
H A Dgen_tcg_hvx.h424 #define fGEN_TCG_VEC_CMP(COND, TYPE, SIZE) \ argument
427 tcg_gen_gvec_cmp(COND, TYPE, tmpoff, VuV_off, VvV_off, \
453 #define fGEN_TCG_VEC_CMP_OP(COND, TYPE, SIZE, OP) \ argument
457 tcg_gen_gvec_cmp(COND, TYPE, tmpoff, VuV_off, VvV_off, \
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c659 COND(yuv, MDP5_PIPE_SCALE_CONFIG_SCALEX_FILTER_COMP_1_2(uv_filter)); in get_scale_config()
664 COND(yuv, MDP5_PIPE_SCALE_CONFIG_SCALEY_FILTER_COMP_1_2(uv_filter)); in get_scale_config()
804 COND(format->alpha_enable, MDP5_PIPE_SRC_FORMAT_ALPHA_ENABLE) | in mdp5_hwpipe_mode_set()
807 COND(format->unpack_tight, MDP5_PIPE_SRC_FORMAT_UNPACK_TIGHT) | in mdp5_hwpipe_mode_set()
820 COND(has_pe, MDP5_PIPE_SRC_OP_MODE_SW_PIX_EXT_OVERRIDE) | in mdp5_hwpipe_mode_set()
/openbmc/qemu/target/arm/tcg/
H A Da32-uncond.decode22 # All of those that have a COND field in insn[31:28] are in a32.decode
/openbmc/qemu/target/microblaze/
H A Dtranslate.c1125 #define DO_BCC(NAME, COND) \ argument
1127 { return do_bcc(dc, arg->rb, 0, COND, arg->ra, false); } \
1129 { return do_bcc(dc, arg->rb, 0, COND, arg->ra, true); } \
1131 { return do_bcc(dc, -1, arg->imm, COND, arg->ra, false); } \
1133 { return do_bcc(dc, -1, arg->imm, COND, arg->ra, true); }

12