Home
last modified time | relevance | path

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

123

/sound/pci/oxygen/
Dxonar_dg_mixer.c87 int changed = 0; in output_select_put() local
94 changed = ret >= 0 ? 1 : ret; in output_select_put()
99 return changed; in output_select_put()
136 int changed = 0; in hp_stereo_volume_put() local
151 changed = ret >= 0 ? 1 : ret; in hp_stereo_volume_put()
155 return changed; in hp_stereo_volume_put()
179 int changed; in hp_mute_put() local
188 changed = ret >= 0 ? 1 : ret; in hp_mute_put()
190 return changed; in hp_mute_put()
238 int changed = 0; in input_vol_put() local
[all …]
Doxygen_mixer.c58 int changed; in dac_volume_put() local
60 changed = 0; in dac_volume_put()
65 changed = 1; in dac_volume_put()
67 if (changed) in dac_volume_put()
70 return changed; in dac_volume_put()
88 int changed; in dac_mute_put() local
91 changed = (!value->value.integer.value[0]) != chip->dac_mute; in dac_mute_put()
92 if (changed) { in dac_mute_put()
97 return changed; in dac_mute_put()
199 int changed; in upmix_put() local
[all …]
Doxygen.c465 int changed; in rolloff_put() local
474 changed = reg != data->ak4396_regs[0][AK4396_CONTROL_2]; in rolloff_put()
475 if (changed) { in rolloff_put()
480 return changed; in rolloff_put()
515 int changed; in hpf_put() local
521 changed = reg != data->wm8785_regs[WM8785_R2]; in hpf_put()
522 if (changed) in hpf_put()
525 return changed; in hpf_put()
579 int changed; in meridian_dig_source_put() local
588 changed = new_reg != old_reg; in meridian_dig_source_put()
[all …]
Dxonar_lib.c121 int changed; in xonar_gpio_bit_switch_put() local
129 changed = new_bits != old_bits; in xonar_gpio_bit_switch_put()
130 if (changed) in xonar_gpio_bit_switch_put()
133 return changed; in xonar_gpio_bit_switch_put()
Dxonar_wm87x6.c531 int changed; in wm8776_bit_switch_put() local
537 changed = reg_value != data->wm8776_regs[reg_index]; in wm8776_bit_switch_put()
538 if (changed) in wm8776_bit_switch_put()
541 return changed; in wm8776_bit_switch_put()
654 int changed; in wm8776_field_set() local
661 changed = value != (ctl->private_value & 0xf); in wm8776_field_set()
662 if (changed) { in wm8776_field_set()
667 return changed; in wm8776_field_set()
780 int changed; in wm8776_input_mux_put() local
799 changed = reg != data->wm8776_regs[WM8776_ADCMUX]; in wm8776_input_mux_put()
[all …]
Dxonar_cs43xx.c320 int changed; in rolloff_put() local
329 changed = reg != data->cs4398_regs[7]; in rolloff_put()
330 if (changed) { in rolloff_put()
339 return changed; in rolloff_put()
Dxonar_pcm179x.c753 int changed; in rolloff_put() local
763 changed = reg != data->pcm1796_regs[0][19 - PCM1796_REG_BASE]; in rolloff_put()
764 if (changed) { in rolloff_put()
769 return changed; in rolloff_put()
881 int changed; in st_hp_volume_offset_put() local
887 changed = offset != data->hp_gain_offset; in st_hp_volume_offset_put()
888 if (changed) { in st_hp_volume_offset_put()
893 return changed; in st_hp_volume_offset_put()
/sound/drivers/pcsp/
Dpcsp_mixer.c36 int changed = 0; in pcsp_enable_put() local
40 changed = 1; in pcsp_enable_put()
42 return changed; in pcsp_enable_put()
71 int changed = 0; in pcsp_treble_put() local
78 changed = 1; in pcsp_treble_put()
80 return changed; in pcsp_treble_put()
105 int changed = 0; in pcsp_pcspkr_put() local
109 changed = 1; in pcsp_pcspkr_put()
111 return changed; in pcsp_pcspkr_put()
/sound/pci/mixart/
Dmixart_mixer.c375 int changed = 0; in mixart_analog_vol_put() local
396 changed = 1; in mixart_analog_vol_put()
399 if (changed) in mixart_analog_vol_put()
402 return changed; in mixart_analog_vol_put()
435 int i, changed = 0; in mixart_audio_sw_put() local
442 changed = 1; in mixart_audio_sw_put()
445 if (changed) /* update playback levels */ in mixart_audio_sw_put()
448 return changed; in mixart_audio_sw_put()
860 int changed = 0; in mixart_pcm_vol_put() local
885 changed = 1; in mixart_pcm_vol_put()
[all …]
/sound/usb/6fire/
Dcontrol.c194 int changed = 0; in usb6fire_control_output_vol_put() local
205 changed = 1; in usb6fire_control_output_vol_put()
210 changed = 1; in usb6fire_control_output_vol_put()
213 if (changed) in usb6fire_control_output_vol_put()
216 return changed; in usb6fire_control_output_vol_put()
297 int changed = 0; in usb6fire_control_input_vol_put() local
302 changed = 1; in usb6fire_control_input_vol_put()
307 changed = 1; in usb6fire_control_input_vol_put()
310 if (changed) in usb6fire_control_input_vol_put()
313 return changed; in usb6fire_control_input_vol_put()
[all …]
/sound/pci/echoaudio/
Dechoaudio.c1019 int c, changed, gain; in snd_echo_output_gain_put() local
1021 changed = 0; in snd_echo_output_gain_put()
1031 changed = 1; in snd_echo_output_gain_put()
1034 if (changed) in snd_echo_output_gain_put()
1037 return changed; in snd_echo_output_gain_put()
1100 int c, gain, changed; in snd_echo_input_gain_put() local
1102 changed = 0; in snd_echo_input_gain_put()
1112 changed = 1; in snd_echo_input_gain_put()
1115 if (changed) in snd_echo_input_gain_put()
1118 return changed; in snd_echo_input_gain_put()
[all …]
/sound/pci/pcxhr/
Dpcxhr_mixer.c142 int changed = 0; in pcxhr_analog_vol_put() local
175 changed = 1; in pcxhr_analog_vol_put()
185 return changed; in pcxhr_analog_vol_put()
219 int i, changed = 0; in pcxhr_audio_sw_put() local
226 changed = 1; in pcxhr_audio_sw_put()
235 return changed; in pcxhr_audio_sw_put()
384 int changed = 0; in pcxhr_pcm_vol_put() local
401 changed = 1; in pcxhr_pcm_vol_put()
406 if (!is_capture && changed) /* update playback volume */ in pcxhr_pcm_vol_put()
409 return changed; in pcxhr_pcm_vol_put()
[all …]
Dpcxhr_mix22.c353 int *changed) in hr222_sub_set_clock() argument
405 if (changed) in hr222_sub_set_clock()
406 *changed = 1; in hr222_sub_set_clock()
736 int changed = 0; in hr222_mic_vol_put() local
739 changed = 1; in hr222_mic_vol_put()
744 return changed; in hr222_mic_vol_put()
786 int changed = 0; in hr222_mic_boost_put() local
789 changed = 1; in hr222_mic_boost_put()
794 return changed; in hr222_mic_boost_put()
826 int power, changed = 0; in hr222_phantom_power_put() local
[all …]
/sound/pci/ice1712/
Dmaya44.c208 int ch, changed = 0; in maya_vol_put() local
222 changed |= wm8776_write_bits(chip->ice, wm, vol->regs[ch], in maya_vol_put()
231 return changed; in maya_vol_put()
265 int changed; in maya_sw_put() local
274 changed = wm8776_write_bits(chip->ice, wm, in maya_sw_put()
278 return changed; in maya_sw_put()
330 int changed; in maya_gpio_sw_put() local
338 changed = maya_set_gpio_bits(chip->ice, mask, val); in maya_gpio_sw_put()
340 return changed; in maya_gpio_sw_put()
384 int changed; in maya_rec_src_put() local
[all …]
Dpontis.c477 int changed; in pontis_gpio_mask_put() local
481 changed = val != ice->gpio.write_mask; in pontis_gpio_mask_put()
484 return changed; in pontis_gpio_mask_put()
501 int changed; in pontis_gpio_dir_put() local
505 changed = (val != ice->gpio.direction); in pontis_gpio_dir_put()
508 return changed; in pontis_gpio_dir_put()
526 int changed = 0; in pontis_gpio_data_put() local
534 changed = 1; in pontis_gpio_data_put()
537 return changed; in pontis_gpio_data_put()
Dse.c537 int changed; in se200pci_cont_volume_put() local
539 changed = 0; in se200pci_cont_volume_put()
544 changed = 1; in se200pci_cont_volume_put()
548 changed = 1; in se200pci_cont_volume_put()
550 if (changed) in se200pci_cont_volume_put()
553 return changed; in se200pci_cont_volume_put()
/sound/soc/omap/
Dams-delta.c105 int pin, changed = 0; in ams_delta_set_audio_mode() local
123 changed = 1; in ams_delta_set_audio_mode()
131 changed = 1; in ams_delta_set_audio_mode()
139 changed = 1; in ams_delta_set_audio_mode()
147 changed = 1; in ams_delta_set_audio_mode()
156 changed = 1; in ams_delta_set_audio_mode()
163 if (changed) in ams_delta_set_audio_mode()
168 return changed; in ams_delta_set_audio_mode()
/sound/usb/
Dpcm.c944 int changed; in hw_rule_rate() local
947 changed = 0; in hw_rule_rate()
952 if (changed++) { in hw_rule_rate()
963 if (!changed) { in hw_rule_rate()
969 changed = 0; in hw_rule_rate()
973 changed = 1; in hw_rule_rate()
978 changed = 1; in hw_rule_rate()
984 hwc_debug(" --> (%d, %d) (changed = %d)\n", it->min, it->max, changed); in hw_rule_rate()
985 return changed; in hw_rule_rate()
996 int changed; in hw_rule_channels() local
[all …]
/sound/core/oss/
Dpcm_oss.c75 int changed = 0; in snd_interval_refine_min() local
79 changed = 1; in snd_interval_refine_min()
82 changed = 1; in snd_interval_refine_min()
94 return changed; in snd_interval_refine_min()
99 int changed = 0; in snd_interval_refine_max() local
103 changed = 1; in snd_interval_refine_max()
106 changed = 1; in snd_interval_refine_max()
118 return changed; in snd_interval_refine_max()
187 int changed; in _snd_pcm_hw_param_mask() local
188 changed = snd_mask_refine(hw_param_mask(params, var), val); in _snd_pcm_hw_param_mask()
[all …]
/sound/ppc/
Dawacs.c238 int val, changed; in snd_pmac_awacs_put_switch() local
245 changed = chip->awacs_reg[reg] != val; in snd_pmac_awacs_put_switch()
246 if (changed) in snd_pmac_awacs_put_switch()
249 return changed; in snd_pmac_awacs_put_switch()
572 int changed = 0; in snd_pmac_screamer_mic_boost_put() local
585 changed = 1; in snd_pmac_screamer_mic_boost_put()
589 changed = 1; in snd_pmac_screamer_mic_boost_put()
592 return changed; in snd_pmac_screamer_mic_boost_put()
825 int changed; in snd_pmac_awacs_update_automute() local
827 changed = toggle_amp_mute(amp, AMP_CH_HD, 0); in snd_pmac_awacs_update_automute()
[all …]
/sound/core/
Dpcm_lib.c588 int changed = 0; in snd_interval_refine() local
594 changed = 1; in snd_interval_refine()
597 changed = 1; in snd_interval_refine()
602 changed = 1; in snd_interval_refine()
605 changed = 1; in snd_interval_refine()
609 changed = 1; in snd_interval_refine()
626 return changed; in snd_interval_refine()
1092 int changed = 0; in snd_interval_step() local
1097 changed = 1; in snd_interval_step()
1103 changed = 1; in snd_interval_step()
[all …]
/sound/drivers/
Dmts64.c462 int changed = 0; in snd_mts64_ctl_smpte_switch_put() local
469 changed = 1; in snd_mts64_ctl_smpte_switch_put()
481 return changed; in snd_mts64_ctl_smpte_switch_put()
545 int changed = 0; in snd_mts64_ctl_smpte_time_put() local
549 changed = 1; in snd_mts64_ctl_smpte_time_put()
554 return changed; in snd_mts64_ctl_smpte_time_put()
628 int changed = 0; in snd_mts64_ctl_smpte_fps_put() local
634 changed = 1; in snd_mts64_ctl_smpte_fps_put()
639 return changed; in snd_mts64_ctl_smpte_fps_put()
/sound/oss/
Dpas2_mixer.c117 int left, right, devmask, changed, i, mixer = 0; in pas_mixer_set() local
179 changed = devmask ^ rec_devices; in pas_mixer_set()
183 if (changed & (1 << i)) in pas_mixer_set()
/sound/pci/
Dbt87x.c589 int changed; in snd_bt87x_capture_volume_put() local
596 changed = old_control != chip->reg_control; in snd_bt87x_capture_volume_put()
598 return changed; in snd_bt87x_capture_volume_put()
625 int changed; in snd_bt87x_capture_boost_put() local
632 changed = chip->reg_control != old_control; in snd_bt87x_capture_boost_put()
634 return changed; in snd_bt87x_capture_boost_put()
667 int changed; in snd_bt87x_capture_source_put() local
674 changed = chip->reg_control != old_control; in snd_bt87x_capture_source_put()
676 return changed; in snd_bt87x_capture_source_put()
/sound/pci/au88x0/
Dau88x0_a3d.c780 int changed = 1, i; in snd_vortex_a3d_hrtf_put() local
789 return changed; in snd_vortex_a3d_hrtf_put()
798 int i, changed = 1; in snd_vortex_a3d_itd_put() local
808 return changed; in snd_vortex_a3d_itd_put()
816 int changed = 1; in snd_vortex_a3d_ild_put() local
825 return changed; in snd_vortex_a3d_ild_put()
833 int i, changed = 1; in snd_vortex_a3d_filter_put() local
846 return changed; in snd_vortex_a3d_filter_put()

123