Home
last modified time | relevance | path

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

12

/sound/soc/codecs/
Duda134x.c306 if (pd->power) { in uda134x_set_bias_level()
307 pd->power(1); in uda134x_set_bias_level()
315 if (pd->power) { in uda134x_set_bias_level()
316 pd->power(0); in uda134x_set_bias_level()
470 if (pd->power) in uda134x_soc_probe()
471 pd->power(1); in uda134x_soc_probe()
Dwm8400.c30 static struct regulator_bulk_data power[] = { variable
1141 ret = regulator_bulk_enable(ARRAY_SIZE(power), in wm8400_set_bias_level()
1142 &power[0]); in wm8400_set_bias_level()
1219 ret = regulator_bulk_disable(ARRAY_SIZE(power), in wm8400_set_bias_level()
1220 &power[0]); in wm8400_set_bias_level()
1288 ARRAY_SIZE(power), &power[0]); in wm8400_component_probe()
Dtlv320aic3x.c84 int power; member
1384 static int aic3x_set_power(struct snd_soc_component *component, int power) in aic3x_set_power() argument
1390 if (power) { in aic3x_set_power()
1395 aic3x->power = 1; in aic3x_set_power()
1431 aic3x->power = 0; in aic3x_set_power()
1458 if (!aic3x->power) in aic3x_set_bias_level()
1468 if (aic3x->power) in aic3x_set_bias_level()
Dtlv320dac33.c335 static inline void dac33_soft_power(struct snd_soc_component *component, int power) in dac33_soft_power() argument
340 if (power) in dac33_soft_power()
363 static int dac33_hard_power(struct snd_soc_component *component, int power) in dac33_hard_power() argument
371 if (unlikely(power == dac33->chip_power)) { in dac33_hard_power()
373 power ? "ON" : "OFF"); in dac33_hard_power()
377 if (power) { in dac33_hard_power()
Dwm8960.c1018 if (wm8960->lout1 && wm8960->lout1->power) in wm8960_set_bias_level_capless()
1020 if (wm8960->rout1 && wm8960->rout1->power) in wm8960_set_bias_level_capless()
1022 if (wm8960->out3 && wm8960->out3->power) in wm8960_set_bias_level_capless()
DKconfig1065 high-efficiency mono Class-D audio power amplifiers.
1116 tristate "Texas Instruments TAS571x power amplifiers"
1120 TAS5719 and TAS5721 power amplifiers
1127 Class-D audio power amplifiers.
1134 digital input quad-channel Class-D audio power amplifiers.
/sound/pci/pcxhr/
Dpcxhr_mix22.c682 static void hr222_phantom_power(struct pcxhr_mgr *mgr, int power) in hr222_phantom_power() argument
684 if (power) in hr222_phantom_power()
691 dev_dbg(&mgr->pci->dev, "hr222_phantom_power : set %d\n", power); in hr222_phantom_power()
813 int power, changed = 0; in hr222_phantom_power_put() local
816 power = !!ucontrol->value.integer.value[0]; in hr222_phantom_power_put()
817 if (chip->phantom_power != power) { in hr222_phantom_power_put()
818 hr222_phantom_power(chip->mgr, power); in hr222_phantom_power_put()
819 chip->phantom_power = power; in hr222_phantom_power_put()
/sound/drivers/
DKconfig205 Say Y here to enable the aggressive power-saving support of
206 AC97 codecs. In this mode, the power-mode is dynamically
213 put the AC97 into power-save mode; a value of 0 (zero)
214 disables the use of this power-save mode.
230 int "Default time-out for AC97 power-save mode"
235 power-save mode. 0 means to disable the power-save mode.
/sound/soc/pxa/
Dmioa701_wm9713.c49 static int rear_amp_power(struct snd_soc_component *component, int power) in rear_amp_power() argument
53 if (power) { in rear_amp_power()
/sound/soc/
Dsoc-dapm.c518 return data->widget->power; in dapm_kcontrol_is_powered()
607 w->new_power = w->power; in dapm_reset()
1524 int power, ret; in dapm_seq_check_event() local
1529 power = 1; in dapm_seq_check_event()
1533 power = 1; in dapm_seq_check_event()
1537 power = 0; in dapm_seq_check_event()
1541 power = 0; in dapm_seq_check_event()
1545 power = 1; in dapm_seq_check_event()
1549 power = 0; in dapm_seq_check_event()
1556 if (w->new_power != power) in dapm_seq_check_event()
[all …]
DKconfig18 ASoC provides power efficient ALSA support for embedded battery powered
/sound/soc/intel/atom/
Dsst-mfld-platform.h116 int (*power)(struct device *dev, bool state); member
129 int (*power)(struct device *dev, bool state); member
Dsst-atom-controls.c188 if (e->w && e->w->power) in sst_check_and_send_slot_map()
358 if (bc->w && bc->w->power) in sst_algo_control_set()
491 if (mc->w && mc->w->power) in sst_gain_put()
635 if (w->power) in sst_swm_mixer_event()
741 ret = sst->ops->power(sst->dev, true); in sst_handle_vb_timer()
769 sst->ops->power(sst->dev, false); in sst_handle_vb_timer()
1322 if (p->connect && p->sink->power && in sst_send_pipe_gains()
1341 if (p->connect && p->source->power && in sst_send_pipe_gains()
Dsst-mfld-platform-compress.c65 sst->compr_ops->power(sst->dev, true); in sst_platform_compr_open()
82 sst->compr_ops->power(sst->dev, false); in sst_platform_compr_free()
Dsst-mfld-platform-pcm.c294 return stream->ops->power(sst->dev, true); in power_up_sst()
299 stream->ops->power(sst->dev, false); in power_down_sst()
/sound/pci/ac97/
Dac97_codec.c2300 unsigned short power; in snd_ac97_powerdown() local
2309 power = ac97->regs[AC97_EXTENDED_STATUS]; in snd_ac97_powerdown()
2311 power |= AC97_EA_PRJ; in snd_ac97_powerdown()
2313 power |= AC97_EA_PRI | AC97_EA_PRK; in snd_ac97_powerdown()
2314 power |= AC97_EA_PRL; in snd_ac97_powerdown()
2315 snd_ac97_write(ac97, AC97_EXTENDED_STATUS, power); in snd_ac97_powerdown()
2319 power = ac97->regs[AC97_POWERDOWN] & ~AC97_PD_EAPD; in snd_ac97_powerdown()
2321 power = ac97->regs[AC97_POWERDOWN] | AC97_PD_EAPD; in snd_ac97_powerdown()
2322 power |= AC97_PD_PR6; /* Headphone amplifier powerdown */ in snd_ac97_powerdown()
2323 power |= AC97_PD_PR0 | AC97_PD_PR1; /* ADC & DAC powerdown */ in snd_ac97_powerdown()
[all …]
/sound/pci/ice1712/
Dpsc724.c182 u16 power = spec->wm8776.regs[WM8776_REG_PWRDOWN] & ~WM8776_PWR_HPPD; in psc724_set_jack_state() local
186 power |= WM8776_PWR_HPPD; in psc724_set_jack_state()
187 snd_wm8776_set_power(&spec->wm8776, power); in psc724_set_jack_state()
Dwm8776.h205 void snd_wm8776_set_power(struct snd_wm8776 *wm, u16 power);
Dwm8776.c441 void snd_wm8776_set_power(struct snd_wm8776 *wm, u16 power) in snd_wm8776_set_power() argument
443 snd_wm8776_write(wm, WM8776_REG_PWRDOWN, power); in snd_wm8776_set_power()
/sound/usb/
DMakefile17 power.o \
/sound/pci/hda/
DKconfig234 int "Default time-out for HD-audio power-save mode"
239 power-save mode. 0 means to disable the power-save mode.
Dhda_bind.c51 if (codec->core.dev.power.power_state.event != PM_EVENT_ON) in hda_codec_unsol_event()
Dhda_codec.c987 codec->core.dev.power.power_state = PMSG_ON; in snd_hda_codec_device_new()
2931 codec->core.dev.power.power_state = PMSG_ON; in hda_call_codec_resume()
2987 dev->power.power_state = PMSG_SUSPEND; in hda_codec_pm_suspend()
2993 dev->power.power_state = PMSG_RESUME; in hda_codec_pm_resume()
2999 dev->power.power_state = PMSG_FREEZE; in hda_codec_pm_freeze()
3005 dev->power.power_state = PMSG_THAW; in hda_codec_pm_thaw()
3011 dev->power.power_state = PMSG_RESTORE; in hda_codec_pm_restore()
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c38 #define GET_USAGE_COUNT(dev) (atomic_read(&dev->power.usage_count))
673 .power = sst_power_control,
690 .power = sst_power_control,
/sound/soc/sof/
Dtopology.c247 u32 power = 1 << fwl; in vol_pow32() local
252 return power; in vol_pow32()
266 power = vol_shift_64((u64)power * a, fwl); in vol_pow32()
271 return power; in vol_pow32()
276 do_div(numerator, power); in vol_pow32()

12