/sound/soc/mediatek/mt8192/ |
D | mt8192-afe-gpio.c | 165 static int mt8192_afe_gpio_adda_dl(struct device *dev, bool enable) in mt8192_afe_gpio_adda_dl() argument 167 if (enable) { in mt8192_afe_gpio_adda_dl() 176 static int mt8192_afe_gpio_adda_ul(struct device *dev, bool enable) in mt8192_afe_gpio_adda_ul() argument 178 if (enable) { in mt8192_afe_gpio_adda_ul() 187 static int mt8192_afe_gpio_adda_ch34_dl(struct device *dev, bool enable) in mt8192_afe_gpio_adda_ch34_dl() argument 189 if (enable) { in mt8192_afe_gpio_adda_ch34_dl() 198 static int mt8192_afe_gpio_adda_ch34_ul(struct device *dev, bool enable) in mt8192_afe_gpio_adda_ch34_ul() argument 200 if (enable) { in mt8192_afe_gpio_adda_ch34_ul() 209 int mt8192_afe_gpio_request(struct device *dev, bool enable, in mt8192_afe_gpio_request() argument 216 mt8192_afe_gpio_adda_ul(dev, enable); in mt8192_afe_gpio_request() [all …]
|
/sound/aoa/soundbus/i2sbus/ |
D | control.c | 45 i2sdev->enable = pmf_find_function(np, "enable"); in i2sbus_control_add_dev() 57 (!i2sdev->enable || in i2sbus_control_add_dev() 60 pmf_put_function(i2sdev->enable); in i2sbus_control_add_dev() 88 if (i2sdev->enable) in i2sbus_control_enable() 89 return pmf_call_one(i2sdev->enable, &args); in i2sbus_control_enable() 111 int enable) in i2sbus_control_cell() argument 116 switch (enable) { in i2sbus_control_cell() 135 if (enable) in i2sbus_control_cell() 141 if (enable) in i2sbus_control_cell() 154 int enable) in i2sbus_control_clock() argument [all …]
|
/sound/soc/mediatek/mt8186/ |
D | mt8186-afe-gpio.c | 133 static int mt8186_afe_gpio_adda_dl(struct device *dev, bool enable) in mt8186_afe_gpio_adda_dl() argument 137 if (enable) { in mt8186_afe_gpio_adda_dl() 166 static int mt8186_afe_gpio_adda_ul(struct device *dev, bool enable) in mt8186_afe_gpio_adda_ul() argument 170 if (enable) { in mt8186_afe_gpio_adda_ul() 199 int mt8186_afe_gpio_request(struct device *dev, bool enable, in mt8186_afe_gpio_request() argument 210 ret = mt8186_afe_gpio_adda_ul(dev, enable); in mt8186_afe_gpio_request() 212 ret = mt8186_afe_gpio_adda_dl(dev, enable); in mt8186_afe_gpio_request() 215 sel = enable ? MT8186_AFE_GPIO_I2S0_ON : MT8186_AFE_GPIO_I2S0_OFF; in mt8186_afe_gpio_request() 218 sel = enable ? MT8186_AFE_GPIO_I2S1_ON : MT8186_AFE_GPIO_I2S1_OFF; in mt8186_afe_gpio_request() 221 sel = enable ? MT8186_AFE_GPIO_I2S2_ON : MT8186_AFE_GPIO_I2S2_OFF; in mt8186_afe_gpio_request() [all …]
|
/sound/soc/codecs/ |
D | nau8315.c | 26 struct gpio_desc *enable; member 37 if (!nau8315->enable) in nau8315_daiops_trigger() 45 gpiod_set_value(nau8315->enable, 1); in nau8315_daiops_trigger() 52 gpiod_set_value(nau8315->enable, 0); in nau8315_daiops_trigger() 125 nau8315->enable = devm_gpiod_get_optional(&pdev->dev, in nau8315_platform_probe() 127 if (IS_ERR(nau8315->enable)) in nau8315_platform_probe() 128 return PTR_ERR(nau8315->enable); in nau8315_platform_probe()
|
D | wcd-clsh-v2.c | 120 bool enable) in wcd_enable_clsh_block() argument 124 if ((enable && ++ctrl->clsh_users == 1) || in wcd_enable_clsh_block() 125 (!enable && --ctrl->clsh_users == 0)) in wcd_enable_clsh_block() 128 enable); in wcd_enable_clsh_block() 183 bool enable) in wcd_clsh_buck_ctrl() argument 188 if ((enable && (++ctrl->buck_users == 1)) || in wcd_clsh_buck_ctrl() 189 (!enable && (--ctrl->buck_users == 0))) in wcd_clsh_buck_ctrl() 192 enable << WCD9XXX_A_ANA_RX_VPOS_EN_SHIFT); in wcd_clsh_buck_ctrl() 203 bool enable) in wcd_clsh_v3_buck_ctrl() argument 206 if ((enable && (++ctrl->buck_users == 1)) || in wcd_clsh_v3_buck_ctrl() [all …]
|
D | wcd-mbhc-v2.h | 239 bool enable); 240 void (*clk_setup)(struct snd_soc_component *component, bool enable); 242 void (*mbhc_bias)(struct snd_soc_component *component, bool enable); 251 bool enable); 256 bool enable); 258 bool enable); 261 bool enable, int anc_num); 265 void (*mbhc_moisture_polling_ctrl)(struct snd_soc_component *component, bool enable); 266 void (*mbhc_moisture_detect_en)(struct snd_soc_component *component, bool enable);
|
/sound/hda/ext/ |
D | hdac_ext_controller.c | 27 void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_enable() argument 35 if (enable) in snd_hdac_ext_bus_ppcap_enable() 49 void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_int_enable() argument 57 if (enable) in snd_hdac_ext_bus_ppcap_int_enable() 169 static int check_hdac_link_power_active(struct hdac_ext_link *link, bool enable) in check_hdac_link_power_active() argument 180 if (enable) { in check_hdac_link_power_active() 360 void snd_hdac_ext_bus_link_power(struct hdac_device *codec, bool enable) in snd_hdac_ext_bus_link_power() argument 365 if (enable == oldstate) in snd_hdac_ext_bus_link_power() 368 snd_hdac_bus_link_power(codec, enable); in snd_hdac_ext_bus_link_power() 370 if (enable) in snd_hdac_ext_bus_link_power()
|
/sound/soc/intel/avs/ |
D | skl.c | 15 static int skl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in skl_enable_logs() argument 30 if (enable) in skl_enable_logs() 32 info->logs_core[i].enable = enable; in skl_enable_logs() 37 info->logs_core[i].enable = enable; in skl_enable_logs() 103 static int skl_set_d0ix(struct avs_dev *adev, bool enable) in skl_set_d0ix() argument
|
D | apl.c | 16 static int apl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in apl_enable_logs() argument 33 if (enable) in apl_enable_logs() 35 info->logs_core[i].enable = enable; in apl_enable_logs() 40 info->logs_core[i].enable = enable; in apl_enable_logs() 225 static int apl_set_d0ix(struct avs_dev *adev, bool enable) in apl_set_d0ix() argument 230 if (enable) in apl_set_d0ix() 234 ret = avs_ipc_set_d0ix(adev, enable, streaming); in apl_set_d0ix()
|
/sound/soc/sof/intel/ |
D | hda-bus.c | 38 static void sof_hda_bus_link_power(struct hdac_device *codec, bool enable) in sof_hda_bus_link_power() argument 43 snd_hdac_ext_bus_link_power(codec, enable); in sof_hda_bus_link_power() 45 if (enable == oldstate) in sof_hda_bus_link_power() 56 if (codec->addr == HDA_IDISP_ADDR && !enable) in sof_hda_bus_link_power() 60 update_codec_wake_enable(bus, codec->addr, enable); in sof_hda_bus_link_power()
|
D | hda-ctrl.c | 137 void hda_dsp_ctrl_ppcap_enable(struct snd_sof_dev *sdev, bool enable) in hda_dsp_ctrl_ppcap_enable() argument 139 u32 val = enable ? SOF_HDA_PPCTL_GPROCEN : 0; in hda_dsp_ctrl_ppcap_enable() 145 void hda_dsp_ctrl_ppcap_int_enable(struct snd_sof_dev *sdev, bool enable) in hda_dsp_ctrl_ppcap_int_enable() argument 147 u32 val = enable ? SOF_HDA_PPCTL_PIE : 0; in hda_dsp_ctrl_ppcap_int_enable() 153 void hda_dsp_ctrl_misc_clock_gating(struct snd_sof_dev *sdev, bool enable) in hda_dsp_ctrl_misc_clock_gating() argument 155 u32 val = enable ? PCI_CGCTL_MISCBDCGE_MASK : 0; in hda_dsp_ctrl_misc_clock_gating() 165 int hda_dsp_ctrl_clock_power_gating(struct snd_sof_dev *sdev, bool enable) in hda_dsp_ctrl_clock_power_gating() argument 170 val = enable ? PCI_CGCTL_ADSPDCGE : 0; in hda_dsp_ctrl_clock_power_gating() 174 val = enable ? HDA_VS_INTEL_EM2_L1SEN : 0; in hda_dsp_ctrl_clock_power_gating() 179 val = enable ? 0 : PCI_PGCTL_ADSPPGD; in hda_dsp_ctrl_clock_power_gating()
|
D | hda-codec.c | 76 void hda_codec_jack_wake_enable(struct snd_sof_dev *sdev, bool enable) in hda_codec_jack_wake_enable() argument 83 if (enable) { in hda_codec_jack_wake_enable() 107 void hda_codec_jack_wake_enable(struct snd_sof_dev *sdev, bool enable) {} in hda_codec_jack_wake_enable() argument 243 void hda_codec_i915_display_power(struct snd_sof_dev *sdev, bool enable) in hda_codec_i915_display_power() argument 248 dev_dbg(bus->dev, "Turning i915 HDAC power %d\n", enable); in hda_codec_i915_display_power() 249 snd_hdac_display_power(bus, HDA_CODEC_IDX_CONTROLLER, enable); in hda_codec_i915_display_power()
|
/sound/pci/hda/ |
D | hda_beep.c | 143 int snd_hda_enable_beep_device(struct hda_codec *codec, int enable) in snd_hda_enable_beep_device() argument 148 enable = !!enable; in snd_hda_enable_beep_device() 149 if (beep->enabled != enable) { in snd_hda_enable_beep_device() 150 beep->enabled = enable; in snd_hda_enable_beep_device() 151 if (enable) in snd_hda_enable_beep_device() 329 int enable = 0; in snd_hda_mixer_amp_switch_put_beep() local 332 enable |= *valp; in snd_hda_mixer_amp_switch_put_beep() 336 enable |= *valp; in snd_hda_mixer_amp_switch_put_beep() 337 snd_hda_enable_beep_device(codec, enable); in snd_hda_mixer_amp_switch_put_beep()
|
/sound/soc/intel/ |
D | Kconfig | 10 enable this option by saying Y 49 enable this option by saying Y or m. Distros will typically not 50 enable this option: while Merrifield/Edison can run a mainline 64 codec, then enable this option by saying Y or m. This is a 67 Baytrail/Cherrytrail. If you want to enable SOF on 94 in the BIOS then enable this option by saying Y or m. 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. [all …]
|
/sound/soc/ux500/ |
D | Kconfig | 10 Say Y if you want to enable ASoC-support for 22 Say Y if you want to enable the Ux500 platform-driver. 31 Select this to enable the MOP500 machine-driver. 32 This will enable platform-drivers for: Ux500 33 This will enable codec-drivers for: AB8500
|
/sound/soc/uniphier/ |
D | aio-ld11.c | 181 [AUD_PLL_A1] = { .enable = true, }, 182 [AUD_PLL_F1] = { .enable = true, }, 183 [AUD_PLL_A2] = { .enable = true, }, 184 [AUD_PLL_F2] = { .enable = true, }, 185 [AUD_PLL_APLL] = { .enable = true, }, 186 [AUD_PLL_RX0] = { .enable = true, }, 187 [AUD_PLL_USB0] = { .enable = true, }, 188 [AUD_PLL_HSC0] = { .enable = true, },
|
D | aio-pxs2.c | 136 [AUD_PLL_A1] = { .enable = true, }, 137 [AUD_PLL_F1] = { .enable = true, }, 138 [AUD_PLL_A2] = { .enable = true, }, 139 [AUD_PLL_F2] = { .enable = true, }, 140 [AUD_PLL_APLL] = { .enable = true, }, 141 [AUD_PLL_HSC0] = { .enable = true, },
|
/sound/soc/ |
D | soc-jack.c | 54 int enable = pin->mask & jack->status; in snd_soc_jack_report() local 57 enable = !enable; in snd_soc_jack_report() 59 if (enable) in snd_soc_jack_report() 214 int enable; in snd_soc_jack_gpio_detect() local 217 enable = gpiod_get_value_cansleep(gpio->desc); in snd_soc_jack_gpio_detect() 219 enable = !enable; in snd_soc_jack_gpio_detect() 221 if (enable) in snd_soc_jack_gpio_detect()
|
/sound/pci/oxygen/ |
D | virtuoso.c | 22 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; variable 28 module_param_array(enable, bool, NULL, 0444); 29 MODULE_PARM_DESC(enable, "enable card"); 70 if (!enable[dev]) { in xonar_probe()
|
D | se6x.c | 35 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; variable 41 module_param_array(enable, bool, NULL, 0444); 42 MODULE_PARM_DESC(enable, "enable card"); 125 if (!enable[dev]) { in se6x_probe()
|
/sound/isa/ |
D | adlib.c | 22 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; variable 29 module_param_array(enable, bool, NULL, 0444); 30 MODULE_PARM_DESC(enable, "Enable " CRD_NAME " soundcard."); 36 if (!enable[n]) in snd_adlib_match()
|
/sound/firewire/motu/ |
D | motu.h | 193 bool enable); 203 bool enable); 213 bool enable); 256 bool enable) in snd_motu_protocol_switch_fetching_mode() argument 259 return snd_motu_protocol_v2_switch_fetching_mode(motu, enable); in snd_motu_protocol_switch_fetching_mode() 261 return snd_motu_protocol_v3_switch_fetching_mode(motu, enable); in snd_motu_protocol_switch_fetching_mode() 263 return snd_motu_protocol_v1_switch_fetching_mode(motu, enable); in snd_motu_protocol_switch_fetching_mode()
|
D | motu-protocol-v1.c | 340 static int switch_fetching_mode_828(struct snd_motu *motu, bool enable) in switch_fetching_mode_828() argument 352 if (enable) { in switch_fetching_mode_828() 364 static int switch_fetching_mode_896(struct snd_motu *motu, bool enable) in switch_fetching_mode_896() argument 376 if (enable) in switch_fetching_mode_896() 383 int snd_motu_protocol_v1_switch_fetching_mode(struct snd_motu *motu, bool enable) in snd_motu_protocol_v1_switch_fetching_mode() argument 386 return switch_fetching_mode_828(motu, enable); in snd_motu_protocol_v1_switch_fetching_mode() 388 return switch_fetching_mode_896(motu, enable); in snd_motu_protocol_v1_switch_fetching_mode()
|
/sound/drivers/pcsp/ |
D | pcsp.c | 29 static bool enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */ variable 36 module_param(enable, bool, 0444); 37 MODULE_PARM_DESC(enable, "Enable PC-Speaker sound."); 76 pcsp_chip.enable = 1; in snd_pcsp_create() 210 if (!enable) in pcsp_init()
|
/sound/soc/stm/ |
D | Kconfig | 13 Say Y if you want to enable SAI for STM32 23 Say Y if you want to enable I2S for STM32 33 Say Y if you want to enable S/PDIF capture for STM32 44 Select this option to enable the STM32 Digital Filter
|