![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * Copyright (c) 2015-2016 MediaTek Inc. 0004 * Author: Yong Wu <yong.wu@mediatek.com> 0005 */ 0006 #ifndef MTK_IOMMU_SMI_H 0007 #define MTK_IOMMU_SMI_H 0008 0009 #include <linux/bitops.h> 0010 #include <linux/device.h> 0011 0012 #if IS_ENABLED(CONFIG_MTK_SMI) 0013 0014 #define MTK_SMI_MMU_EN(port) BIT(port) 0015 0016 struct mtk_smi_larb_iommu { 0017 struct device *dev; 0018 unsigned int mmu; 0019 unsigned char bank[32]; 0020 }; 0021 0022 #endif 0023 0024 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |