/linux/drivers/gpu/drm/i915/ |
H A D | i915_utils.h | 243 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument 253 if (COND) { \ 268 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument 270 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument 279 #define _wait_for_atomic(COND, US, ATOMIC) \ argument 295 if (COND) { \ 316 #define wait_for_us(COND, US) \ argument 321 ret__ = _wait_for((COND), (US), 10, 10); \ 323 ret__ = _wait_for_atomic((COND), (US), 0); \ 327 #define wait_for_atomic_us(COND, US) \ argument [all …]
|
H A D | intel_pcode.c | 167 #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()
|
H A D | intel_uncore.c | 2492 #define COND (__raw_uncore_read32(uncore, FORCEWAKE_MT) != ~0) in sanity_check_mmio_access() macro 2493 if (wait_for(COND, 2000) == -ETIMEDOUT) { in sanity_check_mmio_access()
|
/linux/arch/parisc/kernel/ |
H A D | pacache.S | 74 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 D | entry.S | 354 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 D | relocate_kernel.S | 81 cmpib,COND(=),n 0,%r3,boot 128 cmpb,COND(<<) %r20,%r17,.Lcopy
|
H A D | syscall.S | 238 and,COND(=) %r1, %r19, %r0 370 cmpib,COND(=),n -1,%r20,tracesys_exit /* seccomp may have returned -1 */
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_kms.h | 103 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 D | mdp4_plane.c | 306 COND(format->alpha_enable, MDP4_PIPE_SRC_FORMAT_ALPHA_ENABLE) | in mdp4_plane_mode_set() 312 COND(format->flags & MSM_FORMAT_FLAG_UNPACK_TIGHT, in mdp4_plane_mode_set()
|
/linux/arch/sparc/net/ |
H A D | bpf_jit_comp_32.c | 31 #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 D | bpf_jit_comp_64.c | 60 #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 …]
|
/linux/arch/parisc/lib/ |
H A D | lusercopy.S | 115 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
|
/linux/arch/x86/kernel/ |
H A D | uprobes.c | 708 COND(70, 71, XF(OF)) \ 709 COND(72, 73, XF(CF)) \ 710 COND(74, 75, XF(ZF)) \ 711 COND(78, 79, XF(SF)) \ 712 COND(7a, 7b, XF(PF)) \ 713 COND(76, 77, XF(CF) || XF(ZF)) \ 714 COND(7c, 7d, XF(SF) != XF(OF)) \ 715 COND(7e, 7f, XF(ZF) || XF(SF) != XF(OF)) 717 #define COND(op_y, op_n, expr) \ macro 752 #undef COND
|
/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_drv.h | 471 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument 481 if (COND) { \ 496 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument 498 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument
|
/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_audio.c | 158 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()
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_drv.h | 898 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument 908 if (COND) { \ 923 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument 925 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument
|
/linux/drivers/gpu/drm/gma500/ |
H A D | intel_gmbus.c | 39 #define _wait_for(COND, MS, W) ({ \ argument 42 while (! (COND)) { \ 53 #define wait_for(COND, MS) _wait_for(COND, MS, 1) argument
|
H A D | cdv_intel_display.c | 113 #define _wait_for(COND, MS, W) ({ \ argument 116 while (!(COND)) { \ 127 #define wait_for(COND, MS) _wait_for(COND, MS, 1) argument
|
H A D | cdv_intel_dp.c | 233 #define _wait_for(COND, MS, W) ({ \ argument 236 while (! (COND)) { \ 246 #define wait_for(COND, MS) _wait_for(COND, MS, 1) argument
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_power_well.c | 1111 #define COND \ in vlv_set_power_well() macro 1114 if (COND) in vlv_set_power_well() 1122 if (wait_for(COND, 100)) in vlv_set_power_well() 1128 #undef COND in vlv_set_power_well() 1710 #define COND \ in chv_set_pipe_power_well() macro 1713 if (COND) in chv_set_pipe_power_well() 1721 if (wait_for(COND, 100)) in chv_set_pipe_power_well() 1727 #undef COND in chv_set_pipe_power_well()
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_plane.c | 646 COND(yuv, MDP5_PIPE_SCALE_CONFIG_SCALEX_FILTER_COMP_1_2(uv_filter)); in get_scale_config() 651 COND(yuv, MDP5_PIPE_SCALE_CONFIG_SCALEY_FILTER_COMP_1_2(uv_filter)); in get_scale_config() 791 COND(format->alpha_enable, MDP5_PIPE_SRC_FORMAT_ALPHA_ENABLE) | in mdp5_hwpipe_mode_set() 794 COND(format->flags & MSM_FORMAT_FLAG_UNPACK_TIGHT, in mdp5_hwpipe_mode_set() 808 COND(has_pe, MDP5_PIPE_SRC_OP_MODE_SW_PIX_EXT_OVERRIDE) | in mdp5_hwpipe_mode_set()
|
/linux/arch/parisc/include/asm/ |
H A D | assembly.h | 67 #define COND(x) * ## x 77 #define COND(x) x
|
/linux/tools/perf/util/ |
H A D | perf_event_attr_fprintf.c | 57 bit_name(COND), bit_name(CALL_STACK), bit_name(IND_JUMP), in __p_branch_sample_type()
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_drv.h | 535 #define COND(bool, val) ((bool) ? (val) : 0) macro
|
/linux/arch/arc/net/ |
H A D | bpf_jit_arcv2.c | 166 #define COND(x) (OP_A((x) & 31)) macro 708 const u32 insn = OPC_MOV_CC | OP_B(rd) | OP_C(rs) | COND(cc); in arc_mov_cc_r() 718 const u32 insn = OPC_MOVU_CC | OP_B(rd) | OP_C(imm) | COND(cc); in arc_movu_cc_r() 1282 const u32 insn = OPC_BCC | BCC_S21(offset) | COND(cc); in arc_bcc()
|