Searched refs:iommu_ops (Results 1 – 13 of 13) sorted by relevance
/xen/xen/include/asm-x86/ |
A D | iommu.h | 60 extern struct iommu_ops iommu_ops; 66 alternative_call(iommu_ops.fn, ## args); \ 71 alternative_vcall(iommu_ops.fn, ## args); \ 75 static inline const struct iommu_ops *iommu_get_ops(void) in iommu_get_ops() 77 BUG_ON(!iommu_ops.init); in iommu_get_ops() 78 return &iommu_ops; in iommu_get_ops() 82 const struct iommu_ops *ops; 95 return iommu_ops.adjust_irq_affinities in iommu_adjust_irq_affinities() 96 ? iommu_ops.adjust_irq_affinities() in iommu_adjust_irq_affinities() 111 if ( x2apic_enabled && iommu_ops.disable_x2apic ) in iommu_disable_x2apic() [all …]
|
/xen/xen/drivers/passthrough/arm/ |
A D | iommu.c | 30 static const struct iommu_ops *iommu_ops; variable 32 const struct iommu_ops *iommu_get_ops(void) in iommu_get_ops() 34 return iommu_ops; in iommu_get_ops() 37 void __init iommu_set_ops(const struct iommu_ops *ops) in iommu_set_ops() 41 if ( iommu_ops && iommu_ops != ops ) in iommu_set_ops() 47 iommu_ops = ops; in iommu_set_ops()
|
A D | ipmmu-vmsa.c | 1299 static const struct iommu_ops ipmmu_iommu_ops =
|
A D | smmu.c | 1996 static const struct iommu_ops arm_smmu_ops = { 2736 static const struct iommu_ops arm_smmu_iommu_ops = {
|
/xen/xen/drivers/passthrough/x86/ |
A D | iommu.c | 28 struct iommu_ops __read_mostly iommu_ops; variable 54 if ( !iommu_ops.init ) in iommu_hardware_setup() 55 iommu_ops = *iommu_init_ops->ops; in iommu_hardware_setup() 58 ASSERT(iommu_ops.init == iommu_init_ops->ops->init); in iommu_hardware_setup() 100 iommu_ops = *iommu_init_ops->ops; in iommu_enable_x2apic() 105 if ( !iommu_ops.enable_x2apic ) in iommu_enable_x2apic() 108 return iommu_ops.enable_x2apic(); in iommu_enable_x2apic() 114 iommu_vcall(&iommu_ops, update_ire_from_apic, apic, reg, value); in iommu_update_ire_from_apic() 119 return iommu_call(&iommu_ops, read_apic_from_ire, apic, reg); in iommu_read_apic_from_ire() 124 const struct iommu_ops *ops = iommu_get_ops(); in iommu_setup_hpet_msi()
|
/xen/xen/include/asm-arm/ |
A D | iommu.h | 23 const struct iommu_ops *iommu_get_ops(void); 24 void iommu_set_ops(const struct iommu_ops *ops);
|
/xen/xen/include/xen/ |
A D | iommu.h | 236 struct iommu_ops { struct 314 const struct iommu_ops *platform_ops;
|
/xen/xen/drivers/passthrough/vtd/ |
A D | extern.h | 31 extern const struct iommu_ops intel_iommu_ops;
|
A D | iommu.c | 2740 const struct iommu_ops __initconstrel intel_iommu_ops = {
|
/xen/xen/drivers/passthrough/ |
A D | iommu.c | 576 const struct iommu_ops *ops; in iommu_get_reserved_device_memory() 596 const struct iommu_ops *ops; in iommu_dump_p2m_table()
|
A D | device_tree.c | 132 const struct iommu_ops *ops = iommu_get_ops(); in iommu_add_dt_device()
|
A D | pci.c | 1395 ? iommu_call(&iommu_ops, update_ire_from_msi, msi_desc, msg) : 0; in iommu_update_ire_from_msi() 1402 iommu_vcall(&iommu_ops, read_msi_from_ire, msi_desc, msg); in iommu_read_msi_from_ire() 1571 const struct iommu_ops *ops = hd->platform_ops; in iommu_get_device_group()
|
/xen/xen/drivers/passthrough/amd/ |
A D | pci_amd_iommu.c | 618 static const struct iommu_ops __initconstrel _iommu_ops = {
|
Completed in 27 milliseconds