/sound/pci/ice1712/ |
D | wtm.c | 103 int change; in stac9460_dac_mute_put() local 110 change = (new != old); in stac9460_dac_mute_put() 111 if (change) { in stac9460_dac_mute_put() 124 change = (new != old); in stac9460_dac_mute_put() 125 if (change) { in stac9460_dac_mute_put() 132 return change; in stac9460_dac_mute_put() 176 int change; in stac9460_dac_vol_put() local 183 change = (ovol != nvol); in stac9460_dac_vol_put() 184 if (change) { in stac9460_dac_vol_put() 197 change = (ovol != nvol); in stac9460_dac_vol_put() [all …]
|
D | prodigy192.c | 97 int change; in stac9460_dac_mute() local 100 change = (new != old); in stac9460_dac_mute() 101 if (change) in stac9460_dac_mute() 104 return change; in stac9460_dac_mute() 128 int idx, change; in stac9460_dac_mute_put() local 138 change = stac9460_dac_mute(ice, idx, ucontrol->value.integer.value[0]); in stac9460_dac_mute_put() 140 return change; in stac9460_dac_mute_put() 176 int change; in stac9460_dac_vol_put() local 185 change = (ovol != nvol); in stac9460_dac_vol_put() 186 if (change) { in stac9460_dac_vol_put() [all …]
|
D | aureon.c | 232 int change; in aureon_universe_inmux_put() local 239 change = (oval != nval); in aureon_universe_inmux_put() 240 if (change) { in aureon_universe_inmux_put() 245 return change; in aureon_universe_inmux_put() 396 int change; in aureon_ac97_vol_put() local 406 change = (ovol != nvol); in aureon_ac97_vol_put() 407 if (change) in aureon_ac97_vol_put() 412 return change; in aureon_ac97_vol_put() 437 int change; in aureon_ac97_mute_put() local 444 change = (ovol != nvol); in aureon_ac97_mute_put() [all …]
|
D | prodigy_hifi.c | 284 int change = 0; in ak4396_dac_vol_put() local 292 change = 1; in ak4396_dac_vol_put() 296 return change; in ak4396_dac_vol_put() 410 int i, idx, change = 0; in wm_dac_vol_put() local 419 change = 1; in wm_dac_vol_put() 423 return change; in wm_dac_vol_put() 460 int change = 0; in wm8766_vol_put() local 472 change = 1; in wm8766_vol_put() 476 return change; in wm8766_vol_put() 508 int ch, change = 0; in wm_master_vol_put() local [all …]
|
D | pontis.c | 144 int i, idx, change = 0; in wm_dac_vol_put() local 155 change = 1; in wm_dac_vol_put() 159 return change; in wm_dac_vol_put() 199 int i, idx, change = 0; in wm_adc_vol_put() local 209 change = 1; in wm_adc_vol_put() 213 return change; in wm_adc_vol_put() 237 int change; in wm_adc_mux_put() local 245 change = nval != oval; in wm_adc_mux_put() 246 if (change) { in wm_adc_mux_put() 250 return change; in wm_adc_mux_put() [all …]
|
D | phase.c | 317 int change; in wm_pcm_mute_put() local 322 change = (nval != oval); in wm_pcm_mute_put() 323 if (change) in wm_pcm_mute_put() 327 return change; in wm_pcm_mute_put() 360 int ch, change = 0; in wm_master_vol_put() local 375 change = 1; in wm_master_vol_put() 379 return change; in wm_master_vol_put() 511 int change = 0; in wm_vol_put() local 527 change = 1; in wm_vol_put() 531 return change; in wm_vol_put() [all …]
|
D | ews.c | 274 int change; in ews88_spdif_default_put() local 278 change = ice->spdif.cs8403_bits != val; in ews88_spdif_default_put() 280 if (change && ice->playback_pro_substream == NULL) { in ews88_spdif_default_put() 286 return change; in ews88_spdif_default_put() 297 int change; in ews88_spdif_stream_put() local 301 change = ice->spdif.cs8403_stream_bits != val; in ews88_spdif_stream_put() 303 if (change && ice->playback_pro_substream != NULL) { in ews88_spdif_stream_put() 309 return change; in ews88_spdif_stream_put() 324 int change; in ews88_setup_spdif() local 336 change = ice->spdif.cs8403_stream_bits != tmp; in ews88_setup_spdif() [all …]
|
D | delta.c | 212 int change; in delta_spdif_default_put() local 216 change = ice->spdif.cs8403_bits != val; in delta_spdif_default_put() 218 if (change && ice->playback_pro_substream == NULL) { in delta_spdif_default_put() 224 return change; in delta_spdif_default_put() 235 int change; in delta_spdif_stream_put() local 239 change = ice->spdif.cs8403_stream_bits != val; in delta_spdif_stream_put() 241 if (change && ice->playback_pro_substream != NULL) { in delta_spdif_stream_put() 247 return change; in delta_spdif_stream_put() 377 int change; in delta_setup_spdif() local 389 change = ice->spdif.cs8403_stream_bits != tmp; in delta_setup_spdif() [all …]
|
/sound/ppc/ |
D | daca.c | 111 int change; in daca_put_deemphasis() local 115 change = mix->deemphasis != ucontrol->value.integer.value[0]; in daca_put_deemphasis() 116 if (change) { in daca_put_deemphasis() 120 return change; in daca_put_deemphasis() 152 int change; in daca_put_volume() local 160 change = mix->left_vol != vol[0] || in daca_put_volume() 162 if (change) { in daca_put_volume() 167 return change; in daca_put_volume() 189 int change; in daca_put_amp() local 193 change = mix->amp_on != ucontrol->value.integer.value[0]; in daca_put_amp() [all …]
|
D | tumbler.c | 278 int change; in tumbler_put_master_volume() local 285 change = mix->master_vol[0] != vol[0] || in tumbler_put_master_volume() 287 if (change) { in tumbler_put_master_volume() 292 return change; in tumbler_put_master_volume() 312 int change; in tumbler_put_master_switch() local 314 change = mix->master_switch[0] != ucontrol->value.integer.value[0] || in tumbler_put_master_switch() 316 if (change) { in tumbler_put_master_switch() 321 return change; in tumbler_put_master_switch() 424 int change; in tumbler_put_drc_value() local 436 change = mix->drc_range != val; in tumbler_put_drc_value() [all …]
|
/sound/i2c/ |
D | tea6330t.c | 111 int change, count, err; in snd_tea6330t_put_master_volume() local 118 change = val1 != tea->mleft || val2 != tea->mright; in snd_tea6330t_put_master_volume() 133 change = err; in snd_tea6330t_put_master_volume() 136 return change; in snd_tea6330t_put_master_volume() 162 int change, err; in snd_tea6330t_put_master_switch() local 171 change = val1 != oval1 || val2 != oval2; in snd_tea6330t_put_master_switch() 178 change = err; in snd_tea6330t_put_master_switch() 180 return change; in snd_tea6330t_put_master_switch() 213 int change, err; in snd_tea6330t_put_bass() local 221 change = tea->regs[TEA6330T_SADDR_BASS] != val1; in snd_tea6330t_put_bass() [all …]
|
/sound/pci/emu10k1/ |
D | emumixer.c | 731 int change = 0; in snd_emu1010_internal_clock_put() local 737 change = (emu->emu1010.internal_clock != val); in snd_emu1010_internal_clock_put() 738 if (change) { in snd_emu1010_internal_clock_put() 815 return change; in snd_emu1010_internal_clock_put() 866 int change = 0; in snd_audigy_i2c_capture_source_put() local 878 change = (emu->i2c_capture_source != source_id); in snd_audigy_i2c_capture_source_put() 879 if (change) { in snd_audigy_i2c_capture_source_put() 902 return change; in snd_audigy_i2c_capture_source_put() 948 int change = 0; in snd_audigy_i2c_volume_put() local 963 change = 1; in snd_audigy_i2c_volume_put() [all …]
|
/sound/pci/ca0106/ |
D | ca0106_mixer.c | 175 int change = 0; in snd_ca0106_shared_spdif_put() local 178 change = (emu->spdif_enable != val); in snd_ca0106_shared_spdif_put() 179 if (change) { in snd_ca0106_shared_spdif_put() 183 return change; in snd_ca0106_shared_spdif_put() 216 int change = 0; in snd_ca0106_capture_source_put() local 221 change = (emu->capture_source != val); in snd_ca0106_capture_source_put() 222 if (change) { in snd_ca0106_capture_source_put() 226 return change; in snd_ca0106_capture_source_put() 259 int change = 0; in snd_ca0106_i2c_capture_source_put() local 267 change = (emu->i2c_capture_source != source_id); in snd_ca0106_i2c_capture_source_put() [all …]
|
/sound/isa/sb/ |
D | sb_mixer.c | 94 int change; in snd_sbmixer_put_single() local 101 change = val != oval; in snd_sbmixer_put_single() 102 if (change) in snd_sbmixer_put_single() 105 return change; in snd_sbmixer_put_single() 152 int change; in snd_sbmixer_put_double() local 161 change = left != oleft; in snd_sbmixer_put_double() 162 if (change) in snd_sbmixer_put_double() 169 change = left != oleft || right != oright; in snd_sbmixer_put_double() 170 if (change) { in snd_sbmixer_put_double() 176 return change; in snd_sbmixer_put_double() [all …]
|
D | emu8000.c | 842 int change; in mixer_bass_treble_put() local 848 change = val1 != emu->treble_level; in mixer_bass_treble_put() 851 change = val1 != emu->bass_level; in mixer_bass_treble_put() 856 return change; in mixer_bass_treble_put() 903 int change; in mixer_chorus_reverb_put() local 909 change = val1 != emu->chorus_mode; in mixer_chorus_reverb_put() 913 change = val1 != emu->reverb_mode; in mixer_chorus_reverb_put() 917 if (change) { in mixer_chorus_reverb_put() 923 return change; in mixer_chorus_reverb_put() 970 int change; in mixer_fm_depth_put() local [all …]
|
/sound/isa/cs423x/ |
D | cs4236_lib.c | 425 int change; in snd_cs4236_put_single() local 434 change = val != chip->eimage[CS4236_REG(reg)]; in snd_cs4236_put_single() 437 return change; in snd_cs4236_put_single() 471 int change; in snd_cs4236_put_singlec() local 480 change = val != chip->cimage[reg]; in snd_cs4236_put_singlec() 483 return change; in snd_cs4236_put_singlec() 535 int change; in snd_cs4236_put_double() local 550 …change = val1 != chip->eimage[CS4236_REG(left_reg)] || val2 != chip->eimage[CS4236_REG(right_reg)]; in snd_cs4236_put_double() 555 change = val1 != chip->eimage[CS4236_REG(left_reg)]; in snd_cs4236_put_double() 559 return change; in snd_cs4236_put_double() [all …]
|
/sound/isa/gus/ |
D | gus_mixer.c | 58 int change; in snd_gf1_put_single() local 68 change = nval != oval; in snd_gf1_put_single() 72 return change; in snd_gf1_put_single() 111 int change; in snd_ics_put_double() local 119 change = val1 != oval1 || val2 != oval2; in snd_ics_put_double() 138 return change; in snd_ics_put_double()
|
/sound/pci/rme9652/ |
D | hdsp.c | 1512 int change; in snd_hdsp_control_spdif_put() local 1517 change = val != hdsp->creg_spdif; in snd_hdsp_control_spdif_put() 1520 return change; in snd_hdsp_control_spdif_put() 1541 int change; in snd_hdsp_control_spdif_stream_put() local 1546 change = val != hdsp->creg_spdif_stream; in snd_hdsp_control_spdif_stream_put() 1551 return change; in snd_hdsp_control_spdif_stream_put() 1613 int change; in snd_hdsp_put_spdif_in() local 1620 change = val != hdsp_spdif_in(hdsp); in snd_hdsp_put_spdif_in() 1621 if (change) in snd_hdsp_put_spdif_in() 1624 return change; in snd_hdsp_put_spdif_in() [all …]
|
D | rme9652.c | 830 int change; in snd_rme9652_control_spdif_put() local 835 change = val != rme9652->creg_spdif; in snd_rme9652_control_spdif_put() 838 return change; in snd_rme9652_control_spdif_put() 859 int change; in snd_rme9652_control_spdif_stream_put() local 864 change = val != rme9652->creg_spdif_stream; in snd_rme9652_control_spdif_stream_put() 869 return change; in snd_rme9652_control_spdif_stream_put() 949 int change; in snd_rme9652_put_adat1_in() local 956 change = val != rme9652_adat1_in(rme9652); in snd_rme9652_put_adat1_in() 957 if (change) in snd_rme9652_put_adat1_in() 960 return change; in snd_rme9652_put_adat1_in() [all …]
|
D | hdspm.c | 1599 int change; in snd_hdspm_put_clock_source() local 1611 change = (hdspm_set_clock_source(hdspm, val) == 0) ? 1 : 0; in snd_hdspm_put_clock_source() 1613 change = 0; in snd_hdspm_put_clock_source() 1615 return change; in snd_hdspm_put_clock_source() 1762 int change, max; in snd_hdspm_put_pref_sync_ref() local 1773 change = (int) val != hdspm_pref_sync_ref(hdspm); in snd_hdspm_put_pref_sync_ref() 1776 return change; in snd_hdspm_put_pref_sync_ref() 1904 int change; in snd_hdspm_put_line_out() local 1911 change = (int) val != hdspm_line_out(hdspm); in snd_hdspm_put_line_out() 1914 return change; in snd_hdspm_put_line_out() [all …]
|
/sound/pci/ |
D | ak4531_codec.c | 114 int change; in snd_ak4531_put_single() local 124 change = val != ak4531->regs[reg]; in snd_ak4531_put_single() 127 return change; in snd_ak4531_put_single() 188 int change; in snd_ak4531_put_double() local 202 change = left != ak4531->regs[left_reg]; in snd_ak4531_put_double() 207 change = left != ak4531->regs[left_reg] || right != ak4531->regs[right_reg]; in snd_ak4531_put_double() 212 return change; in snd_ak4531_put_double() 254 int change; in snd_ak4531_put_input_sw() local 264 change = val1 != ak4531->regs[reg1] || val2 != ak4531->regs[reg2]; in snd_ak4531_put_input_sw() 268 return change; in snd_ak4531_put_input_sw()
|
D | rme96.c | 1824 int change; in snd_rme96_put_loopback_control() local 1829 change = val != rme96->wcreg; in snd_rme96_put_loopback_control() 1833 return change; in snd_rme96_put_loopback_control() 1917 int change, items = 3; in snd_rme96_put_inputtype_control() local 1948 change = (int)val != snd_rme96_getinputtype(rme96); in snd_rme96_put_inputtype_control() 1951 return change; in snd_rme96_put_inputtype_control() 1983 int change; in snd_rme96_put_clockmode_control() local 1987 change = (int)val != snd_rme96_getclockmode(rme96); in snd_rme96_put_clockmode_control() 1990 return change; in snd_rme96_put_clockmode_control() 2022 int change; in snd_rme96_put_attenuation_control() local [all …]
|
/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 70 static void amp_voyetra(struct snd_cs46xx *chip, int change); 1764 int change = (old != val); in snd_cs46xx_vol_put() local 1766 if (change) { in snd_cs46xx_vol_put() 1770 return change; in snd_cs46xx_vol_put() 1788 int change = 0; in snd_cs46xx_vol_dac_put() local 1795 change = 1; in snd_cs46xx_vol_dac_put() 1798 return change; in snd_cs46xx_vol_dac_put() 1814 int change = 0; 1821 change = 1; 1824 return change; [all …]
|
/sound/i2c/other/ |
D | ak4xxx-adda.c | 421 int change; in snd_akm4xxx_stereo_volume_put() local 427 change = put_ak_reg(kcontrol, addr, val[0]); in snd_akm4xxx_stereo_volume_put() 428 change |= put_ak_reg(kcontrol, addr + 1, val[1]); in snd_akm4xxx_stereo_volume_put() 429 return change; in snd_akm4xxx_stereo_volume_put() 468 int change; in snd_akm4xxx_deemphasis_put() local 472 change = snd_akm4xxx_get(ak, chip, addr) != nval; in snd_akm4xxx_deemphasis_put() 473 if (change) in snd_akm4xxx_deemphasis_put() 475 return change; in snd_akm4xxx_deemphasis_put() 506 int change; in ak4xxx_switch_put() local 515 change = (oval != val); in ak4xxx_switch_put() [all …]
|
/sound/isa/es1688/ |
D | es1688_lib.c | 783 int change; in snd_es1688_put_mux() local 790 change = nval != oval; in snd_es1688_put_mux() 791 if (change) in snd_es1688_put_mux() 794 return change; in snd_es1688_put_mux() 839 int change; in snd_es1688_put_single() local 849 change = nval != oval; in snd_es1688_put_single() 850 if (change) in snd_es1688_put_single() 853 return change; in snd_es1688_put_single() 917 int change; in snd_es1688_put_double() local 940 change = val1 != oval1 || val2 != oval2; in snd_es1688_put_double() [all …]
|