hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _WCN_PROCFS
#define _WCN_PROCFS
 
#define MDBG_SNAP_SHOOT_SIZE        (32*1024)
#define MDBG_WRITE_SIZE            (64)
#define MDBG_ASSERT_SIZE        (1024)
#define MDBG_LOOPCHECK_SIZE        (128)
#define MDBG_AT_CMD_SIZE        (128)
 
unsigned char *mdbg_get_at_cmd_buf(void);
int proc_fs_init(void);
int mdbg_memory_alloc(void);
void proc_fs_exit(void);
int get_loopcheck_status(void);
void wakeup_loopcheck_int(void);
void loopcheck_first_boot_clear(void);
void loopcheck_first_boot_set(void);
int prepare_free_buf(int chn, int size, int num);
#endif