Lines Matching full:power_state
799 unsigned int power_state);
990 codec->core.dev.power.power_state = PMSG_ON; in snd_hda_codec_device_new()
2741 * @power_state: the power state to set (AC_PWRST_*)
2748 unsigned int power_state) in snd_hda_codec_set_power_to_all() argument
2754 unsigned int state = power_state; in snd_hda_codec_set_power_to_all()
2758 state = codec->power_filter(codec, nid, power_state); in snd_hda_codec_set_power_to_all()
2759 if (state != power_state && power_state == AC_PWRST_D3) in snd_hda_codec_set_power_to_all()
2772 * @power_state: power state to evalue
2779 unsigned int power_state) in snd_hda_codec_eapd_power_filter() argument
2782 return power_state; in snd_hda_codec_eapd_power_filter()
2783 if (power_state == AC_PWRST_D3 && in snd_hda_codec_eapd_power_filter()
2791 return power_state; in snd_hda_codec_eapd_power_filter()
2799 unsigned int power_state) in hda_set_power_state() argument
2807 if (power_state == AC_PWRST_D3) { in hda_set_power_state()
2819 power_state); in hda_set_power_state()
2821 state = power_state; in hda_set_power_state()
2824 if (state == power_state || power_state != AC_PWRST_D3) in hda_set_power_state()
2828 snd_hda_codec_set_power_to_all(codec, fg, power_state); in hda_set_power_state()
2830 state = snd_hda_sync_power_state(codec, fg, power_state); in hda_set_power_state()
2937 codec->core.dev.power.power_state = PMSG_ON; in hda_call_codec_resume()
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()
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()