Home
last modified time | relevance | path

Searched refs:nval (Results 1 – 49 of 49) sorted by relevance

/linux-4.4.14/drivers/base/
Dproperty.c67 enum dev_prop_type type, void *val, size_t nval) in pset_prop_read_array() argument
80 return prop->nval; in pset_prop_read_array()
82 if (prop->nval < nval) in pset_prop_read_array()
104 memcpy(val, prop->value.raw_data, nval * item_size); in pset_prop_read_array()
162 u8 *val, size_t nval) in device_property_read_u8_array() argument
164 return fwnode_property_read_u8_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u8_array()
187 u16 *val, size_t nval) in device_property_read_u16_array() argument
189 return fwnode_property_read_u16_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u16_array()
212 u32 *val, size_t nval) in device_property_read_u32_array() argument
214 return fwnode_property_read_u32_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u32_array()
[all …]
/linux-4.4.14/include/asm-generic/
Dpercpu.h79 #define raw_cpu_generic_xchg(pcp, nval) \ argument
83 raw_cpu_write(pcp, nval); \
87 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
92 raw_cpu_write(pcp, nval); \
136 #define this_cpu_generic_xchg(pcp, nval) \ argument
142 raw_cpu_write(pcp, nval); \
147 #define this_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
154 raw_cpu_write(pcp, nval); \
249 #define raw_cpu_xchg_1(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
252 #define raw_cpu_xchg_2(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
[all …]
/linux-4.4.14/arch/s390/include/asm/
Dpercpu.h133 #define arch_this_cpu_cmpxchg(pcp, oval, nval) \ argument
140 ret__ = cmpxchg(ptr__, oval, nval); \
145 #define this_cpu_cmpxchg_1(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
146 #define this_cpu_cmpxchg_2(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
147 #define this_cpu_cmpxchg_4(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
148 #define this_cpu_cmpxchg_8(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument
150 #define arch_this_cpu_xchg(pcp, nval) \ argument
156 ret__ = xchg(ptr__, nval); \
161 #define this_cpu_xchg_1(pcp, nval) arch_this_cpu_xchg(pcp, nval) argument
162 #define this_cpu_xchg_2(pcp, nval) arch_this_cpu_xchg(pcp, nval) argument
[all …]
/linux-4.4.14/arch/x86/include/asm/
Dpercpu.h301 #define percpu_xchg_op(var, nval) \ argument
304 typeof(var) pxo_new__ = (nval); \
347 #define percpu_cmpxchg_op(var, oval, nval) \ argument
351 typeof(var) pco_new__ = (nval); \
428 #define this_cpu_xchg_1(pcp, nval) percpu_xchg_op(pcp, nval) argument
429 #define this_cpu_xchg_2(pcp, nval) percpu_xchg_op(pcp, nval) argument
430 #define this_cpu_xchg_4(pcp, nval) percpu_xchg_op(pcp, nval) argument
435 #define raw_cpu_cmpxchg_1(pcp, oval, nval) percpu_cmpxchg_op(pcp, oval, nval) argument
436 #define raw_cpu_cmpxchg_2(pcp, oval, nval) percpu_cmpxchg_op(pcp, oval, nval) argument
437 #define raw_cpu_cmpxchg_4(pcp, oval, nval) percpu_cmpxchg_op(pcp, oval, nval) argument
[all …]
/linux-4.4.14/include/linux/
Dproperty.h38 u8 *val, size_t nval);
40 u16 *val, size_t nval);
42 u32 *val, size_t nval);
44 u64 *val, size_t nval);
46 const char **val, size_t nval);
55 size_t nval);
58 size_t nval);
61 size_t nval);
64 size_t nval);
67 size_t nval);
[all …]
Dpercpu-defs.h413 #define raw_cpu_xchg(pcp, nval) __pcpu_size_call_return2(raw_cpu_xchg_, pcp, nval) argument
414 #define raw_cpu_cmpxchg(pcp, oval, nval) \ argument
415 __pcpu_size_call_return2(raw_cpu_cmpxchg_, pcp, oval, nval)
466 #define __this_cpu_xchg(pcp, nval) \ argument
469 raw_cpu_xchg(pcp, nval); \
472 #define __this_cpu_cmpxchg(pcp, oval, nval) \ argument
475 raw_cpu_cmpxchg(pcp, oval, nval); \
500 #define this_cpu_xchg(pcp, nval) __pcpu_size_call_return2(this_cpu_xchg_, pcp, nval) argument
501 #define this_cpu_cmpxchg(pcp, oval, nval) \ argument
502 __pcpu_size_call_return2(this_cpu_cmpxchg_, pcp, oval, nval)
Dacpi.h803 enum dev_prop_type proptype, void *val, size_t nval);
805 enum dev_prop_type proptype, void *val, size_t nval);
904 void *val, size_t nval) in acpi_node_prop_read() argument
912 void *val, size_t nval) in acpi_dev_prop_read() argument
/linux-4.4.14/drivers/acpi/
Dproperty.c643 size_t nval) in acpi_copy_property_array_u8() argument
647 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u8()
659 u16 *val, size_t nval) in acpi_copy_property_array_u16() argument
663 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u16()
675 u32 *val, size_t nval) in acpi_copy_property_array_u32() argument
679 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u32()
691 u64 *val, size_t nval) in acpi_copy_property_array_u64() argument
695 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u64()
705 char **val, size_t nval) in acpi_copy_property_array_string() argument
709 for (i = 0; i < nval; i++) { in acpi_copy_property_array_string()
[all …]
Ddevice_sysfs.c202 int i, nval; in create_of_modalias() local
218 nval = of_compatible->package.count; in create_of_modalias()
221 nval = 1; in create_of_modalias()
224 for (i = 0; i < nval; i++, obj++) { in create_of_modalias()
Dbus.c566 int i, nval; in acpi_of_match_device() local
576 nval = of_compatible->package.count; in acpi_of_match_device()
579 nval = 1; in acpi_of_match_device()
583 for (i = 0; i < nval; i++, obj++) { in acpi_of_match_device()
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_reg.h251 u16 nval = asd_ddbsite_read_word(asd_ha, ddb_site_no, base); in asd_ddbsite_update_byte() local
253 if ((nval >> 8) != _oldval) in asd_ddbsite_update_byte()
255 nval = (_newval << 8) | (nval & 0xFF); in asd_ddbsite_update_byte()
256 oval = (_oldval << 8) | (nval & 0xFF); in asd_ddbsite_update_byte()
258 if ((nval & 0xFF) != _oldval) in asd_ddbsite_update_byte()
260 nval = (nval & 0xFF00) | _newval; in asd_ddbsite_update_byte()
261 oval = (nval & 0xFF00) | _oldval; in asd_ddbsite_update_byte()
263 return asd_ddbsite_update_word(asd_ha, ddb_site_no, base, oval, nval); in asd_ddbsite_update_byte()
/linux-4.4.14/kernel/time/
Ditimer.c147 cputime_t cval, nval, cinterval, ninterval; in set_cpu_itimer() local
152 nval = timeval_to_cputime(&value->it_value); in set_cpu_itimer()
157 error = cputime_sub_ns(nval, ns_nval); in set_cpu_itimer()
164 if (cval || nval) { in set_cpu_itimer()
165 if (nval > 0) in set_cpu_itimer()
166 nval += cputime_one_jiffy; in set_cpu_itimer()
167 set_process_cpu_timer(tsk, clock_id, &nval, &cval); in set_cpu_itimer()
169 it->expires = nval; in set_cpu_itimer()
174 ITIMER_VIRTUAL : ITIMER_PROF, value, nval); in set_cpu_itimer()
/linux-4.4.14/sound/isa/gus/
Dgus_mixer.c59 unsigned char oval, nval; in snd_gf1_put_single() local
61 nval = ucontrol->value.integer.value[0] & 1; in snd_gf1_put_single()
63 nval ^= 1; in snd_gf1_put_single()
64 nval <<= shift; in snd_gf1_put_single()
67 nval = (oval & ~(1 << shift)) | nval; in snd_gf1_put_single()
68 change = nval != oval; in snd_gf1_put_single()
69 outb(gus->mix_cntrl_reg = nval, GUSP(gus, MIXCNTRLREG)); in snd_gf1_put_single()
Dgus_main.c74 unsigned char nval; in snd_gus_joystick_put() local
76 nval = ucontrol->value.integer.value[0] & 31; in snd_gus_joystick_put()
78 change = gus->joystick_dac != nval; in snd_gus_joystick_put()
79 gus->joystick_dac = nval; in snd_gus_joystick_put()
/linux-4.4.14/sound/isa/sb/
Dsb_mixer.c233 unsigned char nval, oval; in snd_dt019x_input_sw_put() local
239 nval = SB_DT019X_CAP_CD; in snd_dt019x_input_sw_put()
242 nval = SB_DT019X_CAP_MIC; in snd_dt019x_input_sw_put()
245 nval = SB_DT019X_CAP_LINE; in snd_dt019x_input_sw_put()
248 nval = SB_DT019X_CAP_SYNTH; in snd_dt019x_input_sw_put()
251 nval = SB_DT019X_CAP_MAIN; in snd_dt019x_input_sw_put()
254 nval = SB_DT019X_CAP_MAIN; in snd_dt019x_input_sw_put()
258 change = nval != oval; in snd_dt019x_input_sw_put()
260 snd_sbmixer_write(sb, SB_DT019X_CAPTURE_SW, nval); in snd_dt019x_input_sw_put()
303 unsigned char nval, oval; in snd_als4k_mono_capture_route_put() local
[all …]
Dsb16_main.c727 unsigned char nval, oval; in snd_sb16_dma_control_put() local
730 if ((nval = ucontrol->value.enumerated.item[0]) > 2) in snd_sb16_dma_control_put()
734 change = nval != oval; in snd_sb16_dma_control_put()
735 snd_sb16_set_dma_mode(chip, nval); in snd_sb16_dma_control_put()
Dsb16_csp.c979 unsigned char nval; in snd_sb_qsound_switch_put() local
981 nval = ucontrol->value.integer.value[0] & 0x01; in snd_sb_qsound_switch_put()
983 change = p->q_enabled != nval; in snd_sb_qsound_switch_put()
984 p->q_enabled = nval; in snd_sb_qsound_switch_put()
/linux-4.4.14/net/netfilter/
Dxt_statistic.c36 int nval, oval; in statistic_mt() local
46 nval = (oval == info->u.nth.every) ? 0 : oval + 1; in statistic_mt()
47 } while (atomic_cmpxchg(&info->master->count, oval, nval) != oval); in statistic_mt()
48 if (nval == 0) in statistic_mt()
/linux-4.4.14/sound/pci/ice1712/
Dpontis.c142 unsigned short oval, nval; in wm_dac_vol_put() local
147 nval = ucontrol->value.integer.value[i]; in wm_dac_vol_put()
148 nval = (nval ? (nval + DAC_MIN) : 0) & 0xff; in wm_dac_vol_put()
151 if (oval != nval) { in wm_dac_vol_put()
152 wm_put(ice, idx, nval); in wm_dac_vol_put()
153 wm_put_nocache(ice, idx, nval | 0x100); in wm_dac_vol_put()
235 unsigned short oval, nval; in wm_adc_mux_put() local
239 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put()
241 nval |= (1 << bit); in wm_adc_mux_put()
243 nval &= ~(1 << bit); in wm_adc_mux_put()
[all …]
Dice1712.c270 unsigned char val, nval; in snd_ice1712_digmix_route_ac97_put() local
274 nval = val & ~ICE1712_ROUTE_AC97; in snd_ice1712_digmix_route_ac97_put()
276 nval |= ICE1712_ROUTE_AC97; in snd_ice1712_digmix_route_ac97_put()
277 outb(nval, ICEMT(ice, MONITOR_ROUTECTRL)); in snd_ice1712_digmix_route_ac97_put()
279 return val != nval; in snd_ice1712_digmix_route_ac97_put()
340 unsigned char val, nval; in snd_ice1712_cs8427_set_input_clock() local
352 nval = val & 0xf0; in snd_ice1712_cs8427_set_input_clock()
354 nval |= 0x01; in snd_ice1712_cs8427_set_input_clock()
356 nval |= 0x04; in snd_ice1712_cs8427_set_input_clock()
357 if (val != nval) { in snd_ice1712_cs8427_set_input_clock()
[all …]
Daureon.c225 unsigned char oval, nval; in aureon_universe_inmux_put() local
228 nval = ucontrol->value.enumerated.item[0]; in aureon_universe_inmux_put()
229 if (nval >= 3) in aureon_universe_inmux_put()
233 change = (oval != nval); in aureon_universe_inmux_put()
235 aureon_pca9554_write(ice, PCA9554_OUT, nval); in aureon_universe_inmux_put()
236 spec->pca9554_out = nval; in aureon_universe_inmux_put()
730 unsigned short nval, oval; in wm_pcm_mute_put() local
735 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
736 change = (oval != nval); in wm_pcm_mute_put()
738 wm_put(ice, WM_MUTE, nval); in wm_pcm_mute_put()
[all …]
Dice1724.c1193 unsigned int val, nval; in update_spdif_rate() local
1197 nval = val = inw(ICEMT1724(ice, SPDIF_CTRL)); in update_spdif_rate()
1198 nval &= ~(7 << 12); in update_spdif_rate()
1201 case 48000: nval |= 2 << 12; break; in update_spdif_rate()
1202 case 32000: nval |= 3 << 12; break; in update_spdif_rate()
1203 case 88200: nval |= 4 << 12; break; in update_spdif_rate()
1204 case 96000: nval |= 5 << 12; break; in update_spdif_rate()
1205 case 192000: nval |= 6 << 12; break; in update_spdif_rate()
1206 case 176400: nval |= 7 << 12; break; in update_spdif_rate()
1208 if (val != nval) in update_spdif_rate()
[all …]
Dprodigy_hifi.c581 unsigned short oval, nval; in wm_adc_mux_enum_put() local
586 nval = (oval & 0xe0) | ucontrol->value.integer.value[0]; in wm_adc_mux_enum_put()
587 if (nval != oval) { in wm_adc_mux_enum_put()
588 wm_put(ice, WM_ADC_MUX, nval); in wm_adc_mux_enum_put()
677 unsigned short oval, nval; in wm_adc_mux_put() local
681 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put()
683 nval |= (1 << bit); in wm_adc_mux_put()
685 nval &= ~(1 << bit); in wm_adc_mux_put()
686 change = nval != oval; in wm_adc_mux_put()
688 wm_put(ice, WM_ADC_MUX, nval); in wm_adc_mux_put()
Dphase.c315 unsigned short nval, oval; in wm_pcm_mute_put() local
320 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
321 change = (nval != oval); in wm_pcm_mute_put()
323 wm_put(ice, WM_MUTE, nval); in wm_pcm_mute_put()
Dews.c601 int val, nval; in snd_ice1712_ewx_io_sense_put() local
605 nval = ucontrol->value.enumerated.item[0] ? mask : 0; in snd_ice1712_ewx_io_sense_put()
608 nval |= val & ~mask; in snd_ice1712_ewx_io_sense_put()
609 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, nval); in snd_ice1712_ewx_io_sense_put()
611 return val != nval; in snd_ice1712_ewx_io_sense_put()
/linux-4.4.14/sound/pcmcia/pdaudiocf/
Dpdaudiocf_pcm.c124 u16 val, nval, aval; in pdacf_pcm_prepare() local
144 val = nval = pdacf_reg_read(chip, PDAUDIOCF_REG_SCR); in pdacf_pcm_prepare()
145 nval &= ~(PDAUDIOCF_DATAFMT0|PDAUDIOCF_DATAFMT1); in pdacf_pcm_prepare()
151 nval |= PDAUDIOCF_DATAFMT0 | PDAUDIOCF_DATAFMT1; in pdacf_pcm_prepare()
174 if (val != nval) { in pdacf_pcm_prepare()
176 pdacf_reg_write(chip, PDAUDIOCF_REG_SCR, nval); in pdacf_pcm_prepare()
/linux-4.4.14/sound/i2c/other/
Dak4xxx-adda.c390 unsigned char nval) in put_ak_reg() argument
396 if (snd_akm4xxx_get_vol(ak, chip, addr) == nval) in put_ak_reg()
399 snd_akm4xxx_set_vol(ak, chip, addr, nval); in put_ak_reg()
400 if (AK_GET_VOL_CVT(kcontrol->private_value) && nval < 128) in put_ak_reg()
401 nval = vol_cvt_datt[nval]; in put_ak_reg()
402 if (AK_GET_IPGA(kcontrol->private_value) && nval >= 128) in put_ak_reg()
403 nval++; /* need to correct + 1 since both 127 and 128 are 0dB */ in put_ak_reg()
405 nval = mask - nval; in put_ak_reg()
407 nval |= 0x80; in put_ak_reg()
410 snd_akm4xxx_write(ak, chip, addr, nval); in put_ak_reg()
[all …]
/linux-4.4.14/lib/
Dgenalloc.c46 unsigned long val, nval; in set_bits_ll() local
48 nval = *addr; in set_bits_ll()
50 val = nval; in set_bits_ll()
54 } while ((nval = cmpxchg(addr, val, val | mask_to_set)) != val); in set_bits_ll()
61 unsigned long val, nval; in clear_bits_ll() local
63 nval = *addr; in clear_bits_ll()
65 val = nval; in clear_bits_ll()
69 } while ((nval = cmpxchg(addr, val, val & ~mask_to_clear)) != val); in clear_bits_ll()
/linux-4.4.14/sound/ppc/
Dbeep.c198 unsigned int oval, nval; in snd_pmac_put_beep() local
202 nval = ucontrol->value.integer.value[0]; in snd_pmac_put_beep()
203 if (nval > 100) in snd_pmac_put_beep()
205 chip->beep->volume = nval; in snd_pmac_put_beep()
/linux-4.4.14/sound/isa/es1688/
Des1688_lib.c779 unsigned char oval, nval; in snd_es1688_put_mux() local
786 nval = (ucontrol->value.enumerated.item[0] & 7) | (oval & ~15); in snd_es1688_put_mux()
787 change = nval != oval; in snd_es1688_put_mux()
789 snd_es1688_mixer_write(chip, ES1688_REC_DEV, nval); in snd_es1688_put_mux()
837 unsigned char oval, nval; in snd_es1688_put_single() local
839 nval = (ucontrol->value.integer.value[0] & mask); in snd_es1688_put_single()
841 nval = mask - nval; in snd_es1688_put_single()
842 nval <<= shift; in snd_es1688_put_single()
845 nval = (oval & ~(mask << shift)) | nval; in snd_es1688_put_single()
846 change = nval != oval; in snd_es1688_put_single()
[all …]
/linux-4.4.14/drivers/hwmon/
Dsis5595.c135 unsigned long nval = clamp_val(val, 0, 4080); in IN_TO_REG() local
136 return (nval + 8) / 16; in IN_TO_REG()
164 int nval = clamp_val(val, -54120, 157530) ; in TEMP_TO_REG() local
165 return nval < 0 ? (nval - 5212 - 415) / 830 : (nval - 5212 + 415) / 830; in TEMP_TO_REG()
Dlm78.c88 unsigned long nval = clamp_val(val, 0, 4080); in IN_TO_REG() local
89 return (nval + 8) / 16; in IN_TO_REG()
113 int nval = clamp_val(val, -128000, 127000) ; in TEMP_TO_REG() local
114 return nval < 0 ? (nval - 500) / 1000 : (nval + 500) / 1000; in TEMP_TO_REG()
Dasb100.c117 unsigned nval = clamp_val(val, ASB100_IN_MIN, ASB100_IN_MAX); in IN_TO_REG() local
118 return (nval + 8) / 16; in IN_TO_REG()
/linux-4.4.14/sound/pci/ca0106/
Dca0106_mixer.c445 unsigned int oval, nval; in snd_ca0106_volume_put() local
452 nval = ((0xff - ucontrol->value.integer.value[0]) << 24) | in snd_ca0106_volume_put()
454 nval |= ((0xff - ucontrol->value.integer.value[0]) << 8) | in snd_ca0106_volume_put()
456 if (oval == nval) in snd_ca0106_volume_put()
458 snd_ca0106_ptr_write(emu, reg, channel_id, nval); in snd_ca0106_volume_put()
/linux-4.4.14/drivers/isdn/mISDN/
Dtei.c482 tm->nval = 3; in tei_id_request()
602 tm->nval = 2; in tei_id_verify()
610 if (--tm->nval) { in tei_id_req_tout()
614 4 - tm->nval, tm->ri); in tei_id_req_tout()
629 if (--tm->nval) { in tei_id_ver_tout()
633 3 - tm->nval, tm->l2->tei); in tei_id_ver_tout()
700 tm->nval = 2; in tei_id_chk_req_net()
745 } else if (--tm->nval) { in tei_id_ver_tout_net()
749 3 - tm->nval, tm->l2->tei); in tei_id_ver_tout_net()
Dlayer2.h42 int tval, nval; member
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan.h118 void ipvlan_set_port_mode(struct ipvl_port *port, u32 nval);
Dipvlan_main.c17 void ipvlan_set_port_mode(struct ipvl_port *port, u32 nval) in ipvlan_set_port_mode() argument
21 if (port->mode != nval) { in ipvlan_set_port_mode()
23 if (nval == IPVLAN_MODE_L3) in ipvlan_set_port_mode()
28 port->mode = nval; in ipvlan_set_port_mode()
/linux-4.4.14/net/sched/
Dsch_fq.c680 u32 nval = nla_get_u32(tb[TCA_FQ_BUCKETS_LOG]); in fq_change() local
682 if (nval >= 1 && nval <= ilog2(256*1024)) in fq_change()
683 fq_log = nval; in fq_change()
/linux-4.4.14/sound/pci/emu10k1/
Demupcm.c1517 unsigned int nval[2], bits; in snd_emu10k1_pcm_efx_voices_mask_put() local
1522 nval[0] = nval[1] = 0; in snd_emu10k1_pcm_efx_voices_mask_put()
1525 nval[idx / 32] |= 1 << (idx % 32); in snd_emu10k1_pcm_efx_voices_mask_put()
1537 change = (nval[0] != emu->efx_voices_mask[0]) || in snd_emu10k1_pcm_efx_voices_mask_put()
1538 (nval[1] != emu->efx_voices_mask[1]); in snd_emu10k1_pcm_efx_voices_mask_put()
1539 emu->efx_voices_mask[0] = nval[0]; in snd_emu10k1_pcm_efx_voices_mask_put()
1540 emu->efx_voices_mask[1] = nval[1]; in snd_emu10k1_pcm_efx_voices_mask_put()
Demufx.c368 unsigned int nval, val; in snd_emu10k1_gpr_ctl_put() local
374 nval = ucontrol->value.integer.value[i]; in snd_emu10k1_gpr_ctl_put()
375 if (nval < ctl->min) in snd_emu10k1_gpr_ctl_put()
376 nval = ctl->min; in snd_emu10k1_gpr_ctl_put()
377 if (nval > ctl->max) in snd_emu10k1_gpr_ctl_put()
378 nval = ctl->max; in snd_emu10k1_gpr_ctl_put()
379 if (nval != ctl->value[i]) in snd_emu10k1_gpr_ctl_put()
381 val = ctl->value[i] = nval; in snd_emu10k1_gpr_ctl_put()
/linux-4.4.14/Documentation/
Dthis_cpu_ops.txt50 this_cpu_xchg(pcp, nval)
51 this_cpu_cmpxchg(pcp, oval, nval)
233 __this_cpu_xchg(pcp, nval)
234 __this_cpu_cmpxchg(pcp, oval, nval)
/linux-4.4.14/sound/pci/
Des1938.c1089 unsigned char oval, nval; in snd_es1938_put_spatializer_enable() local
1091 nval = ucontrol->value.integer.value[0] ? 0x0c : 0x04; in snd_es1938_put_spatializer_enable()
1093 change = nval != oval; in snd_es1938_put_spatializer_enable()
1095 snd_es1938_mixer_write(chip, 0x50, nval & ~0x04); in snd_es1938_put_spatializer_enable()
1096 snd_es1938_mixer_write(chip, 0x50, nval); in snd_es1938_put_spatializer_enable()
Dens1370.c1719 unsigned int nval; in snd_ensoniq_control_put() local
1722 nval = ucontrol->value.integer.value[0] ? mask : 0; in snd_ensoniq_control_put()
1724 change = (ensoniq->ctrl & mask) != nval; in snd_ensoniq_control_put()
1726 ensoniq->ctrl |= nval; in snd_ensoniq_control_put()
/linux-4.4.14/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c5012 u32 cval,nval; in pvr2_hdw_gpio_chg_dir() local
5017 nval = (cval & ~msk) | (val & msk); in pvr2_hdw_gpio_chg_dir()
5021 msk,val,cval,nval); in pvr2_hdw_gpio_chg_dir()
5023 nval = val; in pvr2_hdw_gpio_chg_dir()
5025 "GPIO direction changing to 0x%x",nval); in pvr2_hdw_gpio_chg_dir()
5027 return pvr2_write_register(hdw,PVR2_GPIO_DIR,nval); in pvr2_hdw_gpio_chg_dir()
5033 u32 cval,nval; in pvr2_hdw_gpio_chg_out() local
5038 nval = (cval & ~msk) | (val & msk); in pvr2_hdw_gpio_chg_out()
5041 msk,val,cval,nval); in pvr2_hdw_gpio_chg_out()
5043 nval = val; in pvr2_hdw_gpio_chg_out()
[all …]
/linux-4.4.14/sound/isa/
Des18xx.c1059 unsigned char oval, nval; in snd_es18xx_put_spatializer_enable() local
1061 nval = ucontrol->value.integer.value[0] ? 0x0c : 0x04; in snd_es18xx_put_spatializer_enable()
1063 change = nval != oval; in snd_es18xx_put_spatializer_enable()
1065 snd_es18xx_mixer_write(chip, 0x50, nval & ~0x04); in snd_es18xx_put_spatializer_enable()
1066 snd_es18xx_mixer_write(chip, 0x50, nval); in snd_es18xx_put_spatializer_enable()
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx_lib.c3595 u16 control, nval; in clkrun_hack() local
3603 nval = control = inw(chip->acpi_port + 0x10); in clkrun_hack()
3607 nval |= 0x2000; in clkrun_hack()
3609 nval &= ~0x2000; in clkrun_hack()
3610 if (nval != control) in clkrun_hack()
3611 outw(nval, chip->acpi_port + 0x10); in clkrun_hack()
/linux-4.4.14/kernel/
Dfutex.c2930 u32 uval, uninitialized_var(nval), mval; in handle_futex_death()
2957 if (cmpxchg_futex_value_locked(&nval, uaddr, uval, mval)) { in handle_futex_death()
2962 if (nval != uval) in handle_futex_death()
/linux-4.4.14/net/packet/
Daf_packet.c2177 u32 nval; in tpacket_rcv() local
2179 nval = GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len - macoff; in tpacket_rcv()
2181 snaplen, nval, macoff); in tpacket_rcv()
2182 snaplen = nval; in tpacket_rcv()