1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __QCOM_RPM_H__ 2 #ifndef __QCOM_RPM_H__ 3 #define __QCOM_RPM_H__ 3 #define __QCOM_RPM_H__ 4 4 5 #include <linux/types.h> 5 #include <linux/types.h> 6 6 7 struct qcom_rpm; 7 struct qcom_rpm; 8 8 9 #define QCOM_RPM_ACTIVE_STATE 0 9 #define QCOM_RPM_ACTIVE_STATE 0 10 #define QCOM_RPM_SLEEP_STATE 1 10 #define QCOM_RPM_SLEEP_STATE 1 11 11 12 int qcom_rpm_write(struct qcom_rpm *rpm, int s 12 int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count); 13 13 14 #endif 14 #endif 15 15
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.