Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/
Diommu-sva.c19 struct iommu_mm_data *iommu_mm; in iommu_alloc_mm_data() local
27 iommu_mm = mm->iommu_mm; in iommu_alloc_mm_data()
29 if (iommu_mm) { in iommu_alloc_mm_data()
30 if (iommu_mm->pasid >= dev->iommu->max_pasids) in iommu_alloc_mm_data()
32 return iommu_mm; in iommu_alloc_mm_data()
35 iommu_mm = kzalloc(sizeof(struct iommu_mm_data), GFP_KERNEL); in iommu_alloc_mm_data()
36 if (!iommu_mm) in iommu_alloc_mm_data()
41 kfree(iommu_mm); in iommu_alloc_mm_data()
44 iommu_mm->pasid = pasid; in iommu_alloc_mm_data()
45 INIT_LIST_HEAD(&iommu_mm->sva_domains); in iommu_alloc_mm_data()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
Dmt8186.dtsi1820 iommus = <&iommu_mm IOMMU_PORT_L0_OVL_RDMA0>;
1830 iommus = <&iommu_mm IOMMU_PORT_L1_OVL_2L_RDMA0>;
1840 iommus = <&iommu_mm IOMMU_PORT_L1_DISP_RDMA0>;
1937 iommu_mm: iommu@14016000 { label
1956 iommus = <&iommu_mm IOMMU_PORT_L1_DISP_RDMA1>;
2019 iommus = <&iommu_mm IOMMU_PORT_L4_HW_VDEC_MC_EXT>;
2026 iommus = <&iommu_mm IOMMU_PORT_L4_HW_VDEC_MC_EXT>,
2027 <&iommu_mm IOMMU_PORT_L4_HW_VDEC_UFO_EXT>,
2028 <&iommu_mm IOMMU_PORT_L4_HW_VDEC_PP_EXT>,
2029 <&iommu_mm IOMMU_PORT_L4_HW_VDEC_PRED_RD_EXT>,
[all …]
/linux-6.12.1/include/linux/
Diommu.h1510 mm->iommu_mm = NULL; in mm_pasid_init()
1515 return READ_ONCE(mm->iommu_mm); in mm_valid_pasid()
1520 struct iommu_mm_data *iommu_mm = READ_ONCE(mm->iommu_mm); in mm_get_enqcmd_pasid() local
1522 if (!iommu_mm) in mm_get_enqcmd_pasid()
1524 return iommu_mm->pasid; in mm_get_enqcmd_pasid()
Dmm_types.h998 struct iommu_mm_data *iommu_mm; member