Home
last modified time | relevance | path

Searched refs:oval (Results 1 – 25 of 69) sorted by relevance

123

/linux/arch/x86/include/asm/
H A Dfutex.h15 #define unsafe_atomic_op1(insn, oval, uaddr, oparg, label) \ argument
25 *oval = oldval; \
29 #define unsafe_atomic_op2(insn, oval, uaddr, oparg, label) \ argument
45 *oval = oldval; \
48 static __always_inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, in arch_futex_atomic_op_inuser() argument
56 unsafe_atomic_op1("xchgl %0, %2", oval, uaddr, oparg, Efault); in arch_futex_atomic_op_inuser()
59 unsafe_atomic_op1(LOCK_PREFIX "xaddl %0, %2", oval, in arch_futex_atomic_op_inuser()
63 unsafe_atomic_op2("orl %4, %3", oval, uaddr, oparg, Efault); in arch_futex_atomic_op_inuser()
66 unsafe_atomic_op2("andl %4, %3", oval, uaddr, ~oparg, Efault); in arch_futex_atomic_op_inuser()
69 unsafe_atomic_op2("xorl %4, %3", oval, uaddr, oparg, Efault); in arch_futex_atomic_op_inuser()
H A Dpercpu.h363 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, , pcp, oval, nval) argument
364 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, volatile, pcp, oval, nval) argument
403 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, , pcp, oval, nval); argument
404 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, volatile, pcp, oval, nval); argument
519 #define raw_cpu_cmpxchg_1(pcp, oval, nval) percpu_cmpxchg_op(1, , pcp, oval, nval) argument
520 #define raw_cpu_cmpxchg_2(pcp, oval, nval) percpu_cmpxchg_op(2, , pcp, oval, nval) argument
521 #define raw_cpu_cmpxchg_4(pcp, oval, nval) percpu_cmpxchg_op(4, , pcp, oval, nval) argument
529 #define this_cpu_cmpxchg_1(pcp, oval, nval) percpu_cmpxchg_op(1, volatile, pcp, oval, nval) argument
530 #define this_cpu_cmpxchg_2(pcp, oval, nval) percpu_cmpxchg_op(2, volatile, pcp, oval, nval) argument
531 #define this_cpu_cmpxchg_4(pcp, oval, nval) percpu_cmpxchg_op(4, volatile, pcp, oval, nval) argument
[all …]
/linux/include/asm-generic/
H A Dpercpu.h118 typeof(pcp) __old = (oval); \
350 raw_cpu_generic_cmpxchg(pcp, oval, nval)
354 raw_cpu_generic_cmpxchg(pcp, oval, nval)
358 raw_cpu_generic_cmpxchg(pcp, oval, nval)
362 raw_cpu_generic_cmpxchg(pcp, oval, nval)
367 raw_cpu_generic_cmpxchg(pcp, oval, nval)
371 raw_cpu_generic_cmpxchg(pcp, oval, nval)
523 this_cpu_generic_cmpxchg(pcp, oval, nval)
527 this_cpu_generic_cmpxchg(pcp, oval, nval)
531 this_cpu_generic_cmpxchg(pcp, oval, nval)
[all …]
H A Dfutex.h18 #define arch_futex_atomic_op_inuser(op, oparg, oval, uaddr) \ argument
19 futex_atomic_op_inuser_local(op, oparg, oval, uaddr)
38 futex_atomic_op_inuser_local(int op, u32 oparg, int *oval, u32 __user *uaddr) in futex_atomic_op_inuser_local() argument
79 *oval = oldval; in futex_atomic_op_inuser_local()
/linux/Documentation/gpu/dp-mst/
H A Dtopology-figure-1.dot43 mstb1 [label="MSTB #1";style=filled;fillcolor=palegreen;shape=oval];
44 mstb2 [label="MSTB #2";style=filled;fillcolor=palegreen;shape=oval];
45 mstb3 [label="MSTB #3";style=filled;fillcolor=palegreen;shape=oval];
46 mstb4 [label="MSTB #4";style=filled;fillcolor=palegreen;shape=oval];
48 port1 [label="Port #1";shape=oval];
49 port2 [label="Port #2";shape=oval];
50 port3 [label="Port #3";shape=oval];
51 port4 [label="Port #4";shape=oval];
/linux/arch/s390/include/asm/
H A Dpercpu.h135 #define arch_this_cpu_cmpxchg(pcp, oval, nval) \ argument
142 ret__ = cmpxchg(ptr__, oval, nval); \
147 #define this_cpu_cmpxchg_1(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
148 #define this_cpu_cmpxchg_2(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
149 #define this_cpu_cmpxchg_4(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
150 #define this_cpu_cmpxchg_8(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
154 #define this_cpu_cmpxchg128(pcp, oval, nval) \ argument
159 old__ = oval; \
/linux/net/netfilter/
H A Dxt_statistic.c33 int nval, oval; in statistic_mt() local
42 oval = atomic_read(&info->master->count); in statistic_mt()
43 nval = (oval == info->u.nth.every) ? 0 : oval + 1; in statistic_mt()
44 } while (atomic_cmpxchg(&info->master->count, oval, nval) != oval); in statistic_mt()
H A Dnft_numgen.c26 u32 nval, oval; in nft_ng_inc_gen() local
29 oval = atomic_read(priv->counter); in nft_ng_inc_gen()
30 nval = (oval + 1 < priv->modulus) ? oval + 1 : 0; in nft_ng_inc_gen()
31 } while (atomic_cmpxchg(priv->counter, oval, nval) != oval); in nft_ng_inc_gen()
/linux/sound/isa/sb/
H A Dsb_mixer.c80 unsigned char val, oval; in snd_sbmixer_put_single() local
86 change = val != oval; in snd_sbmixer_put_single()
181 unsigned char oval; in snd_dt019x_input_sw_get() local
186 switch (oval & 0x07) { in snd_dt019x_input_sw_get()
243 change = nval != oval; in snd_dt019x_input_sw_put()
269 unsigned char oval; in snd_als4k_mono_capture_route_get() local
274 oval >>= 6; in snd_als4k_mono_capture_route_get()
275 if (oval > 2) in snd_als4k_mono_capture_route_get()
276 oval = 2; in snd_als4k_mono_capture_route_get()
322 unsigned char oval; in snd_sb8mixer_get_mux() local
[all …]
/linux/sound/ppc/
H A Dburgundy.c302 int oval; in snd_pmac_burgundy_get_gain() local
304 oval = snd_pmac_burgundy_rcb(chip, addr); in snd_pmac_burgundy_get_gain()
306 oval = ~oval & 0xff; in snd_pmac_burgundy_get_gain()
320 int oval, val; in snd_pmac_burgundy_put_gain() local
324 oval = ~oval & 0xff; in snd_pmac_burgundy_put_gain()
333 return val != oval; in snd_pmac_burgundy_put_gain()
380 int val, oval; in snd_pmac_burgundy_put_switch_w() local
388 return val != oval; in snd_pmac_burgundy_put_switch_w()
436 int val, oval; in snd_pmac_burgundy_put_switch_b() local
438 val = oval & ~(lmask | rmask); in snd_pmac_burgundy_put_switch_b()
[all …]
/linux/sound/pci/ice1712/
H A Dpontis.c128 unsigned short oval, nval; in wm_dac_vol_put() local
136 oval = wm_get(ice, idx) & 0xff; in wm_dac_vol_put()
137 if (oval != nval) { in wm_dac_vol_put()
221 unsigned short oval, nval; in wm_adc_mux_put() local
230 change = nval != oval; in wm_adc_mux_put()
256 unsigned short val, oval; in wm_bypass_put() local
265 if (val != oval) { in wm_bypass_put()
291 unsigned short val, oval; in wm_chswap_put() local
295 oval = wm_get(ice, WM_DAC_CTRL1); in wm_chswap_put()
296 val = oval & 0x0f; in wm_chswap_put()
[all …]
H A Dprodigy_hifi.c548 unsigned short oval, nval; in wm_adc_mux_enum_put() local
552 oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_enum_put()
554 if (nval != oval) { in wm_adc_mux_enum_put()
644 unsigned short oval, nval; in wm_adc_mux_put() local
653 change = nval != oval; in wm_adc_mux_put()
682 unsigned short val, oval; in wm_bypass_put() local
691 if (val != oval) { in wm_bypass_put()
720 unsigned short val, oval; in wm_chswap_put() local
724 oval = wm_get(ice, WM_DAC_CTRL1); in wm_chswap_put()
725 val = oval & 0x0f; in wm_chswap_put()
[all …]
/linux/sound/usb/
H A Dmixer_scarlett2.c3659 if (oval == val) in scarlett2_autogain_switch_ctl_put()
3791 if (oval == val) in scarlett2_ag_target_ctl_put()
3913 if (oval == val) in scarlett2_input_select_ctl_put()
4075 if (oval == val) in scarlett2_input_link_ctl_put()
4207 if (oval == val) in scarlett2_input_gain_ctl_put()
4303 if (oval == val) in scarlett2_safe_ctl_put()
4386 if (oval == val) in scarlett2_pcm_input_switch_ctl_put()
4596 if (oval == val) in scarlett2_volume_ctl_put()
4726 if (oval == val) in scarlett2_mute_ctl_put()
4870 if (oval == val) in scarlett2_sw_hw_enum_ctl_put()
[all …]
/linux/drivers/scsi/aic94xx/
H A Daic94xx_reg.h211 u16 oval = asd_ddbsite_read_word(asd_ha, ddb_site_no, offs); in asd_ddbsite_update_word() local
212 if (oval != oldval) in asd_ddbsite_update_word()
232 u16 oval; in asd_ddbsite_update_byte() local
238 oval = (_oldval << 8) | (nval & 0xFF); in asd_ddbsite_update_byte()
243 oval = (nval & 0xFF00) | _oldval; in asd_ddbsite_update_byte()
245 return asd_ddbsite_update_word(asd_ha, ddb_site_no, base, oval, nval); in asd_ddbsite_update_byte()
/linux/arch/xtensa/include/asm/
H A Dfutex.h73 static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, in arch_futex_atomic_op_inuser() argument
108 *oval = oldval; in arch_futex_atomic_op_inuser()
112 return futex_atomic_op_inuser_local(op, oparg, oval, uaddr); in arch_futex_atomic_op_inuser()
/linux/arch/mips/include/asm/
H A Dfutex.h88 ret = futex_atomic_op_inuser_local(op, oparg, oval, uaddr); \
93 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument
126 *oval = oldval; in arch_futex_atomic_op_inuser()
/linux/Documentation/bpf/
H A Dmap_lru_hash_update.dot18 begin [shape=oval,label="begin\nbpf_map_update()"]
89 fn_htab_lru_map_update_elem_ENOMEM [shape=oval,label="return -ENOMEM"]
94 fn_htab_lru_map_update_elem5 [shape=oval,label="return 0"]
95 fn_htab_lru_map_update_elem_EBUSY [shape=oval,label="return -EBUSY"]
96 fn_htab_lru_map_update_elem_EEXIST [shape=oval,label="return -EEXIST"]
97 fn_htab_lru_map_update_elem_ENOENT [shape=oval,label="return -ENOENT"]
/linux/fs/dlm/
H A Dmidcomms.c403 uint32_t oval, nval; in dlm_send_ack_threshold() local
409 send_ack = (oval > threshold); in dlm_send_ack_threshold()
416 } while (atomic_cmpxchg(&node->ulp_delivered, oval, nval) != oval); in dlm_send_ack_threshold()
523 uint32_t oval, nval; in dlm_midcomms_receive_buffer() local
526 oval = atomic_read(&node->seq_next); in dlm_midcomms_receive_buffer()
527 is_expected_seq = (oval == seq); in dlm_midcomms_receive_buffer()
531 nval = oval + 1; in dlm_midcomms_receive_buffer()
532 } while (atomic_cmpxchg(&node->seq_next, oval, nval) != oval); in dlm_midcomms_receive_buffer()
599 if (seq < oval) in dlm_midcomms_receive_buffer()
600 dlm_send_ack(node->nodeid, oval); in dlm_midcomms_receive_buffer()
[all …]
/linux/include/linux/
H A Dpercpu-defs.h415 #define raw_cpu_cmpxchg(pcp, oval, nval) \ argument
416 __pcpu_size_call_return2(raw_cpu_cmpxchg_, pcp, oval, nval)
472 #define __this_cpu_cmpxchg(pcp, oval, nval) \ argument
475 raw_cpu_cmpxchg(pcp, oval, nval); \
502 #define this_cpu_cmpxchg(pcp, oval, nval) \ argument
503 __pcpu_size_call_return2(this_cpu_cmpxchg_, pcp, oval, nval)
/linux/sound/isa/gus/
H A Dgus_mixer.c44 unsigned char oval, nval; in snd_gf1_put_single() local
51 oval = gus->mix_cntrl_reg; in snd_gf1_put_single()
52 nval = (oval & ~(1 << shift)) | nval; in snd_gf1_put_single()
53 change = nval != oval; in snd_gf1_put_single()
/linux/arch/sh/include/asm/
H A Dfutex.h29 static inline int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, in arch_futex_atomic_op_inuser() argument
67 *oval = oldval; in arch_futex_atomic_op_inuser()
/linux/arch/sparc/include/asm/
H A Dfutex_64.h33 static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, in arch_futex_atomic_op_inuser() argument
62 *oval = oldval; in arch_futex_atomic_op_inuser()
/linux/arch/openrisc/include/asm/
H A Dfutex.h34 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument
62 *oval = oldval; in arch_futex_atomic_op_inuser()
/linux/arch/microblaze/include/asm/
H A Dfutex.h33 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument
61 *oval = oldval; in arch_futex_atomic_op_inuser()
/linux/arch/hexagon/include/asm/
H A Dfutex.h35 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument
67 *oval = oldval; in arch_futex_atomic_op_inuser()

123