Home
last modified time | relevance | path

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

/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()
202 unsigned char oval; in snd_dt019x_input_sw_get() local
205 oval = snd_sbmixer_read(sb, SB_DT019X_CAPTURE_SW); in snd_dt019x_input_sw_get()
207 switch (oval & 0x07) { in snd_dt019x_input_sw_get()
239 unsigned char nval, oval; in snd_dt019x_input_sw_put() local
263 oval = snd_sbmixer_read(sb, SB_DT019X_CAPTURE_SW); in snd_dt019x_input_sw_put()
264 change = nval != oval; in snd_dt019x_input_sw_put()
[all …]
Dsb16_main.c733 unsigned char nval, oval; in snd_sb16_dma_control_put() local
739 oval = snd_sb16_get_dma_mode(chip); in snd_sb16_dma_control_put()
740 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.c588 unsigned short oval, nval; in wm_adc_mux_enum_put() local
592 oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_enum_put()
593 nval = (oval & 0xe0) | ucontrol->value.integer.value[0]; in wm_adc_mux_enum_put()
594 if (nval != oval) { in wm_adc_mux_enum_put()
684 unsigned short oval, nval; in wm_adc_mux_put() local
688 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put()
693 change = nval != oval; in wm_adc_mux_put()
722 unsigned short val, oval; in wm_bypass_put() local
726 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put()
731 if (val != oval) { in wm_bypass_put()
[all …]
Daureon.c231 unsigned char oval, nval; in aureon_universe_inmux_put() local
238 oval = spec->pca9554_out; in aureon_universe_inmux_put()
239 change = (oval != nval); in aureon_universe_inmux_put()
736 unsigned short nval, oval; in wm_pcm_mute_put() local
740 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put()
741 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
742 change = (oval != nval); in wm_pcm_mute_put()
1141 unsigned short oval, nval; in wm_adc_mux_put() local
1145 oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put()
1146 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.c1873 unsigned char oval; in snd_ice1712_pro_internal_clock_put() local
1877 oval = inb(ICEMT(ice, RATE)); in snd_ice1712_pro_internal_clock_put()
1879 outb(oval | ICE1712_SPDIF_MASTER, ICEMT(ice, RATE)); in snd_ice1712_pro_internal_clock_put()
1886 change = inb(ICEMT(ice, RATE)) != oval; in snd_ice1712_pro_internal_clock_put()
1889 if ((oval & ICE1712_SPDIF_MASTER) != in snd_ice1712_pro_internal_clock_put()
1957 unsigned char oval; in snd_ice1712_pro_internal_clock_default_put() local
1960 oval = PRO_RATE_DEFAULT; in snd_ice1712_pro_internal_clock_default_put()
1962 change = PRO_RATE_DEFAULT != oval; in snd_ice1712_pro_internal_clock_default_put()
Dice1724.c1912 unsigned char oval; in stdclock_set_spdif_clock() local
1914 oval = inb(ICEMT1724(ice, RATE)); in stdclock_set_spdif_clock()
1915 outb(oval | VT1724_SPDIF_MASTER, ICEMT1724(ice, RATE)); in stdclock_set_spdif_clock()
/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/i2c/other/
Dak4xxx-adda.c538 unsigned char val, oval; in ak4xxx_switch_put() local
543 oval = snd_akm4xxx_get(ak, chip, addr); in ak4xxx_switch_put()
545 val = oval | (1<<shift); in ak4xxx_switch_put()
547 val = oval & ~(1<<shift); in ak4xxx_switch_put()
548 change = (oval != val); in ak4xxx_switch_put()
613 unsigned char oval, val; in ak4xxx_capture_source_put() local
619 oval = snd_akm4xxx_get(ak, chip, addr); in ak4xxx_capture_source_put()
620 val = oval & ~mask; in ak4xxx_capture_source_put()
622 if (val != oval) { in ak4xxx_capture_source_put()
/sound/isa/es1688/
Des1688_lib.c790 unsigned char oval, nval; in snd_es1688_put_mux() local
796 oval = snd_es1688_mixer_read(chip, ES1688_REC_DEV); in snd_es1688_put_mux()
797 nval = (ucontrol->value.enumerated.item[0] & 7) | (oval & ~15); in snd_es1688_put_mux()
798 change = nval != oval; in snd_es1688_put_mux()
848 unsigned char oval, nval; in snd_es1688_put_single() local
855 oval = snd_es1688_mixer_read(chip, reg); in snd_es1688_put_single()
856 nval = (oval & ~(mask << shift)) | nval; in snd_es1688_put_single()
857 change = nval != oval; in snd_es1688_put_single()
/sound/pci/
Des1938.c297 unsigned char old, new, oval; in snd_es1938_mixer_bits() local
301 oval = old & mask; in snd_es1938_mixer_bits()
302 if (val != oval) { in snd_es1938_mixer_bits()
311 return oval; in snd_es1938_mixer_bits()
384 unsigned char old, new, oval; in snd_es1938_bits() local
389 oval = old & mask; in snd_es1938_bits()
390 if (val != oval) { in snd_es1938_bits()
400 return oval; in snd_es1938_bits()
1107 unsigned char oval, nval; in snd_es1938_put_spatializer_enable() local
1110 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.c1006 unsigned short val, oval; in snd_sonicvibes_put_single() local
1013 oval = snd_sonicvibes_in1(sonic, reg); in snd_sonicvibes_put_single()
1014 val = (oval & ~(mask << shift)) | val; in snd_sonicvibes_put_single()
1015 change = val != oval; in snd_sonicvibes_put_single()
/sound/isa/
Des18xx.c248 unsigned char old, new, oval; in snd_es18xx_bits() local
262 oval = old & mask; in snd_es18xx_bits()
263 if (val != oval) { in snd_es18xx_bits()
276 ret = oval; in snd_es18xx_bits()
313 unsigned char old, new, oval; in snd_es18xx_mixer_bits() local
318 oval = old & mask; in snd_es18xx_mixer_bits()
319 if (val != oval) { in snd_es18xx_mixer_bits()
328 return oval; in snd_es18xx_mixer_bits()
1074 unsigned char oval, nval; in snd_es18xx_put_spatializer_enable() local
1077 oval = snd_es18xx_mixer_read(chip, 0x50) & 0x0c; in snd_es18xx_put_spatializer_enable()
[all …]
Dopl3sa2.c382 unsigned short val, oval; in snd_opl3sa2_put_single() local
389 oval = chip->ctlregs[reg]; in snd_opl3sa2_put_single()
390 val = (oval & ~(mask << shift)) | val; in snd_opl3sa2_put_single()
391 change = val != oval; in snd_opl3sa2_put_single()
/sound/usb/
Dmixer.c1080 int c, cnt, val, oval, err; in mixer_ctl_feature_put() local
1088 err = get_cur_mix_value(cval, c + 1, cnt, &oval); in mixer_ctl_feature_put()
1093 if (oval != val) { in mixer_ctl_feature_put()
1101 err = get_cur_mix_value(cval, 0, 0, &oval); in mixer_ctl_feature_put()
1106 if (val != oval) { in mixer_ctl_feature_put()
1574 int val, oval, err; in mixer_ctl_procunit_put() local
1576 err = get_cur_ctl_value(cval, cval->control << 8, &oval); in mixer_ctl_procunit_put()
1584 if (val != oval) { in mixer_ctl_procunit_put()
1856 int val, oval, err; in mixer_ctl_selector_put() local
1858 err = get_cur_ctl_value(cval, cval->control << 8, &oval); in mixer_ctl_selector_put()
[all …]
/sound/pci/ymfpci/
Dymfpci_main.c1513 unsigned int val, oval; in snd_ymfpci_put_single() local
1523 oval = snd_ymfpci_readl(chip, reg); in snd_ymfpci_put_single()
1524 val = (oval & ~(mask << shift)) | val; in snd_ymfpci_put_single()
1525 change = val != oval; in snd_ymfpci_put_single()
1577 unsigned int val1, val2, oval; in snd_ymfpci_put_double() local
1586 oval = snd_ymfpci_readl(chip, reg); in snd_ymfpci_put_double()
1587 val1 = (oval & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ymfpci_put_double()
1588 change = val1 != oval; in snd_ymfpci_put_double()
1601 unsigned int value, oval; in snd_ymfpci_put_nativedacvol() local
1606 oval = snd_ymfpci_readl(chip, reg); in snd_ymfpci_put_nativedacvol()
[all …]
/sound/pci/emu10k1/
Dp16v.c735 u32 value, oval; in snd_p16v_volume_put() local
737 oval = value = snd_emu10k1_ptr20_read(emu, reg, 0); in snd_p16v_volume_put()
747 if (value != oval) { in snd_p16v_volume_put()
/sound/pci/ca0106/
Dca0106_mixer.c469 unsigned int oval, nval; in snd_ca0106_volume_put() local
475 oval = snd_ca0106_ptr_read(emu, reg, channel_id); in snd_ca0106_volume_put()
480 if (oval == nval) in snd_ca0106_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.c3290 int oval, val; in amp_voyetra() local
3293 oval = snd_cs46xx_codec_read(chip, AC97_POWERDOWN, in amp_voyetra()
3295 val = oval; in amp_voyetra()
3303 if (val != oval) { in amp_voyetra()