| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | futex.h | 15 #define unsafe_atomic_op1(insn, oval, uaddr, oparg, label) \ argument 29 *oval = oldval; \ 33 #define unsafe_atomic_op2(insn, oval, uaddr, oparg, label) \ argument 53 *oval = oldval; \ 56 static __always_inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, in arch_futex_atomic_op_inuser() argument 64 unsafe_atomic_op1("xchgl %0, %2", oval, uaddr, oparg, Efault); in arch_futex_atomic_op_inuser() 67 unsafe_atomic_op1(LOCK_PREFIX "xaddl %0, %2", oval, in arch_futex_atomic_op_inuser() 71 unsafe_atomic_op2("orl %4, %3", oval, uaddr, oparg, Efault); in arch_futex_atomic_op_inuser() 74 unsafe_atomic_op2("andl %4, %3", oval, uaddr, ~oparg, Efault); in arch_futex_atomic_op_inuser() 77 unsafe_atomic_op2("xorl %4, %3", oval, uaddr, oparg, Efault); in arch_futex_atomic_op_inuser()
|
| H A D | percpu.h | 189 : [oval] "=&a" (pxo_old__), \ 206 : [oval] "+a" (pco_old__), \ 282 #define raw_cpu_cmpxchg_1(pcp, oval, nval) percpu_cmpxchg_op(1, , pcp, oval, nval) argument 283 #define raw_cpu_cmpxchg_2(pcp, oval, nval) percpu_cmpxchg_op(2, , pcp, oval, nval) argument 284 #define raw_cpu_cmpxchg_4(pcp, oval, nval) percpu_cmpxchg_op(4, , pcp, oval, nval) argument 289 #define this_cpu_cmpxchg_1(pcp, oval, nval) percpu_cmpxchg_op(1, volatile, pcp, oval, nval) argument 290 #define this_cpu_cmpxchg_2(pcp, oval, nval) percpu_cmpxchg_op(2, volatile, pcp, oval, nval) argument 291 #define this_cpu_cmpxchg_4(pcp, oval, nval) percpu_cmpxchg_op(4, volatile, pcp, oval, nval) argument 322 #define raw_cpu_cmpxchg_8(pcp, oval, nval) percpu_cmpxchg_op(8, , pcp, oval, nval) argument 331 #define this_cpu_cmpxchg_8(pcp, oval, nval) percpu_cmpxchg_op(8, volatile, pcp, oval, nval) argument
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A D | percpu.h | 92 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ argument 97 if (__ret == (oval)) \ 173 #define this_cpu_generic_cmpxchg(pcp, oval, nval) \ argument 178 __ret = raw_cpu_generic_cmpxchg(pcp, oval, nval); \ 286 #define raw_cpu_cmpxchg_1(pcp, oval, nval) \ argument 287 raw_cpu_generic_cmpxchg(pcp, oval, nval) 290 #define raw_cpu_cmpxchg_2(pcp, oval, nval) \ argument 291 raw_cpu_generic_cmpxchg(pcp, oval, nval) 294 #define raw_cpu_cmpxchg_4(pcp, oval, nval) \ argument 295 raw_cpu_generic_cmpxchg(pcp, oval, nval) [all …]
|
| H A D | futex.h | 31 arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument 72 *oval = oldval; in arch_futex_atomic_op_inuser() 117 arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument
|
| /OK3568_Linux_fs/kernel/Documentation/gpu/dp-mst/ |
| H A D | topology-figure-1.dot | 43 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];
|
| /OK3568_Linux_fs/kernel/sound/isa/sb/ |
| H A D | sb_mixer.c | 80 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 …]
|
| /OK3568_Linux_fs/kernel/arch/s390/include/asm/ |
| H A D | percpu.h | 134 #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
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | xt_statistic.c | 33 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 D | nft_numgen.c | 26 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()
|
| /OK3568_Linux_fs/kernel/sound/ppc/ |
| H A D | burgundy.c | 301 int oval; in snd_pmac_burgundy_get_gain() local 303 oval = snd_pmac_burgundy_rcb(chip, addr); in snd_pmac_burgundy_get_gain() 305 oval = ~oval & 0xff; in snd_pmac_burgundy_get_gain() 306 ucontrol->value.integer.value[0] = oval & 0xf; in snd_pmac_burgundy_get_gain() 308 ucontrol->value.integer.value[1] = (oval >> 4) & 0xf; in snd_pmac_burgundy_get_gain() 319 int oval, val; in snd_pmac_burgundy_put_gain() local 321 oval = snd_pmac_burgundy_rcb(chip, addr); in snd_pmac_burgundy_put_gain() 323 oval = ~oval & 0xff; in snd_pmac_burgundy_put_gain() 332 return val != oval; in snd_pmac_burgundy_put_gain() 379 int val, oval; in snd_pmac_burgundy_put_switch_w() local [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/ |
| H A D | atomic.h | 15 static inline bool atomic_cas_uint(unsigned int *p, unsigned int *oval, in atomic_cas_uint() argument 18 return __compiler_compare_and_swap(p, oval, nval); in atomic_cas_uint() 21 static inline bool atomic_cas_u32(uint32_t *p, uint32_t *oval, uint32_t nval) in atomic_cas_u32() argument 23 return __compiler_compare_and_swap(p, oval, nval); in atomic_cas_u32()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/ |
| H A D | atomic.h | 15 static inline bool atomic_cas_uint(unsigned int *p, unsigned int *oval, in atomic_cas_uint() argument 18 return __compiler_compare_and_swap(p, oval, nval); in atomic_cas_uint() 21 static inline bool atomic_cas_u32(uint32_t *p, uint32_t *oval, uint32_t nval) in atomic_cas_u32() argument 23 return __compiler_compare_and_swap(p, oval, nval); in atomic_cas_u32()
|
| /OK3568_Linux_fs/kernel/sound/pci/ice1712/ |
| H A D | pontis.c | 128 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 …]
|
| H A D | prodigy_hifi.c | 548 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 …]
|
| H A D | aureon.c | 211 unsigned char oval, nval; in aureon_universe_inmux_put() local 218 oval = spec->pca9554_out; in aureon_universe_inmux_put() 219 change = (oval != nval); in aureon_universe_inmux_put() 716 unsigned short nval, oval; in wm_pcm_mute_put() local 720 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put() 721 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put() 722 change = (oval != nval); in wm_pcm_mute_put() 1111 unsigned short oval, nval; in wm_adc_mux_put() local 1115 oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put() 1116 nval = oval & ~0x77; in wm_adc_mux_put() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/aic94xx/ |
| H A D | aic94xx_reg.h | 211 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()
|
| /OK3568_Linux_fs/kernel/sound/usb/ |
| H A D | mixer_scarlett_gen2.c | 1069 int oval, val, err = 0; in scarlett2_volume_ctl_put() local 1073 oval = private->vol[index]; in scarlett2_volume_ctl_put() 1076 if (oval == val) in scarlett2_volume_ctl_put() 1148 int oval, val, err = 0; in scarlett2_sw_hw_enum_ctl_put() local 1152 oval = private->vol_sw_hw_switch[index]; in scarlett2_sw_hw_enum_ctl_put() 1155 if (oval == val) in scarlett2_sw_hw_enum_ctl_put() 1234 int oval, val, err = 0; in scarlett2_level_enum_ctl_put() local 1238 oval = private->level_switch[index]; in scarlett2_level_enum_ctl_put() 1241 if (oval == val) in scarlett2_level_enum_ctl_put() 1286 int oval, val, err = 0; in scarlett2_pad_ctl_put() local [all …]
|
| H A D | mixer_scarlett.c | 267 int err, oval, val; in scarlett_ctl_switch_put() local 270 err = snd_usb_get_cur_mix_value(elem, i, i, &oval); in scarlett_ctl_switch_put() 276 if (oval != val) { in scarlett_ctl_switch_put() 338 int err, oval, val; in scarlett_ctl_put() local 341 err = snd_usb_get_cur_mix_value(elem, i, i, &oval); in scarlett_ctl_put() 348 if (oval != val) { in scarlett_ctl_put() 432 int err, oval, val; in scarlett_ctl_enum_put() local 434 err = snd_usb_get_cur_mix_value(elem, 0, 0, &oval); in scarlett_ctl_enum_put() 440 if (val != oval) { in scarlett_ctl_enum_put()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | percpu-defs.h | 427 #define raw_cpu_cmpxchg(pcp, oval, nval) \ argument 428 __pcpu_size_call_return2(raw_cpu_cmpxchg_, pcp, oval, nval) 485 #define __this_cpu_cmpxchg(pcp, oval, nval) \ argument 488 raw_cpu_cmpxchg(pcp, oval, nval); \ 514 #define this_cpu_cmpxchg(pcp, oval, nval) \ argument 515 __pcpu_size_call_return2(this_cpu_cmpxchg_, pcp, oval, nval)
|
| /OK3568_Linux_fs/kernel/sound/isa/gus/ |
| H A D | gus_mixer.c | 44 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()
|
| /OK3568_Linux_fs/kernel/sound/i2c/other/ |
| H A D | ak4xxx-adda.c | 517 unsigned char val, oval; in ak4xxx_switch_put() local 522 oval = snd_akm4xxx_get(ak, chip, addr); in ak4xxx_switch_put() 524 val = oval | (1<<shift); in ak4xxx_switch_put() 526 val = oval & ~(1<<shift); in ak4xxx_switch_put() 527 change = (oval != val); in ak4xxx_switch_put() 583 unsigned char oval, val; in ak4xxx_capture_source_put() local 589 oval = snd_akm4xxx_get(ak, chip, addr); in ak4xxx_capture_source_put() 590 val = oval & ~mask; in ak4xxx_capture_source_put() 592 if (val != oval) { in ak4xxx_capture_source_put()
|
| /OK3568_Linux_fs/kernel/kernel/time/ |
| H A D | itimer.c | 172 u64 oval, nval, ointerval, ninterval; in set_cpu_itimer() local 180 oval = it->expires; in set_cpu_itimer() 182 if (oval || nval) { in set_cpu_itimer() 185 set_process_cpu_timer(tsk, clock_id, &nval, &oval); in set_cpu_itimer() 195 ovalue->it_value = ns_to_timespec64(oval); in set_cpu_itimer()
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | cvsd.c | 295 float oval; in lsx_cvsdread() local 336 oval = float_conv_dec( in lsx_cvsdread() 341 lsx_debug_more("recon %d %f\n", debug_count, oval); in lsx_cvsdread() 344 if (oval > p->com.v_max) in lsx_cvsdread() 345 p->com.v_max = oval; in lsx_cvsdread() 346 if (oval < p->com.v_min) in lsx_cvsdread() 347 p->com.v_min = oval; in lsx_cvsdread() 348 *buf++ = (oval * ((float)SOX_SAMPLE_MAX)); in lsx_cvsdread()
|
| /OK3568_Linux_fs/kernel/arch/sh/include/asm/ |
| H A D | futex.h | 29 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()
|
| /OK3568_Linux_fs/kernel/arch/sparc/include/asm/ |
| H A D | futex_64.h | 33 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()
|