blob: 972924fef44b98fbf1bca7035901e2887738d074 [file] [log] [blame]
developere5e687d2023-08-08 16:05:33 +08001/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (c) 2023 MediaTek Inc. All Rights Reserved.
4 *
5 * Author: Alvin Kuo <alvin.kuog@mediatek.com>
6 * Ren-Ting Wang <ren-ting.wang@mediatek.com>
7 */
8
9#ifndef _TOPS_TRM_FS_H_
10#define _TOPS_TRM_FS_H_
11
12#define RLY_DUMP_SUBBUF_SZ 2048
13#define RLY_DUMP_SUBBUF_NUM 256
14
15bool mtk_trm_fs_is_init(void);
16void *mtk_trm_fs_relay_reserve(u32 size);
17void mtk_trm_fs_relay_flush(void);
18int mtk_trm_fs_init(void);
19void mtk_trm_fs_deinit(void);
20#endif /* _TOPS_TRM_FS_H_ */