Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Bjorn Andersson | 58e2143 | 2014-11-26 13:51:00 -0800 | [diff] [blame] | 2 | #ifndef __QCOM_RPM_H__ |
3 | #define __QCOM_RPM_H__ | ||||
4 | |||||
5 | #include <linux/types.h> | ||||
6 | |||||
7 | struct qcom_rpm; | ||||
8 | |||||
9 | #define QCOM_RPM_ACTIVE_STATE 0 | ||||
10 | #define QCOM_RPM_SLEEP_STATE 1 | ||||
11 | |||||
12 | int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count); | ||||
13 | |||||
14 | #endif |