blob: 8aabc5c7e2523d81cb7e7d42cdc80d41207ee192 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001/*
2 * Copyright (C) 2018 MediaTek Inc.
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#ifndef _STAT_H_
15#define _STAT_H_
16
17#include <linux/device.h>
18
19extern struct metdevice met_stat;
20
21int stat_reg(struct kobject *parent);
22void stat_unreg(void);
23
24void stat_start(void);
25void stat_stop(void);
26void stat_polling(unsigned long long stamp, int cpu);
27
28unsigned int get_ctrl_flags(void);
29
30#endif /* _STAT_H_ */