blob: 3d7bd0c6612fe7bc4e9740de1605e787cf09e7a3 [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 _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
22void ms_emi(const unsigned char cnt, unsigned int *value);
23void ms_emi_tsct(const unsigned char cnt, unsigned int *value);
24void ms_emi_mdct(const unsigned char cnt, unsigned int *value);
25
26void ms_ttype(const unsigned char cnt, unsigned int *value);
27void ms_bw_limiter(const unsigned char cnt, unsigned int *value);
28
29void ms_dramc(const unsigned char cnt, unsigned int *value);
30
31void ms_emi_ext(const unsigned char cnt, unsigned int *value);
32
33#endif /* _PLF_TRACE_H_ */