drm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic()
[drm/drm-misc.git] / include / soc / qcom / spm.h
blob5b263c6858127cd0cbd92603db6eada8dc3c6d17
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2014,2015, Linaro Ltd.
5 */
7 #ifndef __SPM_H__
8 #define __SPM_H__
10 enum pm_sleep_mode {
11 PM_SLEEP_MODE_STBY,
12 PM_SLEEP_MODE_RET,
13 PM_SLEEP_MODE_SPC,
14 PM_SLEEP_MODE_PC,
15 PM_SLEEP_MODE_NR,
18 struct spm_driver_data;
19 void spm_set_low_power_mode(struct spm_driver_data *drv,
20 enum pm_sleep_mode mode);
22 #endif /* __SPM_H__ */