| /* |
| * Copyright (C) 2018 MediaTek Inc. |
| * |
| * This program is free software: you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| * |
| * This program is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| */ |
| |
| #ifndef _PLF_TRACE_H_ |
| #define _PLF_TRACE_H_ |
| |
| #include "core_plf_trace.h" |
| |
| #define HVALUE_SIZE 9 /* 8 chars (max value ffffffff) + 1 char (',' or NULL) */ |
| #define DVALUE_SIZE 12 /* 10 chars (max value 4,294,967,295) + 1 char (',' or NULL) */ |
| |
| void ms_emi(const unsigned char cnt, unsigned int *value); |
| void ms_emi_tsct(const unsigned char cnt, unsigned int *value); |
| void ms_emi_mdct(const unsigned char cnt, unsigned int *value); |
| |
| void ms_ttype(const unsigned char cnt, unsigned int *value); |
| void ms_bw_limiter(const unsigned char cnt, unsigned int *value); |
| |
| void ms_dramc(const unsigned char cnt, unsigned int *value); |
| |
| void ms_emi_ext(const unsigned char cnt, unsigned int *value); |
| |
| #endif /* _PLF_TRACE_H_ */ |