Home
last modified time | relevance | path

Searched refs:enable (Results 1 – 25 of 164) sorted by relevance

1234567

/sound/aoa/soundbus/i2sbus/
Dcontrol.c46 i2sdev->enable = pmf_find_function(np, "enable"); in i2sbus_control_add_dev()
58 (!i2sdev->enable || in i2sbus_control_add_dev()
61 pmf_put_function(i2sdev->enable); in i2sbus_control_add_dev()
89 if (i2sdev->enable) in i2sbus_control_enable()
90 return pmf_call_one(i2sdev->enable, &args); in i2sbus_control_enable()
112 int enable) in i2sbus_control_cell() argument
117 switch (enable) { in i2sbus_control_cell()
136 if (enable) in i2sbus_control_cell()
142 if (enable) in i2sbus_control_cell()
155 int enable) in i2sbus_control_clock() argument
[all …]
Di2sbus.h80 struct pmf_function *enable, member
122 int enable);
125 int enable);
/sound/pci/hda/
Dhda_beep.c178 int snd_hda_enable_beep_device(struct hda_codec *codec, int enable) in snd_hda_enable_beep_device() argument
183 enable = !!enable; in snd_hda_enable_beep_device()
184 if (beep->enabled != enable) { in snd_hda_enable_beep_device()
185 beep->enabled = enable; in snd_hda_enable_beep_device()
186 if (!enable) in snd_hda_enable_beep_device()
293 int enable = 0; in snd_hda_mixer_amp_switch_put_beep() local
296 enable |= *valp; in snd_hda_mixer_amp_switch_put_beep()
300 enable |= *valp; in snd_hda_mixer_amp_switch_put_beep()
301 snd_hda_enable_beep_device(codec, enable); in snd_hda_mixer_amp_switch_put_beep()
Dhda_i915.c38 int hda_display_power(bool enable) in hda_display_power() argument
44 enable ? "Enable" : "Disable"); in hda_display_power()
45 if (enable) in hda_display_power()
Dhda_i915.h20 int hda_display_power(bool enable);
25 static inline int hda_display_power(bool enable) { return 0; } in hda_display_power() argument
/sound/soc/ux500/
DKconfig9 Say Y if you want to enable ASoC-support for
21 Say Y if you want to enable the Ux500 platform-driver.
30 Select this to enable the MOP500 machine-driver.
31 This will enable platform-drivers for: Ux500
32 This will enable codec-drivers for: AB8500
/sound/soc/
Dsoc-jack.c70 int enable; in snd_soc_jack_report() local
88 enable = pin->mask & jack->status; in snd_soc_jack_report()
91 enable = !enable; in snd_soc_jack_report()
93 if (enable) in snd_soc_jack_report()
241 int enable; in snd_soc_jack_gpio_detect() local
244 enable = gpiod_get_value_cansleep(gpio->desc); in snd_soc_jack_gpio_detect()
246 enable = !enable; in snd_soc_jack_gpio_detect()
248 if (enable) in snd_soc_jack_gpio_detect()
/sound/pci/oxygen/
Dvirtuoso.c35 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");
83 if (!enable[dev]) { in xonar_probe()
/sound/core/
DKconfig31 Say Y or M to enable MIDI sequencer and router support. This
35 Many programs require this feature, so you should enable it
42 Say Y here to enable the dummy sequencer client. This client
60 To enable OSS mixer API emulation (/dev/mixer*), say Y here
73 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
95 Say Y here to enable OSS sequencer emulation (both
109 Say Y here to enable HR-timer backend for ALSA timer. ALSA uses
129 Say Y here to enable RTC timer support for ALSA. ALSA uses
191 Say Y here to enable verbose log messages. These messages
200 Say Y here to enable ALSA debug code.
[all …]
/sound/isa/
Dadlib.c21 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; variable
28 module_param_array(enable, bool, NULL, 0444);
29 MODULE_PARM_DESC(enable, "Enable " CRD_NAME " soundcard.");
35 if (!enable[n]) in snd_adlib_match()
/sound/pci/cs46xx/
Dcs46xx.c49 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */ variable
58 module_param_array(enable, bool, NULL, 0444);
59 MODULE_PARM_DESC(enable, "Enable CS46xx soundcard.");
86 if (!enable[dev]) { in snd_card_cs46xx_probe()
/sound/drivers/
Dvirmidi.c66 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0}; variable
73 module_param_array(enable, bool, NULL, 0444);
74 MODULE_PARM_DESC(enable, "Enable this soundcard.");
166 if (! enable[i]) in alsa_card_virmidi_init()
/sound/drivers/pcsp/
Dpcsp.c28 static bool enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */ variable
35 module_param(enable, bool, 0444);
36 MODULE_PARM_DESC(enable, "Enable PC-Speaker sound.");
79 pcsp_chip.enable = 1; in snd_pcsp_create()
234 if (!enable) in pcsp_init()
Dpcsp_mixer.c27 ucontrol->value.integer.value[0] = chip->enable; in pcsp_enable_get()
37 if (enab != chip->enable) { in pcsp_enable_put()
38 chip->enable = enab; in pcsp_enable_put()
123 PCSP_MIXER_CONTROL(enable, "Master Playback Switch"),
/sound/pci/ctxfi/
Dxfi.c35 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; variable
42 module_param_array(enable, bool, NULL, 0444);
43 MODULE_PARM_DESC(enable, "Enable Creative X-Fi driver");
70 if (!enable[dev]) { in ct_card_probe()
/sound/pci/trident/
Dtrident.c50 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */ variable
58 module_param_array(enable, bool, NULL, 0444);
59 MODULE_PARM_DESC(enable, "Enable Trident 4DWave PCI soundcard.");
87 if (!enable[dev]) { in snd_trident_probe()
/sound/isa/ad1848/
Dad1848.c46 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */ variable
56 module_param_array(enable, bool, NULL, 0444);
57 MODULE_PARM_DESC(enable, "Enable " CRD_NAME " soundcard.");
69 if (!enable[n]) in snd_ad1848_match()
/sound/drivers/mpu401/
Dmpu401.c38 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */ variable
50 module_param_array(enable, bool, NULL, 0444);
51 MODULE_PARM_DESC(enable, "Enable MPU-401 device.");
193 if (!enable[dev] || !pnp[dev]) in snd_mpu401_pnp_probe()
251 if (! enable[i]) in alsa_card_mpu401_init()
/sound/isa/cs423x/
Dcs4231.c44 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */ variable
56 module_param_array(enable, bool, NULL, 0444);
57 MODULE_PARM_DESC(enable, "Enable " CRD_NAME " soundcard.");
73 if (!enable[n]) in snd_cs4231_match()
/sound/usb/hiface/
Dchip.c48 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */ variable
57 module_param_array(enable, bool, NULL, 0444);
58 MODULE_PARM_DESC(enable, "Enable " CARD_NAME " soundcard.");
128 if (enable[i]) in hiface_chip_probe()
/sound/pci/
Dcs5530.c53 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; variable
59 module_param_array(enable, bool, NULL, 0444);
60 MODULE_PARM_DESC(enable, "Enable CS5530 Audio driver.");
260 if (!enable[dev]) { in snd_cs5530_probe()
/sound/pcmcia/pdaudiocf/
Dpdaudiocf.c42 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable switches */ variable
48 module_param_array(enable, bool, NULL, 0444);
49 MODULE_PARM_DESC(enable, "Enable " CARD_NAME " soundcard.");
112 if (! enable[i]) in snd_pdacf_probe()
/sound/isa/sb/
Dsb8.c39 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */ variable
48 module_param_array(enable, bool, NULL, 0444);
49 MODULE_PARM_DESC(enable, "Enable Sound Blaster soundcard.");
84 if (!enable[dev]) in snd_sb8_match()
/sound/soc/codecs/
Dssm4567.c195 static int ssm4567_set_power(struct ssm4567 *ssm4567, bool enable) in ssm4567_set_power() argument
199 if (!enable) { in ssm4567_set_power()
206 regcache_cache_only(ssm4567->regmap, !enable); in ssm4567_set_power()
208 if (enable) { in ssm4567_set_power()
Dpcm1681.c96 int i = 0, val = -1, enable = 0; in pcm1681_set_deemph() local
106 enable = 1; in pcm1681_set_deemph()
108 enable = 0; in pcm1681_set_deemph()
112 PCM1681_DEEMPH_MASK, enable); in pcm1681_set_deemph()

1234567