Home
last modified time | relevance | path

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

12

/sound/isa/sb/
Dsb_mixer.c95 unsigned char val, oval; in snd_sbmixer_put_single() local
99 oval = snd_sbmixer_read(sb, reg); in snd_sbmixer_put_single()
100 val = (oval & ~(mask << shift)) | val; in snd_sbmixer_put_single()
101 change = val != oval; in snd_sbmixer_put_single()
196 unsigned char oval; in snd_dt019x_input_sw_get() local
199 oval = snd_sbmixer_read(sb, SB_DT019X_CAPTURE_SW); in snd_dt019x_input_sw_get()
201 switch (oval & 0x07) { in snd_dt019x_input_sw_get()
233 unsigned char nval, oval; in snd_dt019x_input_sw_put() local
257 oval = snd_sbmixer_read(sb, SB_DT019X_CAPTURE_SW); in snd_dt019x_input_sw_put()
258 change = nval != oval; in snd_dt019x_input_sw_put()
[all …]
Dsb16_main.c727 unsigned char nval, oval; in snd_sb16_dma_control_put() local
733 oval = snd_sb16_get_dma_mode(chip); in snd_sb16_dma_control_put()
734 change = nval != oval; in snd_sb16_dma_control_put()
/sound/ppc/
Dburgundy.c314 int oval; in snd_pmac_burgundy_get_gain() local
316 oval = snd_pmac_burgundy_rcb(chip, addr); in snd_pmac_burgundy_get_gain()
318 oval = ~oval & 0xff; in snd_pmac_burgundy_get_gain()
319 ucontrol->value.integer.value[0] = oval & 0xf; in snd_pmac_burgundy_get_gain()
321 ucontrol->value.integer.value[1] = (oval >> 4) & 0xf; in snd_pmac_burgundy_get_gain()
332 int oval, val; in snd_pmac_burgundy_put_gain() local
334 oval = snd_pmac_burgundy_rcb(chip, addr); in snd_pmac_burgundy_put_gain()
336 oval = ~oval & 0xff; in snd_pmac_burgundy_put_gain()
345 return val != oval; in snd_pmac_burgundy_put_gain()
392 int val, oval; in snd_pmac_burgundy_put_switch_w() local
[all …]
Dbeep.c198 unsigned int oval, nval; in snd_pmac_put_beep() local
201 oval = chip->beep->volume; in snd_pmac_put_beep()
206 return oval != chip->beep->volume; in snd_pmac_put_beep()
/sound/pci/ice1712/
Dpontis.c142 unsigned short oval, nval; in wm_dac_vol_put() local
150 oval = wm_get(ice, idx) & 0xff; in wm_dac_vol_put()
151 if (oval != nval) { 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()
244 change = nval != oval; in wm_adc_mux_put()
270 unsigned short val, oval; in wm_bypass_put() local
274 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put()
279 if (val != oval) { in wm_bypass_put()
305 unsigned short val, oval; in wm_chswap_put() local
[all …]
Dprodigy_hifi.c581 unsigned short oval, nval; in wm_adc_mux_enum_put() local
585 oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_enum_put()
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()
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()
686 change = nval != oval; in wm_adc_mux_put()
715 unsigned short val, oval; in wm_bypass_put() local
719 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put()
724 if (val != oval) { in wm_bypass_put()
[all …]
Daureon.c225 unsigned char oval, nval; in aureon_universe_inmux_put() local
232 oval = spec->pca9554_out; in aureon_universe_inmux_put()
233 change = (oval != nval); in aureon_universe_inmux_put()
730 unsigned short nval, oval; in wm_pcm_mute_put() local
734 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put()
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()
1125 unsigned short oval, nval; in wm_adc_mux_put() local
1129 oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put()
1130 nval = oval & ~0x77; in wm_adc_mux_put()
[all …]
Dphase.c315 unsigned short nval, oval; in wm_pcm_mute_put() local
319 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put()
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()
Dice1712.c1858 unsigned char oval; in snd_ice1712_pro_internal_clock_put() local
1862 oval = inb(ICEMT(ice, RATE)); in snd_ice1712_pro_internal_clock_put()
1864 outb(oval | ICE1712_SPDIF_MASTER, ICEMT(ice, RATE)); in snd_ice1712_pro_internal_clock_put()
1871 change = inb(ICEMT(ice, RATE)) != oval; in snd_ice1712_pro_internal_clock_put()
1874 if ((oval & ICE1712_SPDIF_MASTER) != in snd_ice1712_pro_internal_clock_put()
1936 unsigned char oval; in snd_ice1712_pro_internal_clock_default_put() local
1939 oval = PRO_RATE_DEFAULT; in snd_ice1712_pro_internal_clock_default_put()
1941 change = PRO_RATE_DEFAULT != oval; in snd_ice1712_pro_internal_clock_default_put()
/sound/isa/gus/
Dgus_mixer.c59 unsigned char oval, nval; in snd_gf1_put_single() local
66 oval = gus->mix_cntrl_reg; 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()
/sound/usb/
Dmixer_scarlett.c267 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()
339 int err, oval, val; in scarlett_ctl_put() local
342 err = snd_usb_get_cur_mix_value(elem, i, i, &oval); in scarlett_ctl_put()
349 if (oval != val) { in scarlett_ctl_put()
433 int err, oval, val; in scarlett_ctl_enum_put() local
435 err = snd_usb_get_cur_mix_value(elem, 0, 0, &oval); in scarlett_ctl_enum_put()
441 if (val != oval) { in scarlett_ctl_enum_put()
Dmixer.c1142 int c, cnt, val, oval, err; in mixer_ctl_feature_put() local
1150 err = snd_usb_get_cur_mix_value(cval, c + 1, cnt, &oval); in mixer_ctl_feature_put()
1155 if (oval != val) { in mixer_ctl_feature_put()
1163 err = snd_usb_get_cur_mix_value(cval, 0, 0, &oval); in mixer_ctl_feature_put()
1168 if (val != oval) { in mixer_ctl_feature_put()
1755 int val, oval, err; in mixer_ctl_procunit_put() local
1757 err = get_cur_ctl_value(cval, cval->control << 8, &oval); in mixer_ctl_procunit_put()
1762 if (val != oval) { in mixer_ctl_procunit_put()
2043 int val, oval, err; in mixer_ctl_selector_put() local
2045 err = get_cur_ctl_value(cval, cval->control << 8, &oval); in mixer_ctl_selector_put()
[all …]
/sound/i2c/other/
Dak4xxx-adda.c531 unsigned char val, oval; in ak4xxx_switch_put() local
536 oval = snd_akm4xxx_get(ak, chip, addr); in ak4xxx_switch_put()
538 val = oval | (1<<shift); in ak4xxx_switch_put()
540 val = oval & ~(1<<shift); in ak4xxx_switch_put()
541 change = (oval != val); in ak4xxx_switch_put()
597 unsigned char oval, val; in ak4xxx_capture_source_put() local
603 oval = snd_akm4xxx_get(ak, chip, addr); in ak4xxx_capture_source_put()
604 val = oval & ~mask; in ak4xxx_capture_source_put()
606 if (val != oval) { in ak4xxx_capture_source_put()
/sound/isa/es1688/
Des1688_lib.c779 unsigned char oval, nval; in snd_es1688_put_mux() local
785 oval = snd_es1688_mixer_read(chip, ES1688_REC_DEV); in snd_es1688_put_mux()
786 nval = (ucontrol->value.enumerated.item[0] & 7) | (oval & ~15); in snd_es1688_put_mux()
787 change = nval != oval; in snd_es1688_put_mux()
837 unsigned char oval, nval; in snd_es1688_put_single() local
844 oval = snd_es1688_mixer_read(chip, reg); 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()
/sound/pci/
Des1938.c291 unsigned char old, new, oval; in snd_es1938_mixer_bits() local
295 oval = old & mask; in snd_es1938_mixer_bits()
296 if (val != oval) { in snd_es1938_mixer_bits()
304 return oval; in snd_es1938_mixer_bits()
374 unsigned char old, new, oval; in snd_es1938_bits() local
379 oval = old & mask; in snd_es1938_bits()
380 if (val != oval) { in snd_es1938_bits()
388 return oval; in snd_es1938_bits()
1089 unsigned char oval, nval; in snd_es1938_put_spatializer_enable() local
1092 oval = snd_es1938_mixer_read(chip, 0x50) & 0x0c; in snd_es1938_put_spatializer_enable()
[all …]
Dvia82xx.c1633 u8 val, oval; in snd_via8233_capture_source_put() local
1636 oval = inb(port); in snd_via8233_capture_source_put()
1637 val = oval & ~VIA_REG_CAPTURE_CHANNEL_MIC; in snd_via8233_capture_source_put()
1640 if (val != oval) in snd_via8233_capture_source_put()
1643 return val != oval; in snd_via8233_capture_source_put()
1671 u8 val, oval; in snd_via8233_dxs3_spdif_put() local
1673 pci_read_config_byte(chip->pci, VIA8233_SPDIF_CTRL, &oval); in snd_via8233_dxs3_spdif_put()
1674 val = oval & ~VIA8233_SPDIF_DX3; in snd_via8233_dxs3_spdif_put()
1679 if (val != oval) { in snd_via8233_dxs3_spdif_put()
Dcmipci.c550 unsigned int val, oval; in snd_cmipci_set_bit() local
551 val = oval = inl(cm->iobase + cmd); in snd_cmipci_set_bit()
553 if (val == oval) in snd_cmipci_set_bit()
561 unsigned int val, oval; in snd_cmipci_clear_bit() local
562 val = oval = inl(cm->iobase + cmd); in snd_cmipci_clear_bit()
564 if (val == oval) in snd_cmipci_clear_bit()
573 unsigned char val, oval; in snd_cmipci_set_bit_b() local
574 val = oval = inb(cm->iobase + cmd); in snd_cmipci_set_bit_b()
576 if (val == oval) in snd_cmipci_set_bit_b()
584 unsigned char val, oval; in snd_cmipci_clear_bit_b() local
[all …]
Dsonicvibes.c999 unsigned short val, oval; in snd_sonicvibes_put_single() local
1006 oval = snd_sonicvibes_in1(sonic, reg); in snd_sonicvibes_put_single()
1007 val = (oval & ~(mask << shift)) | val; in snd_sonicvibes_put_single()
1008 change = val != oval; in snd_sonicvibes_put_single()
/sound/isa/
Des18xx.c249 unsigned char old, new, oval; in snd_es18xx_bits() local
263 oval = old & mask; in snd_es18xx_bits()
264 if (val != oval) { in snd_es18xx_bits()
277 ret = oval; in snd_es18xx_bits()
314 unsigned char old, new, oval; in snd_es18xx_mixer_bits() local
319 oval = old & mask; in snd_es18xx_mixer_bits()
320 if (val != oval) { in snd_es18xx_mixer_bits()
329 return oval; in snd_es18xx_mixer_bits()
1059 unsigned char oval, nval; in snd_es18xx_put_spatializer_enable() local
1062 oval = snd_es18xx_mixer_read(chip, 0x50) & 0x0c; in snd_es18xx_put_spatializer_enable()
[all …]
Dopl3sa2.c381 unsigned short val, oval; in snd_opl3sa2_put_single() local
388 oval = chip->ctlregs[reg]; in snd_opl3sa2_put_single()
389 val = (oval & ~(mask << shift)) | val; in snd_opl3sa2_put_single()
390 change = val != oval; in snd_opl3sa2_put_single()
/sound/pci/ymfpci/
Dymfpci_main.c1489 unsigned int val, oval; in snd_ymfpci_put_single() local
1499 oval = snd_ymfpci_readl(chip, reg); in snd_ymfpci_put_single()
1500 val = (oval & ~(mask << shift)) | val; in snd_ymfpci_put_single()
1501 change = val != oval; in snd_ymfpci_put_single()
1553 unsigned int val1, val2, oval; in snd_ymfpci_put_double() local
1562 oval = snd_ymfpci_readl(chip, reg); in snd_ymfpci_put_double()
1563 val1 = (oval & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ymfpci_put_double()
1564 change = val1 != oval; in snd_ymfpci_put_double()
1577 unsigned int value, oval; in snd_ymfpci_put_nativedacvol() local
1582 oval = snd_ymfpci_readl(chip, reg); in snd_ymfpci_put_nativedacvol()
[all …]
/sound/pci/ca0106/
Dca0106_mixer.c445 unsigned int oval, nval; in snd_ca0106_volume_put() local
451 oval = snd_ca0106_ptr_read(emu, reg, channel_id); in snd_ca0106_volume_put()
456 if (oval == nval) in snd_ca0106_volume_put()
/sound/pci/emu10k1/
Dp16v.c722 u32 value, oval; in snd_p16v_volume_put() local
724 oval = value = snd_emu10k1_ptr20_read(emu, reg, 0); in snd_p16v_volume_put()
734 if (value != oval) { in snd_p16v_volume_put()
/sound/pci/ctxfi/
Dctmixer.c374 int i, j, val, oval, change = 0; in ct_alsa_mix_volume_put() local
384 oval = amixer->ops->get_scale(amixer); in ct_alsa_mix_volume_put()
385 if (val != oval) { in ct_alsa_mix_volume_put()
/sound/pci/cs46xx/
Dcs46xx_lib.c3457 int oval, val; in amp_voyetra() local
3460 oval = snd_cs46xx_codec_read(chip, AC97_POWERDOWN, in amp_voyetra()
3462 val = oval; in amp_voyetra()
3470 if (val != oval) { in amp_voyetra()

12