Home
last modified time | relevance | path

Searched refs:iommu_mm (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/iommu/
H A Diommu-sva.c22 struct iommu_mm_data *iommu_mm; in iommu_alloc_mm_data() local
30 iommu_mm = mm->iommu_mm; in iommu_alloc_mm_data()
32 if (iommu_mm) { in iommu_alloc_mm_data()
33 if (iommu_mm->pasid >= dev->iommu->max_pasids) in iommu_alloc_mm_data()
35 return iommu_mm; in iommu_alloc_mm_data()
38 iommu_mm = kzalloc_obj(struct iommu_mm_data); in iommu_alloc_mm_data()
39 if (!iommu_mm) in iommu_alloc_mm_data()
44 kfree(iommu_mm); in iommu_alloc_mm_data()
47 iommu_mm->pasid = pasid; in iommu_alloc_mm_data()
48 iommu_mm->mm = mm; in iommu_alloc_mm_data()
[all …]
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8186.dtsi1827 iommus = <&iommu_mm IOMMU_PORT_L0_OVL_RDMA0>;
1837 iommus = <&iommu_mm IOMMU_PORT_L1_OVL_2L_RDMA0>;
1847 iommus = <&iommu_mm IOMMU_PORT_L1_DISP_RDMA0>;
1944 iommu_mm: iommu@14016000 { label
1963 iommus = <&iommu_mm IOMMU_PORT_L1_DISP_RDMA1>;
2026 iommus = <&iommu_mm IOMMU_PORT_L4_HW_VDEC_MC_EXT>;
2033 iommus = <&iommu_mm IOMMU_PORT_L4_HW_VDEC_MC_EXT>,
2034 <&iommu_mm IOMMU_PORT_L4_HW_VDEC_UFO_EXT>,
2035 <&iommu_mm IOMMU_PORT_L4_HW_VDEC_PP_EXT>,
2036 <&iommu_mm IOMMU_PORT_L4_HW_VDEC_PRED_RD_EXT>,
[all …]
/linux/include/linux/
H A Diommu.h1617 mm->iommu_mm = NULL; in mm_pasid_init()
1622 return READ_ONCE(mm->iommu_mm); in mm_valid_pasid()
1627 struct iommu_mm_data *iommu_mm = READ_ONCE(mm->iommu_mm); in mm_get_enqcmd_pasid() local
1629 if (!iommu_mm) in mm_get_enqcmd_pasid()
1631 return iommu_mm->pasid; in mm_get_enqcmd_pasid()
H A Dmm_types.h1389 struct iommu_mm_data *iommu_mm; member