xref: /linux/include/linux/mfd/qcom_rpm.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1 /* SPDX-License-Identifier: GPL-2.0 */
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
15