This source file includes following definitions.
- wcn36xx_debugfs_init
- wcn36xx_debugfs_exit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 #ifndef _WCN36XX_DEBUG_H_
18 #define _WCN36XX_DEBUG_H_
19
20 #include <linux/kernel.h>
21
22 #define WCN36xx_MAX_DUMP_ARGS 5
23
24 #ifdef CONFIG_WCN36XX_DEBUGFS
25 struct wcn36xx_dfs_file {
26 struct dentry *dentry;
27 u32 value;
28 };
29
30 struct wcn36xx_dfs_entry {
31 struct dentry *rootdir;
32 struct wcn36xx_dfs_file file_bmps_switcher;
33 struct wcn36xx_dfs_file file_dump;
34 };
35
36 void wcn36xx_debugfs_init(struct wcn36xx *wcn);
37 void wcn36xx_debugfs_exit(struct wcn36xx *wcn);
38
39 #else
40 static inline void wcn36xx_debugfs_init(struct wcn36xx *wcn)
41 {
42 }
43 static inline void wcn36xx_debugfs_exit(struct wcn36xx *wcn)
44 {
45 }
46
47 #endif
48
49 #endif