Home
last modified time | relevance | path

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

12

/sound/pci/hda/
Dhda_beep.c49 if (beep->enabled) in snd_hda_generate_beep()
149 if (beep->enabled != enable) { in snd_hda_enable_beep_device()
150 beep->enabled = enable; in snd_hda_enable_beep_device()
180 if (beep->enabled) in beep_dev_disconnect()
306 if (beep && (!beep->enabled || !ctl_has_mute(kcontrol))) { in snd_hda_mixer_amp_switch_get_beep()
308 ucontrol->value.integer.value[0] = beep->enabled; in snd_hda_mixer_amp_switch_get_beep()
310 ucontrol->value.integer.value[1] = beep->enabled; in snd_hda_mixer_amp_switch_get_beep()
Dthinkpad_helper.c20 static void update_tpacpi_mute_led(void *private_data, int enabled) in update_tpacpi_mute_led() argument
23 old_vmaster_hook(private_data, enabled); in update_tpacpi_mute_led()
25 ledtrig_audio_set(LED_AUDIO_MUTE, enabled ? LED_OFF : LED_ON); in update_tpacpi_mute_led()
Dpatch_analog.c129 static void ad_vmaster_eapd_hook(void *private_data, int enabled) in ad_vmaster_eapd_hook() argument
137 enabled = !enabled; in ad_vmaster_eapd_hook()
140 enabled ? 0x02 : 0x00); in ad_vmaster_eapd_hook()
975 static void ad1884_vmaster_hp_gpio_hook(void *private_data, int enabled) in ad1884_vmaster_hp_gpio_hook() argument
981 ad_vmaster_eapd_hook(private_data, enabled); in ad1884_vmaster_hp_gpio_hook()
984 enabled ? 0x00 : 0x02); in ad1884_vmaster_hp_gpio_hook()
Dhda_beep.h25 unsigned int enabled:1; member
Dpatch_conexant.c131 static void cx_auto_vmaster_hook(void *private_data, int enabled) in cx_auto_vmaster_hook() argument
136 cx_auto_turn_eapd(codec, spec->num_eapds, spec->eapds, enabled); in cx_auto_vmaster_hook()
140 static void cx_auto_vmaster_hook_mute_led(void *private_data, int enabled) in cx_auto_vmaster_hook_mute_led() argument
147 enabled ? 0x00 : 0x02); in cx_auto_vmaster_hook_mute_led()
636 static void cxt_fixup_gpio_mute_hook(void *private_data, int enabled) in cxt_fixup_gpio_mute_hook() argument
641 cxt_update_gpio_led(codec, spec->gpio_mute_led_mask, !enabled); in cxt_fixup_gpio_mute_hook()
Dpatch_realtek.c4166 static void alc269_fixup_mic_mute_hook(void *private_data, int enabled) in alc269_fixup_mic_mute_hook() argument
4173 enabled = !enabled; in alc269_fixup_mic_mute_hook()
4176 pinval |= enabled ? AC_PINCTL_VREF_HIZ : AC_PINCTL_VREF_80; in alc269_fixup_mic_mute_hook()
4265 int polarity, bool enabled) in alc_update_gpio_led() argument
4268 enabled = !enabled; in alc_update_gpio_led()
4269 alc_update_gpio_data(codec, mask, !enabled); /* muted -> LED on */ in alc_update_gpio_led()
4273 static void alc_fixup_gpio_mute_hook(void *private_data, int enabled) in alc_fixup_gpio_mute_hook() argument
4279 spec->mute_led_polarity, enabled); in alc_fixup_gpio_mute_hook()
4391 static void alc_fixup_mute_led_coefbit_hook(void *private_data, int enabled) in alc_fixup_mute_led_coefbit_hook() argument
4397 enabled = !enabled; in alc_fixup_mute_led_coefbit_hook()
[all …]
/sound/soc/intel/
DKconfig38 # when these platforms are enabled
48 # when these platforms are enabled
131 If you have a Intel Skylake platform with the DSP enabled
141 enabled in the BIOS then enable this option by saying Y or m.
150 enabled in the BIOS then enable this option by saying Y or m.
159 enabled in the BIOS then enable this option by saying Y or m.
168 enabled in the BIOS then enable this option by saying Y or m.
177 enabled in the BIOS then enable this option by saying Y or m.
186 enabled in the BIOS then enable this option by saying Y or m.
195 enabled in the BIOS then enable this option by saying Y or m.
[all …]
/sound/core/oss/
Dcopy.c47 if (!src_channels->enabled) { in copy_transfer()
50 dst_channels->enabled = 0; in copy_transfer()
53 dst_channels->enabled = 1; in copy_transfer()
Dmulaw.c181 if (!src_channels[channel].enabled) { in mulaw_decode()
184 dst_channels[channel].enabled = 0; in mulaw_decode()
187 dst_channels[channel].enabled = 1; in mulaw_decode()
227 if (!src_channels[channel].enabled) { in mulaw_encode()
230 dst_channels[channel].enabled = 0; in mulaw_encode()
233 dst_channels[channel].enabled = 1; in mulaw_encode()
Drate.c83 if (!src_channels[channel].enabled) { in resample_expand()
86 dst_channels[channel].enabled = 0; in resample_expand()
89 dst_channels[channel].enabled = 1; in resample_expand()
142 if (!src_channels[channel].enabled) { in resample_shrink()
145 dst_channels[channel].enabled = 0; in resample_shrink()
148 dst_channels[channel].enabled = 1; in resample_shrink()
Dlinear.c68 if (!src_channels[channel].enabled) { in convert()
71 dst_channels[channel].enabled = 0; in convert()
74 dst_channels[channel].enabled = 1; in convert()
Droute.c34 dvp->enabled = 0; in zero_areas()
43 dst_channel->enabled = 1; in copy_area()
Dio.c54 if (src_channels[channel].enabled) in io_playback_transfer()
80 if (dst_channels[channel].enabled) in io_capture_transfer()
Dpcm_plugin.h29 unsigned int enabled:1; /* channel need to be processed */ member
Dpcm_plugin.c84 c->enabled = 1; in snd_pcm_plugin_alloc()
96 c->enabled = 1; in snd_pcm_plugin_alloc()
610 v->enabled = 1; in snd_pcm_plug_client_channels_buf()
/sound/soc/meson/
Daxg-tdm-formatter.c25 bool enabled; member
87 if (formatter->enabled) in axg_tdm_formatter_enable()
138 formatter->enabled = true; in axg_tdm_formatter_enable()
146 if (!formatter->enabled) in axg_tdm_formatter_disable()
152 formatter->enabled = false; in axg_tdm_formatter_disable()
/sound/soc/ti/
Domap-mcbsp-st.c58 bool enabled; member
171 if (st_data->enabled) in omap_mcbsp_st_set_chgain()
207 st_data->enabled = 1; in omap_mcbsp_st_enable()
224 st_data->enabled = 0; in omap_mcbsp_st_disable()
237 return st_data->enabled; in omap_mcbsp_st_is_enabled()
311 if (st_data->enabled && !st_data->running) { in omap_mcbsp_st_start()
DKconfig151 enabled.
/sound/soc/codecs/
Dadau1977.c128 bool enabled; member
380 if (!adau1977->enabled) in adau1977_power_disable()
398 adau1977->enabled = false; in adau1977_power_disable()
408 if (adau1977->enabled) in adau1977_power_enable()
461 adau1977->enabled = true; in adau1977_power_enable()
Dwm_adsp.c605 unsigned int enabled:1; member
1078 if (ctl->enabled && ctl->dsp->running) in wm_coeff_put()
1100 if (ctl->enabled && ctl->dsp->running) in wm_coeff_tlv_put()
1125 if (ctl->enabled && ctl->dsp->running) in wm_coeff_put_acked()
1178 if (ctl->enabled && ctl->dsp->running) in wm_coeff_get()
1183 if (!ctl->flags && ctl->enabled && ctl->dsp->running) in wm_coeff_get()
1205 if (ctl->enabled && ctl->dsp->running) in wm_coeff_tlv_get()
1210 if (!ctl->flags && ctl->enabled && ctl->dsp->running) in wm_coeff_tlv_get()
1329 if (!ctl->enabled || ctl->set) in wm_coeff_init_control_caches()
1355 if (!ctl->enabled) in wm_coeff_sync_controls()
[all …]
/sound/
DKconfig20 With this option enabled, the kernel will claim all OSS device
21 numbers if any OSS support (native or emulation) is enabled
/sound/soc/fsl/
Dfsl_esai.c686 bool tx = true, rx = false, enabled[2]; in fsl_esai_hw_reset() local
694 enabled[tx] = tfcr & ESAI_xFCR_xFEN; in fsl_esai_hw_reset()
695 enabled[rx] = rfcr & ESAI_xFCR_xFEN; in fsl_esai_hw_reset()
724 if (enabled[tx]) in fsl_esai_hw_reset()
726 if (enabled[rx]) in fsl_esai_hw_reset()
/sound/ppc/
DKconfig31 If this feature is enabled, DRC is turned off when the
/sound/soc/sof/
DKconfig65 enabled for developers or devices where the sound card is
101 typically only enabled for developers for debug purposes, before
/sound/soc/atmel/
Datmel-i2s.c420 bool enabled) in atmel_i2s_switch_mck_generator() argument
431 if (!enabled) { in atmel_i2s_switch_mck_generator()

12