Home
last modified time | relevance | path

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

12

/sound/soc/bcm/
Dbcm63xx-i2s-whistler.c145 unsigned int enabled, slavemode; in bcm63xx_i2s_shutdown() local
160 regmap_read(regmap_i2s, I2S_RX_CFG, &enabled); in bcm63xx_i2s_shutdown()
161 enabled = enabled & I2S_RX_ENABLE_MASK; in bcm63xx_i2s_shutdown()
162 if (enabled) in bcm63xx_i2s_shutdown()
181 regmap_read(regmap_i2s, I2S_TX_CFG, &enabled); in bcm63xx_i2s_shutdown()
182 enabled = enabled & I2S_TX_ENABLE_MASK; in bcm63xx_i2s_shutdown()
183 if (enabled) in bcm63xx_i2s_shutdown()
/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()
Dpatch_analog.c124 static void ad_vmaster_eapd_hook(void *private_data, int enabled) in ad_vmaster_eapd_hook() argument
132 enabled = !enabled; in ad_vmaster_eapd_hook()
135 enabled ? 0x02 : 0x00); in ad_vmaster_eapd_hook()
972 static void ad1884_vmaster_hp_gpio_hook(void *private_data, int enabled) in ad1884_vmaster_hp_gpio_hook() argument
978 ad_vmaster_eapd_hook(private_data, enabled); in ad1884_vmaster_hp_gpio_hook()
981 enabled ? 0x00 : 0x02); in ad1884_vmaster_hp_gpio_hook()
Dhda_beep.h25 unsigned int enabled:1; member
/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.c85 c->enabled = 1; in snd_pcm_plugin_alloc()
97 c->enabled = 1; in snd_pcm_plugin_alloc()
588 v->enabled = 1; in snd_pcm_plug_client_channels_buf()
Dpcm_plugin.h29 unsigned int enabled:1; /* channel need to be processed */ member
/sound/soc/intel/
DKconfig93 If you have a Intel Skylake platform with the DSP enabled
103 enabled in the BIOS then enable this option by saying Y or m.
112 enabled in the BIOS then enable this option by saying Y or m.
121 enabled in the BIOS then enable this option by saying Y or m.
130 enabled in the BIOS then enable this option by saying Y or m.
139 enabled in the BIOS then enable this option by saying Y or m.
148 enabled in the BIOS then enable this option by saying Y or m.
157 enabled in the BIOS then enable this option by saying Y or m.
185 GeminiLake or CannonLake platform with the DSP enabled in the BIOS
/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
168 if (st_data->enabled) in omap_mcbsp_st_set_chgain()
204 st_data->enabled = 1; in omap_mcbsp_st_enable()
221 st_data->enabled = 0; in omap_mcbsp_st_disable()
234 return st_data->enabled; in omap_mcbsp_st_is_enabled()
308 if (st_data->enabled && !st_data->running) { in omap_mcbsp_st_start()
/sound/soc/tegra/
Dtegra210_amx.c199 int enabled; in tegra210_amx_get_byte_map() local
202 enabled = amx->byte_mask[1] & (1 << (reg - 32)); in tegra210_amx_get_byte_map()
204 enabled = amx->byte_mask[0] & (1 << reg); in tegra210_amx_get_byte_map()
216 if (enabled) in tegra210_amx_get_byte_map()
Dtegra210_adx.c173 int enabled; in tegra210_adx_get_byte_map() local
176 enabled = adx->byte_mask[mc->reg / 32] & (1 << (mc->reg % 32)); in tegra210_adx_get_byte_map()
188 if (enabled) in tegra210_adx_get_byte_map()
/sound/soc/codecs/
Dadau1977.c129 bool enabled; member
379 if (!adau1977->enabled) in adau1977_power_disable()
397 adau1977->enabled = false; in adau1977_power_disable()
407 if (adau1977->enabled) in adau1977_power_enable()
460 adau1977->enabled = true; in adau1977_power_enable()
Dcros_ec_codec.c646 int enabled = ucontrol->value.integer.value[0]; in wov_enable_put() local
650 if (priv->wov_enabled != enabled) { in wov_enable_put()
651 if (enabled) in wov_enable_put()
660 enabled ? "enable" : "disable"); in wov_enable_put()
664 priv->wov_enabled = enabled; in wov_enable_put()
Dadau1372.c32 bool enabled; member
786 if (adau1372->enabled == enable) in adau1372_set_power()
830 adau1372->enabled = enable; in adau1372_set_power()
/sound/soc/sof/
DKconfig90 when HDaudio is enabled due to module dependencies. Forcing this
104 enabled for developers or devices where the sound card is
108 functionality from being enabled on Intel CoffeeLake and later
145 typically only enabled for developers for debug purposes, before
192 The firmware trace can be enabled either at build-time with
/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.c711 bool tx = true, rx = false, enabled[2]; in fsl_esai_hw_reset() local
719 enabled[tx] = tfcr & ESAI_xFCR_xFEN; in fsl_esai_hw_reset()
720 enabled[rx] = rfcr & ESAI_xFCR_xFEN; in fsl_esai_hw_reset()
749 if (enabled[tx]) in fsl_esai_hw_reset()
751 if (enabled[rx]) in fsl_esai_hw_reset()
/sound/ppc/
DKconfig31 If this feature is enabled, DRC is turned off when the
/sound/hda/
DKconfig60 driver. If both drivers are enabled then the kernel will default

12