Home
last modified time | relevance | path

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

12

/sound/pci/hda/
Dhda_beep.c62 if (beep->enabled) in snd_hda_generate_beep()
192 if (beep->enabled != enable) { in snd_hda_enable_beep_device()
193 beep->enabled = enable; in snd_hda_enable_beep_device()
315 if (beep && (!beep->enabled || !ctl_has_mute(kcontrol))) { in snd_hda_mixer_amp_switch_get_beep()
317 ucontrol->value.integer.value[0] = beep->enabled; in snd_hda_mixer_amp_switch_get_beep()
319 ucontrol->value.integer.value[1] = beep->enabled; in snd_hda_mixer_amp_switch_get_beep()
Dthinkpad_helper.c32 static void update_tpacpi_mute_led(void *private_data, int enabled) in update_tpacpi_mute_led() argument
35 old_vmaster_hook(private_data, enabled); in update_tpacpi_mute_led()
38 led_set_func(TPACPI_LED_MUTE, !enabled); in update_tpacpi_mute_led()
Dpatch_analog.c142 static void ad_vmaster_eapd_hook(void *private_data, int enabled) in ad_vmaster_eapd_hook() argument
150 enabled = !enabled; in ad_vmaster_eapd_hook()
153 enabled ? 0x02 : 0x00); in ad_vmaster_eapd_hook()
988 static void ad1884_vmaster_hp_gpio_hook(void *private_data, int enabled) in ad1884_vmaster_hp_gpio_hook() argument
994 ad_vmaster_eapd_hook(private_data, enabled); in ad1884_vmaster_hp_gpio_hook()
997 enabled ? 0x00 : 0x02); in ad1884_vmaster_hp_gpio_hook()
Dhda_beep.h38 unsigned int enabled:1; member
Dpatch_conexant.c157 static void cx_auto_vmaster_hook(void *private_data, int enabled) in cx_auto_vmaster_hook() argument
162 cx_auto_turn_eapd(codec, spec->num_eapds, spec->eapds, enabled); in cx_auto_vmaster_hook()
166 static void cx_auto_vmaster_hook_mute_led(void *private_data, int enabled) in cx_auto_vmaster_hook_mute_led() argument
173 enabled ? 0x00 : 0x02); in cx_auto_vmaster_hook_mute_led()
Dpatch_realtek.c3263 static void alc269_fixup_mic_mute_hook(void *private_data, int enabled) in alc269_fixup_mic_mute_hook() argument
3270 enabled = !enabled; in alc269_fixup_mic_mute_hook()
3273 pinval |= enabled ? AC_PINCTL_VREF_HIZ : AC_PINCTL_VREF_80; in alc269_fixup_mic_mute_hook()
3355 bool enabled) in alc_update_gpio_led() argument
3361 enabled = !enabled; in alc_update_gpio_led()
3363 if (enabled) in alc_update_gpio_led()
3373 static void alc_fixup_gpio_mute_hook(void *private_data, int enabled) in alc_fixup_gpio_mute_hook() argument
3378 alc_update_gpio_led(codec, spec->gpio_mute_led_mask, enabled); in alc_fixup_gpio_mute_hook()
/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.h44 unsigned int enabled:1; /* channel need to be processed */ member
Dpcm_plugin.c81 c->enabled = 1; in snd_pcm_plugin_alloc()
93 c->enabled = 1; in snd_pcm_plugin_alloc()
605 v->enabled = 1; in snd_pcm_plug_client_channels_buf()
/sound/soc/codecs/
Dadau1977.c129 bool enabled; member
381 if (!adau1977->enabled) in adau1977_power_disable()
400 adau1977->enabled = false; in adau1977_power_disable()
410 if (adau1977->enabled) in adau1977_power_enable()
464 adau1977->enabled = true; in adau1977_power_enable()
Dwm_adsp.c242 unsigned int enabled:1; member
584 if (!ctl->enabled) in wm_coeff_put()
636 if (ctl->enabled) in wm_coeff_get()
704 if (!ctl->enabled || ctl->set) in wm_coeff_init_control_caches()
725 if (!ctl->enabled) in wm_coeff_sync_controls()
814 if (!ctl->enabled) in wm_adsp_create_control()
815 ctl->enabled = 1; in wm_adsp_create_control()
830 ctl->enabled = 1; in wm_adsp_create_control()
1896 ctl->enabled = 0; in wm_adsp1_event()
2082 ctl->enabled = 0; in wm_adsp2_event()
Dsgtl5000.c129 bool enabled; member
958 return ldo->enabled; in ldo_regulator_is_enabled()
990 ldo->enabled = 1; in ldo_regulator_enable()
1007 ldo->enabled = 0; in ldo_regulator_disable()
/sound/
DKconfig37 With this option enabled, the kernel will claim all OSS device
38 numbers if any OSS support (native or emulation) is enabled
/sound/oss/
Dsoundcard.c532 unsigned int enabled; member
562 dev_list[i].enabled = (1 << j); in oss_init()
579 if (dev_list[i].enabled & (1 << j)) in oss_cleanup()
Ddev_table.h62 int enabled; member
/sound/soc/omap/
Dmcbsp.c339 if (st_data->enabled) in omap_st_set_chgain()
370 if (st_data->enabled && !st_data->running) { in omap_st_start()
391 st_data->enabled = 1; in omap_st_enable()
422 st_data->enabled = 0; in omap_st_disable()
435 return st_data->enabled; in omap_st_is_enabled()
Dmcbsp.h284 bool enabled; member
DKconfig20 enabled.
/sound/ppc/
DKconfig30 If this feature is enabled, DRC is turned off when the
/sound/soc/fsl/
Dfsl_ssi.c777 int enabled; in fsl_ssi_hw_params() local
780 enabled = scr_val & CCSR_SSI_SCR_SSIEN; in fsl_ssi_hw_params()
786 if (enabled && ssi_private->cpu_dai_drv.symmetric_rates) in fsl_ssi_hw_params()

12