/sound/isa/sb/ |
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 …]
|
D | sb16_main.c | 715 unsigned char nval, oval; in snd_sb16_dma_control_put() local 721 oval = snd_sb16_get_dma_mode(chip); in snd_sb16_dma_control_put() 722 change = nval != oval; in snd_sb16_dma_control_put()
|
/sound/ppc/ |
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 …]
|
D | beep.c | 185 unsigned int oval, nval; in snd_pmac_put_beep() local 188 oval = chip->beep->volume; in snd_pmac_put_beep() 193 return oval != chip->beep->volume; in snd_pmac_put_beep()
|
/sound/pci/ice1712/ |
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 …]
|
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 …]
|
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 …]
|
D | phase.c | 301 unsigned short nval, oval; in wm_pcm_mute_put() local 305 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put() 306 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put() 307 change = (nval != oval); in wm_pcm_mute_put()
|
D | ice1712.c | 1841 unsigned char oval; in snd_ice1712_pro_internal_clock_put() local 1845 oval = inb(ICEMT(ice, RATE)); in snd_ice1712_pro_internal_clock_put() 1847 outb(oval | ICE1712_SPDIF_MASTER, ICEMT(ice, RATE)); in snd_ice1712_pro_internal_clock_put() 1854 change = inb(ICEMT(ice, RATE)) != oval; in snd_ice1712_pro_internal_clock_put() 1857 if ((oval & ICE1712_SPDIF_MASTER) != in snd_ice1712_pro_internal_clock_put() 1919 unsigned char oval; in snd_ice1712_pro_internal_clock_default_put() local 1922 oval = PRO_RATE_DEFAULT; in snd_ice1712_pro_internal_clock_default_put() 1924 change = PRO_RATE_DEFAULT != oval; in snd_ice1712_pro_internal_clock_default_put()
|
/sound/usb/ |
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 …]
|
D | mixer_scarlett.c | 257 int err, oval, val; in scarlett_ctl_switch_put() local 260 err = snd_usb_get_cur_mix_value(elem, i, i, &oval); in scarlett_ctl_switch_put() 266 if (oval != val) { in scarlett_ctl_switch_put() 328 int err, oval, val; in scarlett_ctl_put() local 331 err = snd_usb_get_cur_mix_value(elem, i, i, &oval); in scarlett_ctl_put() 338 if (oval != val) { in scarlett_ctl_put() 422 int err, oval, val; in scarlett_ctl_enum_put() local 424 err = snd_usb_get_cur_mix_value(elem, 0, 0, &oval); in scarlett_ctl_enum_put() 430 if (val != oval) { in scarlett_ctl_enum_put()
|
D | mixer.c | 1372 int c, cnt, val, oval, err; in mixer_ctl_feature_put() local 1380 err = snd_usb_get_cur_mix_value(cval, c + 1, cnt, &oval); in mixer_ctl_feature_put() 1385 if (oval != val) { in mixer_ctl_feature_put() 1393 err = snd_usb_get_cur_mix_value(cval, 0, 0, &oval); in mixer_ctl_feature_put() 1398 if (val != oval) { in mixer_ctl_feature_put() 2212 int val, oval, err; in mixer_ctl_procunit_put() local 2214 err = get_cur_ctl_value(cval, cval->control << 8, &oval); in mixer_ctl_procunit_put() 2219 if (val != oval) { in mixer_ctl_procunit_put() 2568 int val, oval, err; in mixer_ctl_selector_put() local 2570 err = get_cur_ctl_value(cval, cval->control << 8, &oval); in mixer_ctl_selector_put() [all …]
|
/sound/isa/gus/ |
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()
|
/sound/i2c/other/ |
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()
|
/sound/isa/es1688/ |
D | es1688_lib.c | 762 unsigned char oval, nval; in snd_es1688_put_mux() local 768 oval = snd_es1688_mixer_read(chip, ES1688_REC_DEV); in snd_es1688_put_mux() 769 nval = (ucontrol->value.enumerated.item[0] & 7) | (oval & ~15); in snd_es1688_put_mux() 770 change = nval != oval; in snd_es1688_put_mux() 820 unsigned char oval, nval; in snd_es1688_put_single() local 827 oval = snd_es1688_mixer_read(chip, reg); in snd_es1688_put_single() 828 nval = (oval & ~(mask << shift)) | nval; in snd_es1688_put_single() 829 change = nval != oval; in snd_es1688_put_single()
|
/sound/pci/ |
D | es1938.c | 276 unsigned char old, new, oval; in snd_es1938_mixer_bits() local 280 oval = old & mask; in snd_es1938_mixer_bits() 281 if (val != oval) { in snd_es1938_mixer_bits() 289 return oval; in snd_es1938_mixer_bits() 359 unsigned char old, new, oval; in snd_es1938_bits() local 364 oval = old & mask; in snd_es1938_bits() 365 if (val != oval) { in snd_es1938_bits() 373 return oval; in snd_es1938_bits() 1091 unsigned char oval, nval; in snd_es1938_put_spatializer_enable() local 1094 oval = snd_es1938_mixer_read(chip, 0x50) & 0x0c; in snd_es1938_put_spatializer_enable() [all …]
|
D | via82xx.c | 1621 u8 val, oval; in snd_via8233_capture_source_put() local 1624 oval = inb(port); in snd_via8233_capture_source_put() 1625 val = oval & ~VIA_REG_CAPTURE_CHANNEL_MIC; in snd_via8233_capture_source_put() 1628 if (val != oval) in snd_via8233_capture_source_put() 1631 return val != oval; in snd_via8233_capture_source_put() 1659 u8 val, oval; in snd_via8233_dxs3_spdif_put() local 1661 pci_read_config_byte(chip->pci, VIA8233_SPDIF_CTRL, &oval); in snd_via8233_dxs3_spdif_put() 1662 val = oval & ~VIA8233_SPDIF_DX3; in snd_via8233_dxs3_spdif_put() 1667 if (val != oval) { in snd_via8233_dxs3_spdif_put()
|
D | cmipci.c | 536 unsigned int val, oval; in snd_cmipci_set_bit() local 537 val = oval = inl(cm->iobase + cmd); in snd_cmipci_set_bit() 539 if (val == oval) in snd_cmipci_set_bit() 547 unsigned int val, oval; in snd_cmipci_clear_bit() local 548 val = oval = inl(cm->iobase + cmd); in snd_cmipci_clear_bit() 550 if (val == oval) in snd_cmipci_clear_bit() 559 unsigned char val, oval; in snd_cmipci_set_bit_b() local 560 val = oval = inb(cm->iobase + cmd); in snd_cmipci_set_bit_b() 562 if (val == oval) in snd_cmipci_set_bit_b() 570 unsigned char val, oval; in snd_cmipci_clear_bit_b() local [all …]
|
D | sonicvibes.c | 985 unsigned short val, oval; in snd_sonicvibes_put_single() local 992 oval = snd_sonicvibes_in1(sonic, reg); in snd_sonicvibes_put_single() 993 val = (oval & ~(mask << shift)) | val; in snd_sonicvibes_put_single() 994 change = val != oval; in snd_sonicvibes_put_single()
|
/sound/isa/ |
D | es18xx.c | 234 unsigned char old, new, oval; in snd_es18xx_bits() local 248 oval = old & mask; in snd_es18xx_bits() 249 if (val != oval) { in snd_es18xx_bits() 262 ret = oval; in snd_es18xx_bits() 299 unsigned char old, new, oval; in snd_es18xx_mixer_bits() local 304 oval = old & mask; in snd_es18xx_mixer_bits() 305 if (val != oval) { in snd_es18xx_mixer_bits() 314 return oval; in snd_es18xx_mixer_bits() 1045 unsigned char oval, nval; in snd_es18xx_put_spatializer_enable() local 1048 oval = snd_es18xx_mixer_read(chip, 0x50) & 0x0c; in snd_es18xx_put_spatializer_enable() [all …]
|
D | opl3sa2.c | 366 unsigned short val, oval; in snd_opl3sa2_put_single() local 373 oval = chip->ctlregs[reg]; in snd_opl3sa2_put_single() 374 val = (oval & ~(mask << shift)) | val; in snd_opl3sa2_put_single() 375 change = val != oval; in snd_opl3sa2_put_single()
|
/sound/pci/ymfpci/ |
D | ymfpci_main.c | 1475 unsigned int val, oval; in snd_ymfpci_put_single() local 1485 oval = snd_ymfpci_readl(chip, reg); in snd_ymfpci_put_single() 1486 val = (oval & ~(mask << shift)) | val; in snd_ymfpci_put_single() 1487 change = val != oval; in snd_ymfpci_put_single() 1539 unsigned int val1, val2, oval; in snd_ymfpci_put_double() local 1548 oval = snd_ymfpci_readl(chip, reg); in snd_ymfpci_put_double() 1549 val1 = (oval & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ymfpci_put_double() 1550 change = val1 != oval; in snd_ymfpci_put_double() 1563 unsigned int value, oval; in snd_ymfpci_put_nativedacvol() local 1568 oval = snd_ymfpci_readl(chip, reg); in snd_ymfpci_put_nativedacvol() [all …]
|
/sound/pci/ca0106/ |
D | ca0106_mixer.c | 431 unsigned int oval, nval; in snd_ca0106_volume_put() local 437 oval = snd_ca0106_ptr_read(emu, reg, channel_id); in snd_ca0106_volume_put() 442 if (oval == nval) in snd_ca0106_volume_put()
|
/sound/pci/emu10k1/ |
D | p16v.c | 705 u32 value, oval; in snd_p16v_volume_put() local 707 oval = value = snd_emu10k1_ptr20_read(emu, reg, 0); in snd_p16v_volume_put() 717 if (value != oval) { in snd_p16v_volume_put()
|
/sound/pci/ctxfi/ |
D | ctmixer.c | 370 int i, j, val, oval, change = 0; in ct_alsa_mix_volume_put() local 380 oval = amixer->ops->get_scale(amixer); in ct_alsa_mix_volume_put() 381 if (val != oval) { in ct_alsa_mix_volume_put()
|