xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | ||||
3 | * Copyright (c) 2019 MediaTek Inc. | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef _STAT_H_ | ||||
7 | #define _STAT_H_ | ||||
8 | |||||
9 | #include <linux/device.h> | ||||
10 | |||||
11 | extern struct metdevice met_stat; | ||||
12 | |||||
13 | int stat_reg(struct kobject *parent); | ||||
14 | void stat_unreg(void); | ||||
15 | |||||
16 | void stat_start(void); | ||||
17 | void stat_stop(void); | ||||
18 | void stat_polling(unsigned long long stamp, int cpu); | ||||
19 | |||||
20 | unsigned int get_ctrl_flags(void); | ||||
21 | |||||
22 | #endif /* _STAT_H_ */ |