Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
29 lines
469 B
C
29 lines
469 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2019 MediaTek Inc.
|
|
*/
|
|
|
|
|
|
#ifndef __EDMA_DBGFS_H__
|
|
#define __EDMA_DBGFS_H__
|
|
|
|
int edma_create_sysfs(struct device *dev);
|
|
void edma_remove_sysfs(struct device *dev);
|
|
int edma_dbg_check_ststus(int check_status);
|
|
|
|
enum edma_dbg_cfg {
|
|
EDMA_DBG_DISABLE_PWR_OFF = 0x1,
|
|
EDMA_DBG_ALL = 0xFFFFFFF,
|
|
};
|
|
|
|
enum {
|
|
EDMA_LOG_WARN,
|
|
EDMA_LOG_INFO,
|
|
EDMA_LOG_DEBUG,
|
|
};
|
|
|
|
extern u8 g_edma_log_lv;
|
|
|
|
|
|
#endif /* __EDMA_DBGFS_H__ */
|