kernel_samsung_a34x-permissive/drivers/misc/mediatek/emi/submodule/bwl_v1.h
2024-04-28 15:49:01 +02:00

25 lines
523 B
C
Executable file

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2019 MediaTek Inc.
* Author: Sagy Shih <sagy.shih@mediatek.com>
*/
#ifndef __BWL_H__
#define __BWL_H__
struct scn_name_t {
char *name;
};
struct scn_reg_t {
unsigned int offset;
unsigned int value;
};
extern unsigned int decode_bwl_env(
unsigned int dram_type, unsigned int ch_num, unsigned int rk_num);
extern unsigned int acquire_bwl_ctrl(void __iomem *LAST_EMI_BASE);
extern void release_bwl_ctrl(void __iomem *LAST_EMI_BASE);
#endif /* __BWL_H__ */