Lines Matching full:power_state

810 				unsigned int power_state);
1026 codec->core.dev.power.power_state = PMSG_ON; in snd_hda_codec_device_new()
2728 * @power_state: the power state to set (AC_PWRST_*)
2735 unsigned int power_state) in snd_hda_codec_set_power_to_all() argument
2741 unsigned int state = power_state; in snd_hda_codec_set_power_to_all()
2745 state = codec->power_filter(codec, nid, power_state); in snd_hda_codec_set_power_to_all()
2746 if (state != power_state && power_state == AC_PWRST_D3) in snd_hda_codec_set_power_to_all()
2759 * @power_state: power state to evalue
2766 unsigned int power_state) in snd_hda_codec_eapd_power_filter() argument
2769 return power_state; in snd_hda_codec_eapd_power_filter()
2770 if (power_state == AC_PWRST_D3 && in snd_hda_codec_eapd_power_filter()
2778 return power_state; in snd_hda_codec_eapd_power_filter()
2786 unsigned int power_state) in hda_set_power_state() argument
2794 if (power_state == AC_PWRST_D3) { in hda_set_power_state()
2806 power_state); in hda_set_power_state()
2808 state = power_state; in hda_set_power_state()
2811 if (state == power_state || power_state != AC_PWRST_D3) in hda_set_power_state()
2815 snd_hda_codec_set_power_to_all(codec, fg, power_state); in hda_set_power_state()
2817 state = snd_hda_sync_power_state(codec, fg, power_state); in hda_set_power_state()
2925 codec->core.dev.power.power_state = PMSG_ON; in hda_call_codec_resume()
2948 (dev->power.power_state.event != PM_EVENT_SUSPEND)) in hda_codec_runtime_suspend()
2977 dev->power.power_state = PMSG_SUSPEND; in hda_codec_pm_prepare()
2986 if (dev->power.power_state.event == PM_EVENT_SUSPEND) in hda_codec_pm_complete()
2987 dev->power.power_state = PMSG_RESUME; in hda_codec_pm_complete()
2996 dev->power.power_state = PMSG_SUSPEND; in hda_codec_pm_suspend()
3002 dev->power.power_state = PMSG_RESUME; in hda_codec_pm_resume()
3011 dev->power.power_state = PMSG_FREEZE; in hda_codec_pm_freeze()
3017 dev->power.power_state = PMSG_THAW; in hda_codec_pm_thaw()
3023 dev->power.power_state = PMSG_RESTORE; in hda_codec_pm_restore()