Home
last modified time | relevance | path

Searched refs:fwspec (Results 1 – 3 of 3) sorted by relevance

/xen/xen/drivers/passthrough/arm/
A Diommu_fwspec.c36 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 …]
A Dipmmu-vmsa.c277 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in to_ipmmu() local
279 return fwspec && fwspec->iommu_priv ? in to_ipmmu()
285 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in set_ipmmu() local
292 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in to_domain() local
294 return fwspec && fwspec->iommu_priv ? in to_domain()
300 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); in set_domain() local
700 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 …]
/xen/xen/include/asm-arm/
A Diommu_fwspec.h53 struct iommu_fwspec *fwspec) in dev_iommu_fwspec_set() argument
55 dev->iommu_fwspec = fwspec; in dev_iommu_fwspec_set()

Completed in 7 milliseconds