Home
last modified time | relevance | path

Searched refs:power_state (Results 1 – 11 of 11) sorted by relevance

/sound/soc/codecs/
Dtpa6130a2.c51 u8 power_state:1; member
65 if (data->power_state) { in tpa6130a2_i2c_read()
87 if (data->power_state) { in tpa6130a2_i2c_write()
141 if (power == data->power_state) in tpa6130a2_power()
155 data->power_state = 1; in tpa6130a2_power()
163 data->power_state = 0; in tpa6130a2_power()
183 data->power_state = 0; in tpa6130a2_power()
/sound/pci/hda/
Dhda_codec.h196 unsigned int power_state);
385 unsigned int power_state);
557 unsigned int power_state);
Dhda_codec.c1376 hda_nid_t fg, unsigned int power_state);
1379 unsigned int power_state);
3935 unsigned int power_state) in snd_hda_codec_set_power_to_all() argument
3942 unsigned int state = power_state; in snd_hda_codec_set_power_to_all()
3946 state = codec->power_filter(codec, nid, power_state); in snd_hda_codec_set_power_to_all()
3947 if (state != power_state && power_state == AC_PWRST_D3) in snd_hda_codec_set_power_to_all()
3960 unsigned int power_state) in snd_hda_codec_get_supported_ps() argument
3966 if (sup & power_state) in snd_hda_codec_get_supported_ps()
3977 unsigned int power_state) in hda_sync_power_state() argument
3988 if (actual_state == power_state) in hda_sync_power_state()
[all …]
Dhda_generic.h335 unsigned int power_state);
Dpatch_realtek.c3264 unsigned int power_state) in led_power_filter() argument
3268 if (power_state != AC_PWRST_D3 || nid == 0 || in led_power_filter()
3270 return power_state; in led_power_filter()
4310 unsigned int power_state) in alc_power_filter_xps13() argument
4318 return power_state; in alc_power_filter_xps13()
6408 unsigned int power_state) in gpio_led_power_filter() argument
6411 if (nid == codec->afg && power_state == AC_PWRST_D3 && spec->gpio_led) in gpio_led_power_filter()
6413 return power_state; in gpio_led_power_filter()
Dpatch_hdmi.c2323 unsigned int power_state) in haswell_set_power_state() argument
2325 if (power_state == AC_PWRST_D0) { in haswell_set_power_state()
2330 snd_hda_codec_read(codec, fg, 0, AC_VERB_SET_POWER_STATE, power_state); in haswell_set_power_state()
2331 snd_hda_codec_set_power_to_all(codec, fg, power_state); in haswell_set_power_state()
Dhda_local.h705 unsigned int power_state);
Dpatch_sigmatel.c389 unsigned int power_state) in stac_vref_led_power_filter() argument
391 if (nid == codec->afg && power_state == AC_PWRST_D3) in stac_vref_led_power_filter()
393 return snd_hda_gen_path_power_filter(codec, nid, power_state); in stac_vref_led_power_filter()
Dhda_generic.c4392 unsigned int power_state) in snd_hda_gen_path_power_filter() argument
4394 if (power_state != AC_PWRST_D0 || nid == codec->afg) in snd_hda_gen_path_power_filter()
4395 return power_state; in snd_hda_gen_path_power_filter()
4397 return power_state; in snd_hda_gen_path_power_filter()
4399 return power_state; in snd_hda_gen_path_power_filter()
/sound/core/
Dinit.c963 int snd_power_wait(struct snd_card *card, unsigned int power_state) in snd_power_wait() argument
969 if (snd_power_get_state(card) == power_state) in snd_power_wait()
978 if (snd_power_get_state(card) == power_state) in snd_power_wait()
Dcontrol.c1424 return put_user(card->power_state, ip) ? -EFAULT : 0; in snd_ctl_ioctl()