summaryrefslogtreecommitdiff
path: root/include/linux/mfd/qcom_rpm.h
blob: 4b6b644f11088a6a67ca8008b4e4b6ffa23c814d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __QCOM_RPM_H__
#define __QCOM_RPM_H__

#include <linux/types.h>

struct qcom_rpm;

#define QCOM_RPM_ACTIVE_STATE	0
#define QCOM_RPM_SLEEP_STATE	1

int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count);

#endif