1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2024-11-19 13:27:49 +00:00
a155-U-u1/kernel-5.10/drivers/misc/mediatek/iommu/iommu_pseudo.h
2024-03-11 06:53:12 +11:00

23 lines
408 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2022 MediaTek Inc.
*/
#ifndef IOMMU_PSEUDO_H
#define IOMMU_PSEUDO_H
#include <public/trusted_mem_api.h>
enum mtk_iommu_sec_id {
SEC_ID_SEC_CAM = 0,
SEC_ID_SVP,
SEC_ID_SDSP,
SEC_ID_WFD,
SEC_ID_COUNT
};
int mtk_iommu_sec_init(int mtk_iommu_sec_id);
bool is_disable_map_sec(void);
int tmem_type2sec_id(enum TRUSTED_MEM_REQ_TYPE tmem);
#endif