blob: ee63a8eecb3aedb5de8466e4d3c1f15f8b34bcb6 [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (c) 2019 MediaTek Inc.
4 */
5
6#ifndef _MET_STRUCT_H_
7#define _MET_STRUCT_H_
8
9#include <linux/hrtimer.h>
10
11struct met_cpu_struct {
12 struct hrtimer hrtimer;
13 struct delayed_work dwork;
14/* struct kmem_cache *cachep; */
15/* struct list_head sample_head; */
16/* spinlock_t list_lock; */
17/* struct mutex list_sync_lock; */
18 int work_enabled;
19 int cpu;
20 int hrtimer_online_check;
21/* char name[16]; */
22};
23
24DECLARE_PER_CPU(struct met_cpu_struct, met_cpu);
25
26#endif /* _MET_STRUCT_H_ */