Home
last modified time | relevance | path

Searched refs:iommu_fwspec (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/iommu/
Dqcom_iommu.c77 static struct qcom_iommu_dev * to_iommu(struct iommu_fwspec *fwspec) in to_iommu()
84 static struct qcom_iommu_ctx * to_ctx(struct iommu_fwspec *fwspec, unsigned asid) in to_ctx()
118 struct iommu_fwspec *fwspec = cookie; in qcom_iommu_tlb_sync()
136 struct iommu_fwspec *fwspec = cookie; in qcom_iommu_tlb_inv_context()
150 struct iommu_fwspec *fwspec = cookie; in qcom_iommu_tlb_inv_range_nosync()
225 struct iommu_fwspec *fwspec) in qcom_iommu_init_domain()
369 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in qcom_iommu_attach_dev()
403 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in qcom_iommu_detach_dev()
565 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in qcom_iommu_of_xlate()
Dmtk_iommu_v1.c203 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in mtk_iommu_config()
368 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in mtk_iommu_create_mapping()
421 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in mtk_iommu_add_device()
475 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in mtk_iommu_remove_device()
Dmtk_iommu.c297 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in mtk_iommu_config()
479 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in mtk_iommu_add_device()
499 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in mtk_iommu_remove_device()
532 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in mtk_iommu_of_xlate()
Dvirtio-iommu.c469 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in viommu_probe_endpoint()
651 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in viommu_attach_dev()
811 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in viommu_get_resv_regions()
872 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in viommu_add_device()
927 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in viommu_remove_device()
Dipmmu-vmsa.c89 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in to_ipmmu()
665 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in ipmmu_attach_device()
714 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in ipmmu_detach_device()
772 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in ipmmu_init_platform_device()
Dof_iommu.c155 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in of_iommu_configure()
Darm-smmu.c1009 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in arm_smmu_master_alloc_smes()
1068 static void arm_smmu_master_free_smes(struct iommu_fwspec *fwspec) in arm_smmu_master_free_smes()
1084 struct iommu_fwspec *fwspec) in arm_smmu_domain_add_master()
1112 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in arm_smmu_attach_dev()
1316 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in arm_smmu_add_device()
1390 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in arm_smmu_remove_device()
1417 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in arm_smmu_device_group()
Dtegra-gart.c250 if (!dev->iommu_fwspec) in gart_iommu_add_device()
Diommu.c2294 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in iommu_fwspec_init()
2313 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in iommu_fwspec_free()
2325 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in iommu_fwspec_add_ids()
2332 size = offsetof(struct iommu_fwspec, ids[fwspec->num_ids + num_ids]); in iommu_fwspec_add_ids()
Darm-smmu-v3.c2319 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(master->dev); in arm_smmu_ats_supported()
2398 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in arm_smmu_attach_dev()
2532 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in arm_smmu_add_device()
2586 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in arm_smmu_remove_device()
Dtegra-smmu.c867 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in tegra_smmu_device_group()
/Linux-v5.4/include/linux/
Diommu.h554 struct iommu_fwspec { struct
580 static inline struct iommu_fwspec *dev_iommu_fwspec_get(struct device *dev) in dev_iommu_fwspec_get() argument
582 return dev->iommu_fwspec; in dev_iommu_fwspec_get()
586 struct iommu_fwspec *fwspec) in dev_iommu_fwspec_set()
588 dev->iommu_fwspec = fwspec; in dev_iommu_fwspec_set()
614 struct iommu_fwspec {}; struct
Ddevice.h43 struct iommu_fwspec;
1308 struct iommu_fwspec *iommu_fwspec; member
/Linux-v5.4/drivers/acpi/arm64/
Diort.c752 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in iort_get_msi_resv_iommu()
769 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in iort_fwspec_iommu_ops()
798 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in iort_iommu_msi_get_resv_regions()
964 dev->iommu_fwspec->flags |= IOMMU_FWSPEC_PCI_RC_ATS; in iort_iommu_configure()
/Linux-v5.4/drivers/gpu/host1x/hw/
Dchannel_hw.c109 struct iommu_fwspec *spec = dev_iommu_fwspec_get(channel->dev->parent); in host1x_channel_set_streamid()
/Linux-v5.4/drivers/gpu/drm/tegra/
Dvic.c109 struct iommu_fwspec *spec = dev_iommu_fwspec_get(vic->dev); in vic_boot()
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c728 if (!iommu_dev->iommu_fwspec) in mdp5_kms_init()