developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame^] | 1 | /* 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 | |
| 15 | bool mtk_trm_fs_is_init(void); |
| 16 | void *mtk_trm_fs_relay_reserve(u32 size); |
| 17 | void mtk_trm_fs_relay_flush(void); |
| 18 | int mtk_trm_fs_init(void); |
| 19 | void mtk_trm_fs_deinit(void); |
| 20 | #endif /* _TOPS_TRM_FS_H_ */ |