Searched refs:fwspec (Results 1 – 3 of 3) sorted by relevance
36 if ( fwspec ) in iommu_fwspec_init()50 if ( !fwspec ) in iommu_fwspec_init()53 fwspec->iommu_dev = iommu_dev; in iommu_fwspec_init()54 dev_iommu_fwspec_set(dev, fwspec); in iommu_fwspec_init()63 xfree(fwspec); in iommu_fwspec_free()73 if ( !fwspec ) in iommu_fwspec_add_ids()76 fwspec = xrealloc_flex_struct(fwspec, ids, fwspec->num_ids + num_ids); in iommu_fwspec_add_ids()77 if ( !fwspec ) in iommu_fwspec_add_ids()80 dev_iommu_fwspec_set(dev, fwspec); in iommu_fwspec_add_ids()83 fwspec->ids[fwspec->num_ids + i] = ids[i]; in iommu_fwspec_add_ids()[all …]
277 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in to_ipmmu() local279 return fwspec && fwspec->iommu_priv ? in to_ipmmu()285 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in set_ipmmu() local292 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in to_domain() local294 return fwspec && fwspec->iommu_priv ? in to_domain()300 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in set_domain() local700 for ( i = 0; i < fwspec->num_ids; ++i ) in ipmmu_attach_device()722 for ( i = 0; i < fwspec->num_ids; ++i ) in ipmmu_detach_device()723 ipmmu_utlb_disable(domain, fwspec->ids[i]); in ipmmu_detach_device()737 if ( !fwspec->iommu_priv ) in ipmmu_init_platform_device()[all …]
53 struct iommu_fwspec *fwspec) in dev_iommu_fwspec_set() argument55 dev->iommu_fwspec = fwspec; in dev_iommu_fwspec_set()
Completed in 7 milliseconds