1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * Copyright (c) 2011-2014, The Linux Foundati 3 * Copyright (c) 2011-2014, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2014,2015, Linaro Ltd. 4 * Copyright (c) 2014,2015, Linaro Ltd. 5 */ 5 */ 6 6 7 #ifndef __SPM_H__ 7 #ifndef __SPM_H__ 8 #define __SPM_H__ 8 #define __SPM_H__ 9 9 10 enum pm_sleep_mode { 10 enum pm_sleep_mode { 11 PM_SLEEP_MODE_STBY, 11 PM_SLEEP_MODE_STBY, 12 PM_SLEEP_MODE_RET, 12 PM_SLEEP_MODE_RET, 13 PM_SLEEP_MODE_SPC, 13 PM_SLEEP_MODE_SPC, 14 PM_SLEEP_MODE_PC, 14 PM_SLEEP_MODE_PC, 15 PM_SLEEP_MODE_NR, 15 PM_SLEEP_MODE_NR, 16 }; 16 }; 17 17 18 struct spm_driver_data; 18 struct spm_driver_data; 19 void spm_set_low_power_mode(struct spm_driver_ 19 void spm_set_low_power_mode(struct spm_driver_data *drv, 20 enum pm_sleep_mode 20 enum pm_sleep_mode mode); 21 21 22 #endif /* __SPM_H__ */ 22 #endif /* __SPM_H__ */ 23 23
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.