Home
last modified time | relevance | path

Searched refs:msi_desc (Results 1 – 20 of 20) sorted by relevance

/xen/xen/drivers/passthrough/vtd/
A Dintremap.c602 struct msi_desc *msi_desc, struct msi_msg *msg) in msi_msg_to_remap_entry() argument
611 nr = msi_desc->msi.nvec; in msi_msg_to_remap_entry()
708 struct msi_desc *msi_desc, struct msi_msg *msg) in msi_msg_read_remap_rte() argument
722 struct msi_desc *msi_desc, struct msi_msg *msg) in msi_msg_write_remap_rte() argument
733 int __init intel_setup_hpet_msi(struct msi_desc *msi_desc) in intel_setup_hpet_msi() argument
957 struct msi_desc *msi_desc; in pi_update_irte() local
964 msi_desc = desc->msi_desc; in pi_update_irte()
965 if ( !msi_desc ) in pi_update_irte()
970 msi_desc->pi_desc = pi_desc; in pi_update_irte()
971 msi_desc->gvec = gvec; in pi_update_irte()
[all …]
A Dextern.h87 struct msi_desc;
89 void msi_msg_read_remap_rte(struct msi_desc *, struct msi_msg *);
90 int msi_msg_write_remap_rte(struct msi_desc *, struct msi_msg *);
92 int intel_setup_hpet_msi(struct msi_desc *);
A Diommu.h519 struct msi_desc msi;
A Diommu.c1155 desc->msi_desc = &iommu->msi; in iommu_set_interrupt()
/xen/xen/arch/x86/hvm/
A Dvmsi.c254 const struct msi_desc *msi_desc = msixtbl_addr_to_desc(entry, address); in msixtbl_read() local
256 if ( !msi_desc ) in msixtbl_read()
277 const struct msi_desc *msi_desc; in msixtbl_write() local
327 if ( !msi_desc || msi_desc->irq < 0 ) in msixtbl_write()
339 ASSERT(msi_desc == desc->msi_desc); in msixtbl_write()
462 struct msi_desc *msi_desc; in msixtbl_pt_register() local
488 msi_desc = irq_desc->msi_desc; in msixtbl_pt_register()
489 if ( !msi_desc ) in msixtbl_pt_register()
533 struct msi_desc *msi_desc; in msixtbl_pt_unregister() local
547 msi_desc = irq_desc->msi_desc; in msixtbl_pt_unregister()
[all …]
/xen/xen/arch/x86/
A Dmsi.c251 struct msi_desc *msi_desc = desc->msi_desc; in set_msi_affinity() local
259 msg = msi_desc->msg; in set_msi_affinity()
322 struct msi_desc *entry = desc->msi_desc; in msi_set_mask_bit()
494 struct msi_desc *entry; in alloc_msi_entry()
545 desc->msi_desc = msidesc; in __setup_msi_irq()
552 desc->msi_desc = NULL; in __setup_msi_irq()
585 struct msi_desc *entry; in find_msi_entry()
611 struct msi_desc *entry; in msi_capability_init()
1003 struct msi_desc *old_desc; in __pci_enable_msi()
1194 void pci_disable_msi(struct msi_desc *msi_desc) in pci_disable_msi() argument
[all …]
A Dirq.c345 desc->msi_desc = NULL; in destroy_irq()
1499 if ( desc->msi_desc ) in irq_acktype()
2157 struct msi_desc *msi_desc; in map_domain_pirq() local
2314 struct msi_desc *msi_desc = NULL; in unmap_domain_pirq() local
2332 msi_desc = desc->msi_desc; in unmap_domain_pirq()
2333 if ( msi_desc && msi_desc->msi_attrib.type == PCI_CAP_ID_MSI ) in unmap_domain_pirq()
2347 msi_desc ? msi_desc->dev : NULL); in unmap_domain_pirq()
2375 if ( msi_desc ) in unmap_domain_pirq()
2413 BUG_ON(desc->msi_desc != msi_desc + i); in unmap_domain_pirq()
2435 if (msi_desc) in unmap_domain_pirq()
[all …]
A Dhpet.c44 struct msi_desc msi;/* msi state */
364 desc->msi_desc = &ch->msi; in hpet_setup_msi_irq()
/xen/xen/include/asm-x86/
A Dmsi.h83 struct msi_desc;
85 extern int pci_enable_msi(struct msi_info *msi, struct msi_desc **desc);
86 extern void pci_disable_msi(struct msi_desc *desc);
89 extern int setup_msi_irq(struct irq_desc *, struct msi_desc *);
90 extern int __setup_msi_irq(struct irq_desc *, struct msi_desc *,
93 extern int msi_free_vector(struct msi_desc *entry);
97 struct msi_desc { struct
137 int msi_maskable_irq(const struct msi_desc *);
138 int msi_free_irq(struct msi_desc *entry);
A Diommu.h91 int iommu_setup_hpet_msi(struct msi_desc *);
/xen/xen/drivers/passthrough/amd/
A Diommu_intr.c619 struct msi_desc *msi_desc, struct msi_msg *msg) in amd_iommu_msi_msg_update_ire() argument
621 struct pci_dev *pdev = msi_desc->dev; in amd_iommu_msi_msg_update_ire()
635 nr = msi_desc->msi.nvec; in amd_iommu_msi_msg_update_ire()
637 if ( msi_desc->remap_index >= 0 && !msg ) in amd_iommu_msi_msg_update_ire()
644 msi_desc[i].remap_index = -1; in amd_iommu_msi_msg_update_ire()
656 msi_desc[i].remap_index = msi_desc->remap_index + i; in amd_iommu_msi_msg_update_ire()
664 struct msi_desc *msi_desc, struct msi_msg *msg) in amd_iommu_read_msi_from_ire() argument
667 const struct pci_dev *pdev = msi_desc->dev; in amd_iommu_read_msi_from_ire()
807 int __init amd_setup_hpet_msi(struct msi_desc *msi_desc) in amd_setup_hpet_msi() argument
820 if ( msi_desc->hpet_id != hpet_sbdf.id ) in amd_setup_hpet_msi()
[all …]
A Diommu.h82 struct msi_desc msi;
279 struct msi_desc *msi_desc, struct msi_msg *msg);
281 struct msi_desc *msi_desc, struct msi_msg *msg);
282 int amd_setup_hpet_msi(struct msi_desc *msi_desc);
A Diommu_init.c770 desc->msi_desc = &iommu->msi; in set_iommu_interrupt_handler()
/xen/xen/include/xen/
A Diommu.h193 struct msi_desc;
196 int iommu_update_ire_from_msi(struct msi_desc *msi_desc, struct msi_msg *msg);
197 void iommu_read_msi_from_ire(struct msi_desc *msi_desc, struct msi_msg *msg);
248 int (*update_ire_from_msi)(struct msi_desc *msi_desc, struct msi_msg *msg);
249 void (*read_msi_from_ire)(struct msi_desc *msi_desc, struct msi_msg *msg);
275 int (*setup_hpet_msi)(struct msi_desc *);
A Dirq.h75 struct msi_desc;
89 struct msi_desc *msi_desc; member
/xen/xen/drivers/char/
A Dns16550.c789 struct msi_desc *msi_desc = NULL; in ns16550_init_postirq() local
793 rc = pci_enable_msi(&msi, &msi_desc); in ns16550_init_postirq()
800 rc = setup_msi_irq(desc, msi_desc); in ns16550_init_postirq()
803 pci_disable_msi(msi_desc); in ns16550_init_postirq()
811 if ( msi_desc ) in ns16550_init_postirq()
812 msi_free_irq(msi_desc); in ns16550_init_postirq()
/xen/xen/drivers/passthrough/
A Dpci.c1358 struct msi_desc *msi; in _dump_pci_devices()
1392 struct msi_desc *msi_desc, struct msi_msg *msg) in iommu_update_ire_from_msi() argument
1395 ? iommu_call(&iommu_ops, update_ire_from_msi, msi_desc, msg) : 0; in iommu_update_ire_from_msi()
1399 struct msi_desc *msi_desc, struct msi_msg *msg) in iommu_read_msi_from_ire() argument
1402 iommu_vcall(&iommu_ops, read_msi_from_ire, msi_desc, msg); in iommu_read_msi_from_ire()
/xen/xen/drivers/passthrough/x86/
A Diommu.c122 int __init iommu_setup_hpet_msi(struct msi_desc *msi) in iommu_setup_hpet_msi()
/xen/tools/tests/vhpet/
A Demul.h45 struct msi_desc struct
/xen/xen/xsm/flask/
A Dhooks.c120 if ( desc->msi_desc && desc->msi_desc->dev ) { in get_irq_sid()
121 struct pci_dev *dev = desc->msi_desc->dev; in get_irq_sid()

Completed in 47 milliseconds