kernel_samsung_a34x-permissive/drivers/misc/mediatek/scp/rv/scp_scpctl.h
2024-04-28 15:51:13 +02:00

31 lines
429 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2020 MediaTek Inc.
*/
#ifndef __SCP_SCPCTL_H__
#define __SCP_SCPCTL_H__
#include <linux/types.h>
enum SCPCTL_TYPE_E {
SCPCTL_TYPE_TMON,
SCPCTL_STRESS_TEST,
};
enum SCPCTL_OP_E {
SCPCTL_OP_INACTIVE = 0,
SCPCTL_OP_ACTIVE,
};
struct scpctl_cmd_s {
uint32_t type;
uint32_t op;
};
extern struct device_attribute dev_attr_scpctl;
#endif /* __SCP_SCPCTL_H__ */