Home
last modified time | relevance | path

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

1234

/sound/pci/ice1712/
Dwtm.c82 int id, idx, change; in stac9460_dac_mute_all() local
93 change = (new != old); in stac9460_dac_mute_all()
94 if (change) { in stac9460_dac_mute_all()
112 change = (new != old); in stac9460_dac_mute_all()
113 if (change) { in stac9460_dac_mute_all()
160 int change; in stac9460_dac_mute_put() local
167 change = (new != old); in stac9460_dac_mute_put()
168 if (change) { in stac9460_dac_mute_put()
181 change = (new != old); in stac9460_dac_mute_put()
182 if (change) { in stac9460_dac_mute_put()
[all …]
Dprodigy192.c96 int change; in stac9460_dac_mute() local
99 change = (new != old); in stac9460_dac_mute()
100 if (change) in stac9460_dac_mute()
103 return change; in stac9460_dac_mute()
127 int idx, change; in stac9460_dac_mute_put() local
139 change = stac9460_dac_mute(ice, idx, ucontrol->value.integer.value[0]); in stac9460_dac_mute_put()
141 return change; in stac9460_dac_mute_put()
177 int change; in stac9460_dac_vol_put() local
186 change = (ovol != nvol); in stac9460_dac_vol_put()
187 if (change) { in stac9460_dac_vol_put()
[all …]
Daureon.c226 int change; in aureon_universe_inmux_put() local
233 change = (oval != nval); in aureon_universe_inmux_put()
234 if (change) { in aureon_universe_inmux_put()
239 return change; in aureon_universe_inmux_put()
390 int change; in aureon_ac97_vol_put() local
400 change = (ovol != nvol); in aureon_ac97_vol_put()
401 if (change) in aureon_ac97_vol_put()
406 return change; in aureon_ac97_vol_put()
431 int change; in aureon_ac97_mute_put() local
438 change = (ovol != nvol); in aureon_ac97_mute_put()
[all …]
Dprodigy_hifi.c283 int change = 0; in ak4396_dac_vol_put() local
291 change = 1; in ak4396_dac_vol_put()
295 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 …]
Dphase.c316 int change; in wm_pcm_mute_put() local
321 change = (nval != oval); in wm_pcm_mute_put()
322 if (change) in wm_pcm_mute_put()
326 return change; in wm_pcm_mute_put()
359 int ch, change = 0; in wm_master_vol_put() local
374 change = 1; in wm_master_vol_put()
378 return change; in wm_master_vol_put()
510 int change = 0; in wm_vol_put() local
526 change = 1; in wm_vol_put()
530 return change; in wm_vol_put()
[all …]
Dpontis.c143 int i, idx, change = 0; in wm_dac_vol_put() local
154 change = 1; in wm_dac_vol_put()
158 return change; in wm_dac_vol_put()
198 int i, idx, change = 0; in wm_adc_vol_put() local
208 change = 1; in wm_adc_vol_put()
212 return change; in wm_adc_vol_put()
236 int change; in wm_adc_mux_put() local
244 change = nval != oval; in wm_adc_mux_put()
245 if (change) { in wm_adc_mux_put()
249 return change; in wm_adc_mux_put()
[all …]
Dews.c274 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 …]
Ddelta.c219 int change; in delta_spdif_default_put() local
223 change = ice->spdif.cs8403_bits != val; in delta_spdif_default_put()
225 if (change && ice->playback_pro_substream == NULL) { in delta_spdif_default_put()
231 return change; in delta_spdif_default_put()
242 int change; in delta_spdif_stream_put() local
246 change = ice->spdif.cs8403_stream_bits != val; in delta_spdif_stream_put()
248 if (change && ice->playback_pro_substream != NULL) { in delta_spdif_stream_put()
254 return change; in delta_spdif_stream_put()
398 int change; in delta_setup_spdif() local
410 change = ice->spdif.cs8403_stream_bits != tmp; in delta_setup_spdif()
[all …]
/sound/soc/
Dsoc-io.c66 unsigned int mask, unsigned int val, bool *change) in snd_soc_component_update_bits_legacy() argument
81 *change = old != new; in snd_soc_component_update_bits_legacy()
82 if (*change) in snd_soc_component_update_bits_legacy()
104 bool change; in snd_soc_component_update_bits() local
109 val, &change); in snd_soc_component_update_bits()
112 mask, val, &change); in snd_soc_component_update_bits()
116 return change; in snd_soc_component_update_bits()
140 bool change; in snd_soc_component_update_bits_async() local
145 mask, val, &change); in snd_soc_component_update_bits_async()
148 mask, val, &change); in snd_soc_component_update_bits_async()
[all …]
/sound/ppc/
Ddaca.c111 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 …]
Dtumbler.c283 int change; in tumbler_put_master_volume() local
290 change = mix->master_vol[0] != vol[0] || in tumbler_put_master_volume()
292 if (change) { in tumbler_put_master_volume()
297 return change; in tumbler_put_master_volume()
317 int change; in tumbler_put_master_switch() local
319 change = mix->master_switch[0] != ucontrol->value.integer.value[0] || in tumbler_put_master_switch()
321 if (change) { in tumbler_put_master_switch()
326 return change; in tumbler_put_master_switch()
431 int change; in tumbler_put_drc_value() local
443 change = mix->drc_range != val; in tumbler_put_drc_value()
[all …]
/sound/i2c/
Dtea6330t.c112 int change, count, err; in snd_tea6330t_put_master_volume() local
119 change = val1 != tea->mleft || val2 != tea->mright; in snd_tea6330t_put_master_volume()
134 change = err; in snd_tea6330t_put_master_volume()
137 return change; in snd_tea6330t_put_master_volume()
163 int change, err; in snd_tea6330t_put_master_switch() local
172 change = val1 != oval1 || val2 != oval2; in snd_tea6330t_put_master_switch()
179 change = err; in snd_tea6330t_put_master_switch()
181 return change; in snd_tea6330t_put_master_switch()
214 int change, err; in snd_tea6330t_put_bass() local
222 change = tea->regs[TEA6330T_SADDR_BASS] != val1; in snd_tea6330t_put_bass()
[all …]
/sound/pci/emu10k1/
Demumixer.c711 int change = 0; in snd_emu1010_internal_clock_put() local
717 change = (emu->emu1010.internal_clock != val); in snd_emu1010_internal_clock_put()
718 if (change) { in snd_emu1010_internal_clock_put()
795 return change; in snd_emu1010_internal_clock_put()
834 int change = 0; in snd_emu1010_optical_out_put() local
840 change = (emu->emu1010.optical_out != val); in snd_emu1010_optical_out_put()
841 if (change) { in snd_emu1010_optical_out_put()
847 return change; in snd_emu1010_optical_out_put()
885 int change = 0; in snd_emu1010_optical_in_put() local
891 change = (emu->emu1010.optical_in != val); in snd_emu1010_optical_in_put()
[all …]
/sound/isa/sb/
Dsb_mixer.c94 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 …]
Demu8000.c854 int change; in mixer_bass_treble_put() local
860 change = val1 != emu->treble_level; in mixer_bass_treble_put()
863 change = val1 != emu->bass_level; in mixer_bass_treble_put()
868 return change; in mixer_bass_treble_put()
915 int change; in mixer_chorus_reverb_put() local
921 change = val1 != emu->chorus_mode; in mixer_chorus_reverb_put()
925 change = val1 != emu->reverb_mode; in mixer_chorus_reverb_put()
929 if (change) { in mixer_chorus_reverb_put()
935 return change; in mixer_chorus_reverb_put()
982 int change; in mixer_fm_depth_put() local
[all …]
/sound/soc/intel/common/
Dsst-dsp.c165 bool change; in sst_dsp_shim_update_bits_unlocked() local
174 change = (old != new); in sst_dsp_shim_update_bits_unlocked()
175 if (change) in sst_dsp_shim_update_bits_unlocked()
178 return change; in sst_dsp_shim_update_bits_unlocked()
185 bool change; in sst_dsp_shim_update_bits64_unlocked() local
192 change = (old != new); in sst_dsp_shim_update_bits64_unlocked()
193 if (change) in sst_dsp_shim_update_bits64_unlocked()
196 return change; in sst_dsp_shim_update_bits64_unlocked()
220 bool change; in sst_dsp_shim_update_bits() local
223 change = sst_dsp_shim_update_bits_unlocked(sst, offset, mask, value); in sst_dsp_shim_update_bits()
[all …]
/sound/pci/ca0106/
Dca0106_mixer.c174 int change = 0; in snd_ca0106_shared_spdif_put() local
177 change = (emu->spdif_enable != val); in snd_ca0106_shared_spdif_put()
178 if (change) { in snd_ca0106_shared_spdif_put()
182 return change; in snd_ca0106_shared_spdif_put()
209 int change = 0; in snd_ca0106_capture_source_put() local
214 change = (emu->capture_source != val); in snd_ca0106_capture_source_put()
215 if (change) { in snd_ca0106_capture_source_put()
219 return change; in snd_ca0106_capture_source_put()
246 int change = 0; in snd_ca0106_i2c_capture_source_put() local
254 change = (emu->i2c_capture_source != source_id); in snd_ca0106_i2c_capture_source_put()
[all …]
/sound/isa/msnd/
Dmsnd_pinnacle_mixer.c88 int change; in snd_msndmix_set_mux() local
107 change = newrecsrc != chip->recsrc; in snd_msndmix_set_mux()
108 if (change) { in snd_msndmix_set_mux()
109 change = 0; in snd_msndmix_set_mux()
113 change = 1; in snd_msndmix_set_mux()
116 return change; in snd_msndmix_set_mux()
259 int change, addr = kcontrol->private_value; in snd_msndmix_volume_put() local
266 change = msnd->left_levels[addr] != left in snd_msndmix_volume_put()
270 return change; in snd_msndmix_volume_put()
/sound/isa/cs423x/
Dcs4236_lib.c444 int change; in snd_cs4236_put_single() local
453 change = val != chip->eimage[CS4236_REG(reg)]; in snd_cs4236_put_single()
456 return change; in snd_cs4236_put_single()
490 int change; in snd_cs4236_put_singlec() local
499 change = val != chip->cimage[reg]; in snd_cs4236_put_singlec()
502 return change; in snd_cs4236_put_singlec()
564 int change; in snd_cs4236_put_double() local
579change = val1 != chip->eimage[CS4236_REG(left_reg)] || val2 != chip->eimage[CS4236_REG(right_reg)]; in snd_cs4236_put_double()
584 change = val1 != chip->eimage[CS4236_REG(left_reg)]; in snd_cs4236_put_double()
588 return change; in snd_cs4236_put_double()
[all …]
/sound/isa/gus/
Dgus_mixer.c58 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()
135 return change; in snd_ics_put_double()
/sound/pci/rme9652/
Drme9652.c829 int change; in snd_rme9652_control_spdif_put() local
834 change = val != rme9652->creg_spdif; in snd_rme9652_control_spdif_put()
837 return change; in snd_rme9652_control_spdif_put()
858 int change; in snd_rme9652_control_spdif_stream_put() local
863 change = val != rme9652->creg_spdif_stream; in snd_rme9652_control_spdif_stream_put()
868 return change; in snd_rme9652_control_spdif_stream_put()
942 int change; in snd_rme9652_put_adat1_in() local
949 change = val != rme9652_adat1_in(rme9652); in snd_rme9652_put_adat1_in()
950 if (change) in snd_rme9652_put_adat1_in()
953 return change; in snd_rme9652_put_adat1_in()
[all …]
Dhdsp.c1598 int change; in snd_hdsp_control_spdif_put() local
1603 change = val != hdsp->creg_spdif; in snd_hdsp_control_spdif_put()
1606 return change; in snd_hdsp_control_spdif_put()
1627 int change; in snd_hdsp_control_spdif_stream_put() local
1632 change = val != hdsp->creg_spdif_stream; in snd_hdsp_control_spdif_stream_put()
1637 return change; in snd_hdsp_control_spdif_stream_put()
1696 int change; in snd_hdsp_put_spdif_in() local
1703 change = val != hdsp_spdif_in(hdsp); in snd_hdsp_put_spdif_in()
1704 if (change) in snd_hdsp_put_spdif_in()
1707 return change; in snd_hdsp_put_spdif_in()
[all …]
/sound/pci/
Dak4531_codec.c112 int change; in snd_ak4531_put_single() local
122 change = val != ak4531->regs[reg]; in snd_ak4531_put_single()
125 return change; in snd_ak4531_put_single()
186 int change; in snd_ak4531_put_double() local
200 change = left != ak4531->regs[left_reg]; in snd_ak4531_put_double()
205 change = left != ak4531->regs[left_reg] || right != ak4531->regs[right_reg]; in snd_ak4531_put_double()
210 return change; in snd_ak4531_put_double()
252 int change; in snd_ak4531_put_input_sw() local
262 change = val1 != ak4531->regs[reg1] || val2 != ak4531->regs[reg2]; in snd_ak4531_put_input_sw()
266 return change; in snd_ak4531_put_input_sw()
/sound/pci/oxygen/
Doxygen_mixer.c563 int change; in ac97_switch_put() local
572 change = newreg != oldreg; in ac97_switch_put()
573 if (change) { in ac97_switch_put()
595 return change; in ac97_switch_put()
639 int change; in ac97_volume_put() local
651 change = newreg != oldreg; in ac97_volume_put()
652 if (change) in ac97_volume_put()
655 return change; in ac97_volume_put()
683 int change; in mic_fmic_source_put() local
691 change = newreg != oldreg; in mic_fmic_source_put()
[all …]
/sound/i2c/other/
Dak4xxx-adda.c454 int change; in snd_akm4xxx_stereo_volume_put() local
460 change = put_ak_reg(kcontrol, addr, val[0]); in snd_akm4xxx_stereo_volume_put()
461 change |= put_ak_reg(kcontrol, addr + 1, val[1]); in snd_akm4xxx_stereo_volume_put()
462 return change; in snd_akm4xxx_stereo_volume_put()
494 int change; in snd_akm4xxx_deemphasis_put() local
498 change = snd_akm4xxx_get(ak, chip, addr) != nval; in snd_akm4xxx_deemphasis_put()
499 if (change) in snd_akm4xxx_deemphasis_put()
501 return change; in snd_akm4xxx_deemphasis_put()
532 int change; in ak4xxx_switch_put() local
541 change = (oval != val); in ak4xxx_switch_put()
[all …]

1234