Home
last modified time | relevance | path

Searched refs:power (Results 1 – 22 of 22) sorted by relevance

/sound/pci/pcxhr/
Dpcxhr_mix22.c690 static void hr222_phantom_power(struct pcxhr_mgr *mgr, int power) in hr222_phantom_power() argument
692 if (power) in hr222_phantom_power()
699 snd_printdd("hr222_phantom_power : set %d\n", power); in hr222_phantom_power()
821 int power, changed = 0; in hr222_phantom_power_put() local
824 power = !!ucontrol->value.integer.value[0]; in hr222_phantom_power_put()
825 if (chip->phantom_power != power) { in hr222_phantom_power_put()
826 hr222_phantom_power(chip->mgr, power); in hr222_phantom_power_put()
827 chip->phantom_power = power; in hr222_phantom_power_put()
/sound/soc/codecs/
Duda134x.c357 if (pd->power) { in uda134x_set_bias_level()
358 pd->power(1); in uda134x_set_bias_level()
385 if (pd->power) in uda134x_set_bias_level()
386 pd->power(0); in uda134x_set_bias_level()
519 if (pd->power) in uda134x_soc_probe()
520 pd->power(1); in uda134x_soc_probe()
Dwm8400.c42 static struct regulator_bulk_data power[] = { variable
1205 ret = regulator_bulk_enable(ARRAY_SIZE(power), in wm8400_set_bias_level()
1206 &power[0]); in wm8400_set_bias_level()
1283 ret = regulator_bulk_disable(ARRAY_SIZE(power), in wm8400_set_bias_level()
1284 &power[0]); in wm8400_set_bias_level()
1377 ARRAY_SIZE(power), &power[0]); in wm8400_codec_probe()
Dtpa6130a2.c124 static int tpa6130a2_power(u8 power) in tpa6130a2_power() argument
134 if (power == data->power_state) in tpa6130a2_power()
137 if (power) { in tpa6130a2_power()
Dtlv320aic3x.c83 int power; member
1144 static int aic3x_set_power(struct snd_soc_codec *codec, int power) in aic3x_set_power() argument
1150 if (power) { in aic3x_set_power()
1155 aic3x->power = 1; in aic3x_set_power()
1183 aic3x->power = 0; in aic3x_set_power()
1210 if (!aic3x->power) in aic3x_set_bias_level()
1220 if (aic3x->power) in aic3x_set_bias_level()
Dtlv320dac33.c348 static inline void dac33_soft_power(struct snd_soc_codec *codec, int power) in dac33_soft_power() argument
353 if (power) in dac33_soft_power()
376 static int dac33_hard_power(struct snd_soc_codec *codec, int power) in dac33_hard_power() argument
384 if (unlikely(power == dac33->chip_power)) { in dac33_hard_power()
386 power ? "ON" : "OFF"); in dac33_hard_power()
390 if (power) { in dac33_hard_power()
Dwm8960.c697 if (wm8960->lout1 && wm8960->lout1->power) in wm8960_set_bias_level_capless()
699 if (wm8960->rout1 && wm8960->rout1->power) in wm8960_set_bias_level_capless()
701 if (wm8960->out3 && wm8960->out3->power) in wm8960_set_bias_level_capless()
/sound/soc/
Dsoc-dapm.c1254 int power, ret; in dapm_seq_check_event() local
1259 power = 1; in dapm_seq_check_event()
1263 power = 1; in dapm_seq_check_event()
1267 power = 0; in dapm_seq_check_event()
1271 power = 0; in dapm_seq_check_event()
1278 if (w->power != power) in dapm_seq_check_event()
1299 int reg, power; in dapm_seq_run_coalesced() local
1312 power = !w->power; in dapm_seq_run_coalesced()
1314 power = w->power; in dapm_seq_run_coalesced()
1317 if (power) in dapm_seq_run_coalesced()
[all …]
DKconfig18 ASoC provides power efficient ALSA support for embedded battery powered
/sound/drivers/
DKconfig189 Say Y here to enable the aggressive power-saving support of
190 AC97 codecs. In this mode, the power-mode is dynamically
197 put the AC97 into power-save mode; a value of 0 (zero)
198 disables the use of this power-save mode.
214 int "Default time-out for AC97 power-save mode"
219 power-save mode. 0 means to disable the power-save mode.
/sound/soc/pxa/
Dmioa701_wm9713.c64 static int rear_amp_power(struct snd_soc_codec *codec, int power) in rear_amp_power() argument
68 if (power) { in rear_amp_power()
/sound/pci/ac97/
Dac97_codec.c2309 unsigned short power; in snd_ac97_powerdown() local
2318 power = ac97->regs[AC97_EXTENDED_STATUS]; in snd_ac97_powerdown()
2320 power |= AC97_EA_PRJ; in snd_ac97_powerdown()
2322 power |= AC97_EA_PRI | AC97_EA_PRK; in snd_ac97_powerdown()
2323 power |= AC97_EA_PRL; in snd_ac97_powerdown()
2324 snd_ac97_write(ac97, AC97_EXTENDED_STATUS, power); in snd_ac97_powerdown()
2328 power = ac97->regs[AC97_POWERDOWN] & ~AC97_PD_EAPD; in snd_ac97_powerdown()
2330 power = ac97->regs[AC97_POWERDOWN] | AC97_PD_EAPD; in snd_ac97_powerdown()
2331 power |= AC97_PD_PR6; /* Headphone amplifier powerdown */ in snd_ac97_powerdown()
2332 power |= AC97_PD_PR0 | AC97_PD_PR1; /* ADC & DAC powerdown */ in snd_ac97_powerdown()
[all …]
/sound/pci/ice1712/
Dpsc724.c196 u16 power = spec->wm8776.regs[WM8776_REG_PWRDOWN] & ~WM8776_PWR_HPPD; in psc724_set_jack_state() local
200 power |= WM8776_PWR_HPPD; in psc724_set_jack_state()
201 snd_wm8776_set_power(&spec->wm8776, power); in psc724_set_jack_state()
Dwm8766.c194 void snd_wm8766_set_power(struct snd_wm8766 *wm, u16 power) in snd_wm8766_set_power() argument
198 power &= WM8766_DAC3_POWER_MASK; in snd_wm8766_set_power()
199 snd_wm8766_write(wm, WM8766_REG_DACCTRL3, val | power); in snd_wm8766_set_power()
Dwm8766.h159 void snd_wm8766_set_power(struct snd_wm8766 *wm, u16 power);
Dwm8776.h222 void snd_wm8776_set_power(struct snd_wm8776 *wm, u16 power);
Dwm8776.c470 void snd_wm8776_set_power(struct snd_wm8776 *wm, u16 power) in snd_wm8776_set_power() argument
472 snd_wm8776_write(wm, WM8776_REG_PWRDOWN, power); in snd_wm8776_set_power()
/sound/soc/samsung/
Ds3c24xx_uda134x.c292 s3c24xx_uda134x.power = s3c24xx_uda134x_l3_pins->power; in s3c24xx_uda134x_probe()
/sound/pci/hda/
DKconfig250 int "Default time-out for HD-audio power-save mode"
255 power-save mode. 0 means to disable the power-save mode.
Dhda_intel.c1376 if (chip->pci->dev.power.runtime_status != RPM_ACTIVE) in azx_interrupt()
/sound/pci/echoaudio/
Dechoaudio.c1659 int power, changed = 0; in snd_echo_phantom_power_put() local
1661 power = !!ucontrol->value.integer.value[0]; in snd_echo_phantom_power_put()
1662 if (chip->phantom_power != power) { in snd_echo_phantom_power_put()
1664 changed = set_phantom_power(chip, power); in snd_echo_phantom_power_put()
/sound/pci/ca0106/
Dca0106_main.c539 int power) in snd_ca0106_pcm_power_dac() argument
547 if (power) in snd_ca0106_pcm_power_dac()