blob: 3fff6047395697dfa8672bbb38bad893a266474e [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 __ONDIEMET_H
15#define __ONDIEMET_H
16
17#include "ondiemet_log.h"
18
19extern void ondiemet_extract(void);
20extern void ondiemet_stop(void);
21extern void ondiemet_start(void);
22
23#define ONDIEMET_SSPM 0
24#define ONDIEMET_NUM 3 /* total number of supported */
25extern unsigned int ondiemet_module[];
26extern void sspm_start(void);
27extern void sspm_stop(void);
28extern void sspm_extract(void);
29extern int sspm_attr_init(struct device *dev);
30extern int sspm_attr_uninit(struct device *dev);
31
32extern int ondiemet_attr_init(struct device *dev);
33extern int ondiemet_attr_uninit(struct device *dev);
34
35extern int sspm_buffer_size;
36
37#endif /* __ONDIEMET_H */