rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* |
| 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 | |
| 19 | extern void ondiemet_extract(void); |
| 20 | extern void ondiemet_stop(void); |
| 21 | extern void ondiemet_start(void); |
| 22 | |
| 23 | #define ONDIEMET_SSPM 0 |
| 24 | #define ONDIEMET_NUM 3 /* total number of supported */ |
| 25 | extern unsigned int ondiemet_module[]; |
| 26 | extern void sspm_start(void); |
| 27 | extern void sspm_stop(void); |
| 28 | extern void sspm_extract(void); |
| 29 | extern int sspm_attr_init(struct device *dev); |
| 30 | extern int sspm_attr_uninit(struct device *dev); |
| 31 | |
| 32 | extern int ondiemet_attr_init(struct device *dev); |
| 33 | extern int ondiemet_attr_uninit(struct device *dev); |
| 34 | |
| 35 | extern int sspm_buffer_size; |
| 36 | |
| 37 | #endif /* __ONDIEMET_H */ |