Home
last modified time | relevance | path

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

123

/linux-6.6.21/arch/x86/include/asm/
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()
Dpercpu.h189 : [oval] "=&a" (pxo_old__), \
206 : [oval] "+a" (pco_old__), \
238 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, , pcp, oval, nval) argument
239 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, volatile, pcp, oval, nval) argument
243 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, , pcp, oval, nval); argument
244 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, volatile, pcp, oval, nval); argument
270 #define raw_cpu_cmpxchg128(pcp, oval, nval) percpu_cmpxchg128_op(16, , pcp, oval, nval) argument
271 #define this_cpu_cmpxchg128(pcp, oval, nval) percpu_cmpxchg128_op(16, volatile, pcp, oval, nval) argument
343 #define raw_cpu_cmpxchg_1(pcp, oval, nval) percpu_cmpxchg_op(1, , pcp, oval, nval) argument
344 #define raw_cpu_cmpxchg_2(pcp, oval, nval) percpu_cmpxchg_op(2, , pcp, oval, nval) argument
[all …]
/linux-6.6.21/include/asm-generic/
Dpercpu.h116 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
118 typeof(pcp) __old = (oval); \
191 #define this_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
196 __ret = raw_cpu_generic_cmpxchg(pcp, oval, nval); \
349 #define raw_cpu_cmpxchg_1(pcp, oval, nval) \ argument
350 raw_cpu_generic_cmpxchg(pcp, oval, nval)
353 #define raw_cpu_cmpxchg_2(pcp, oval, nval) \ argument
354 raw_cpu_generic_cmpxchg(pcp, oval, nval)
357 #define raw_cpu_cmpxchg_4(pcp, oval, nval) \ argument
358 raw_cpu_generic_cmpxchg(pcp, oval, nval)
[all …]
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-6.6.21/Documentation/gpu/dp-mst/
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-6.6.21/arch/s390/include/asm/
Dpercpu.h134 #define arch_this_cpu_cmpxchg(pcp, oval, nval) \ argument
141 ret__ = cmpxchg(ptr__, oval, nval); \
146 #define this_cpu_cmpxchg_1(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
147 #define this_cpu_cmpxchg_2(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
148 #define this_cpu_cmpxchg_4(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
149 #define this_cpu_cmpxchg_8(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
153 #define this_cpu_cmpxchg128(pcp, oval, nval) \ argument
158 old__ = oval; \
/linux-6.6.21/net/netfilter/
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()
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-6.6.21/sound/isa/sb/
Dsb_mixer.c80 unsigned char val, oval; in snd_sbmixer_put_single() local
84 oval = snd_sbmixer_read(sb, reg); in snd_sbmixer_put_single()
85 val = (oval & ~(mask << shift)) | val; in snd_sbmixer_put_single()
86 change = val != oval; in snd_sbmixer_put_single()
181 unsigned char oval; in snd_dt019x_input_sw_get() local
184 oval = snd_sbmixer_read(sb, SB_DT019X_CAPTURE_SW); in snd_dt019x_input_sw_get()
186 switch (oval & 0x07) { in snd_dt019x_input_sw_get()
218 unsigned char nval, oval; in snd_dt019x_input_sw_put() local
242 oval = snd_sbmixer_read(sb, SB_DT019X_CAPTURE_SW); in snd_dt019x_input_sw_put()
243 change = nval != oval; in snd_dt019x_input_sw_put()
[all …]
/linux-6.6.21/sound/ppc/
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()
307 ucontrol->value.integer.value[0] = oval & 0xf; in snd_pmac_burgundy_get_gain()
309 ucontrol->value.integer.value[1] = (oval >> 4) & 0xf; in snd_pmac_burgundy_get_gain()
320 int oval, val; in snd_pmac_burgundy_put_gain() local
322 oval = snd_pmac_burgundy_rcb(chip, addr); in snd_pmac_burgundy_put_gain()
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
[all …]
/linux-6.6.21/sound/pci/ice1712/
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
225 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put()
230 change = nval != oval; in wm_adc_mux_put()
256 unsigned short val, oval; in wm_bypass_put() local
260 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put()
265 if (val != oval) { in wm_bypass_put()
291 unsigned short val, oval; in wm_chswap_put() local
[all …]
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()
553 nval = (oval & 0xe0) | ucontrol->value.enumerated.item[0]; 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
648 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put()
653 change = nval != oval; in wm_adc_mux_put()
682 unsigned short val, oval; in wm_bypass_put() local
686 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put()
691 if (val != oval) { in wm_bypass_put()
[all …]
/linux-6.6.21/sound/usb/
Dmixer_scarlett_gen2.c1959 int oval, val, err = 0; in scarlett2_volume_ctl_put() local
1963 oval = private->vol[index]; in scarlett2_volume_ctl_put()
1966 if (oval == val) in scarlett2_volume_ctl_put()
2039 int oval, val, err = 0; in scarlett2_mute_ctl_put() local
2043 oval = private->mute_switch[index]; in scarlett2_mute_ctl_put()
2046 if (oval == val) in scarlett2_mute_ctl_put()
2178 int oval, val, err = 0; in scarlett2_sw_hw_enum_ctl_put() local
2182 oval = private->vol_sw_hw_switch[index]; in scarlett2_sw_hw_enum_ctl_put()
2185 if (oval == val) in scarlett2_sw_hw_enum_ctl_put()
2300 int oval, val, err = 0; in scarlett2_level_enum_ctl_put() local
[all …]
/linux-6.6.21/drivers/scsi/aic94xx/
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-6.6.21/arch/xtensa/include/asm/
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-6.6.21/arch/mips/include/asm/
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-6.6.21/Documentation/bpf/
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-6.6.21/fs/dlm/
Dmidcomms.c405 uint32_t oval, nval; in dlm_send_ack_threshold() local
410 oval = atomic_read(&node->ulp_delivered); in dlm_send_ack_threshold()
411 send_ack = (oval > threshold); in dlm_send_ack_threshold()
418 } while (atomic_cmpxchg(&node->ulp_delivered, oval, nval) != oval); in dlm_send_ack_threshold()
525 uint32_t oval, nval; in dlm_midcomms_receive_buffer() local
528 oval = atomic_read(&node->seq_next); in dlm_midcomms_receive_buffer()
529 is_expected_seq = (oval == seq); in dlm_midcomms_receive_buffer()
533 nval = oval + 1; in dlm_midcomms_receive_buffer()
534 } while (atomic_cmpxchg(&node->seq_next, oval, nval) != oval); in dlm_midcomms_receive_buffer()
601 if (seq < oval) in dlm_midcomms_receive_buffer()
[all …]
/linux-6.6.21/include/linux/
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); \
496 #define this_cpu_cmpxchg(pcp, oval, nval) \ argument
497 __pcpu_size_call_return2(this_cpu_cmpxchg_, pcp, oval, nval)
/linux-6.6.21/sound/isa/gus/
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-6.6.21/arch/sh/include/asm/
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-6.6.21/arch/sparc/include/asm/
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-6.6.21/arch/openrisc/include/asm/
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-6.6.21/arch/hexagon/include/asm/
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()
/linux-6.6.21/arch/microblaze/include/asm/
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()

123