Lines Matching full:power_state

808 				unsigned int power_state);
1022 codec->core.dev.power.power_state = PMSG_ON; in snd_hda_codec_device_new()
2735 * @power_state: the power state to set (AC_PWRST_*)
2742 unsigned int power_state) in snd_hda_codec_set_power_to_all() argument
2748 unsigned int state = power_state; in snd_hda_codec_set_power_to_all()
2752 state = codec->power_filter(codec, nid, power_state); in snd_hda_codec_set_power_to_all()
2753 if (state != power_state && power_state == AC_PWRST_D3) in snd_hda_codec_set_power_to_all()
2766 * @power_state: power state to evalue
2773 unsigned int power_state) in snd_hda_codec_eapd_power_filter() argument
2776 return power_state; in snd_hda_codec_eapd_power_filter()
2777 if (power_state == AC_PWRST_D3 && in snd_hda_codec_eapd_power_filter()
2785 return power_state; in snd_hda_codec_eapd_power_filter()
2793 unsigned int power_state) in hda_set_power_state() argument
2801 if (power_state == AC_PWRST_D3) { in hda_set_power_state()
2813 power_state); in hda_set_power_state()
2815 state = power_state; in hda_set_power_state()
2818 if (state == power_state || power_state != AC_PWRST_D3) in hda_set_power_state()
2822 snd_hda_codec_set_power_to_all(codec, fg, power_state); in hda_set_power_state()
2824 state = snd_hda_sync_power_state(codec, fg, power_state); in hda_set_power_state()
2931 codec->core.dev.power.power_state = PMSG_ON; in hda_call_codec_resume()
2954 (dev->power.power_state.event != PM_EVENT_SUSPEND)) in hda_codec_runtime_suspend()
2980 dev->power.power_state = PMSG_SUSPEND; in hda_codec_pm_prepare()
2989 if (dev->power.power_state.event == PM_EVENT_SUSPEND) in hda_codec_pm_complete()
2990 dev->power.power_state = PMSG_RESUME; in hda_codec_pm_complete()
2999 dev->power.power_state = PMSG_SUSPEND; in hda_codec_pm_suspend()
3005 dev->power.power_state = PMSG_RESUME; in hda_codec_pm_resume()
3014 dev->power.power_state = PMSG_FREEZE; in hda_codec_pm_freeze()
3020 dev->power.power_state = PMSG_THAW; in hda_codec_pm_thaw()
3026 dev->power.power_state = PMSG_RESTORE; in hda_codec_pm_restore()