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 _PLF_TRACE_H_ |
| 15 | #define _PLF_TRACE_H_ |
| 16 | |
| 17 | #include "core_plf_trace.h" |
| 18 | |
| 19 | #define HVALUE_SIZE 9 /* 8 chars (max value ffffffff) + 1 char (',' or NULL) */ |
| 20 | #define DVALUE_SIZE 12 /* 10 chars (max value 4,294,967,295) + 1 char (',' or NULL) */ |
| 21 | |
| 22 | void ms_emi(const unsigned char cnt, unsigned int *value); |
| 23 | void ms_emi_tsct(const unsigned char cnt, unsigned int *value); |
| 24 | void ms_emi_mdct(const unsigned char cnt, unsigned int *value); |
| 25 | |
| 26 | void ms_ttype(const unsigned char cnt, unsigned int *value); |
| 27 | void ms_bw_limiter(const unsigned char cnt, unsigned int *value); |
| 28 | |
| 29 | void ms_dramc(const unsigned char cnt, unsigned int *value); |
| 30 | |
| 31 | void ms_emi_ext(const unsigned char cnt, unsigned int *value); |
| 32 | |
| 33 | #endif /* _PLF_TRACE_H_ */ |