/xen/xen/arch/x86/hvm/ |
A D | irq.c | 63 assert_gsi(d, gsi); in hvm_ioapic_assert() 119 assert_gsi(d, gsi); in __hvm_pci_intx_assert() 194 assert_gsi(d, gsi); in hvm_gsi_assert() 276 gsi = hvm_irq->callback_via.gsi; in hvm_set_callback_irq_level() 280 if ( gsi <= 15 ) in hvm_set_callback_irq_level() 451 gsi = hvm_irq->callback_via.gsi; in hvm_set_callback_via() 452 if ( (--hvm_irq->gsi_assert_count[gsi] == 0) && (gsi <= 15) ) in hvm_set_callback_via() 469 gsi = hvm_irq->callback_via.gsi = (uint8_t)via; in hvm_set_callback_via() 470 if ( (gsi == 0) || (gsi >= hvm_irq->nr_gsis) ) in hvm_set_callback_via() 725 for ( gsi = 0; gsi < hvm_irq->nr_gsis; gsi++ ) in irq_load_pci() [all …]
|
A D | vioapic.c | 80 if ( gsi >= vioapic->base_gsi && in gsi_vioapic() 83 *pin = gsi - vioapic->base_gsi; in gsi_vioapic() 175 .machine_irq = gsi, in vioapic_hwdom_map_gsi() 177 int ret, pirq = gsi; in vioapic_hwdom_map_gsi() 188 gsi, ret); in vioapic_hwdom_map_gsi() 196 gsi, ret); in vioapic_hwdom_map_gsi() 205 gsi, ret); in vioapic_hwdom_map_gsi() 223 unsigned int gsi; in vioapic_write_redirent() local 231 gsi = vioapic->base_gsi + idx; in vioapic_write_redirent() 255 if ( gsi == 0 ) in vioapic_write_redirent() [all …]
|
A D | vpt.c | 82 unsigned int gsi, isa_irq; in pt_irq_vector() local 89 gsi = hvm_isa_irq_to_gsi(isa_irq); in pt_irq_vector() 96 vector = vioapic_get_vector(v->domain, gsi); in pt_irq_vector() 100 v->domain->domain_id, gsi); in pt_irq_vector() 111 unsigned int gsi = pt->irq; in pt_irq_masked() local 131 gsi = hvm_isa_irq_to_gsi(pt->irq); in pt_irq_masked() 137 int mask = vioapic_get_mask(v->domain, gsi); in pt_irq_masked() 143 v->domain->domain_id, gsi); in pt_irq_masked()
|
/xen/xen/include/asm-x86/hvm/ |
A D | irq.h | 62 uint32_t gsi; member 211 unsigned int gsi)); 215 void hvm_gsi_assert(struct domain *d, unsigned int gsi); 216 void hvm_gsi_deassert(struct domain *d, unsigned int gsi); 223 int hvm_ioapic_assert(struct domain *d, unsigned int gsi, bool level); 224 void hvm_ioapic_deassert(struct domain *d, unsigned int gsi);
|
A D | vioapic.h | 69 int vioapic_get_mask(const struct domain *d, unsigned int gsi); 70 int vioapic_get_vector(const struct domain *d, unsigned int gsi); 71 int vioapic_get_trigger_mode(const struct domain *d, unsigned int gsi);
|
/xen/xen/arch/x86/ |
A D | mpparse.c | 844 int gsi) in mp_find_ioapic() argument 934 u32 gsi) in mp_override_legacy_irq() argument 943 ioapic = mp_find_ioapic(gsi); in mp_override_legacy_irq() 1056 if (acpi_fadt.sci_int == gsi) in mp_register_gsi() 1057 return gsi; in mp_register_gsi() 1061 unsigned int port = 0x4d0 + (gsi >> 3); in mp_register_gsi() 1064 if (!platform_legacy_irq(gsi)) in mp_register_gsi() 1068 val |= 1 << (gsi & 7); in mp_register_gsi() 1070 val &= ~(1 << (gsi & 7)); in mp_register_gsi() 1075 ioapic = mp_find_ioapic(gsi); in mp_register_gsi() [all …]
|
A D | physdev.c | 209 int gsi = domain_pirq_to_emuirq(currd, eoi.irq); in do_physdev_op() local 213 if ( gsi >= NR_ISAIRQS /* ISA irqs are edge triggered */ in do_physdev_op() 214 && hvm_irq->gsi_assert_count[gsi] ) in do_physdev_op() 611 if ( setup_gsi.gsi < 0 || setup_gsi.gsi >= nr_irqs_gsi ) in do_physdev_op() 614 ret = xsm_resource_setup_gsi(XSM_PRIV, setup_gsi.gsi); in do_physdev_op() 618 ret = mp_register_gsi(setup_gsi.gsi, setup_gsi.triggering, in do_physdev_op()
|
/xen/xen/include/xen/ |
A D | acpi.h | 130 unsigned int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low); 131 int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); 139 void acpi_unregister_gsi (u32 gsi);
|
/xen/xen/include/asm-x86/ |
A D | mpspec.h | 27 extern void mp_override_legacy_irq (u8 bus_irq, u8 polarity, u8 trigger, u32 gsi); 29 extern int mp_register_gsi (u32 gsi, int edge_level, int active_high_low);
|
/xen/xen/include/public/ |
A D | physdev.h | 244 int gsi; member
|
/xen/xen/drivers/passthrough/ |
A D | io.c | 991 static void hvm_gsi_eoi(struct domain *d, unsigned int gsi, in hvm_gsi_eoi() argument 994 struct pirq *pirq = pirq_info(d, gsi); in hvm_gsi_eoi() 1000 hvm_gsi_deassert(d, gsi); in hvm_gsi_eoi()
|
/xen/xen/include/xsm/ |
A D | xsm.h | 126 int (*resource_setup_gsi) (int gsi); 525 static inline int xsm_resource_setup_gsi (xsm_default_t def, int gsi) in xsm_resource_setup_gsi() argument 527 return xsm_ops->resource_setup_gsi(gsi); in xsm_resource_setup_gsi()
|
A D | dummy.h | 419 static XSM_INLINE int xsm_resource_setup_gsi(XSM_DEFAULT_ARG int gsi) in xsm_resource_setup_gsi() argument
|
/xen/tools/libacpi/ |
A D | acpi2_0.h | 363 uint32_t gsi; member
|
A D | build.c | 120 intsrcovr->gsi = 2; in construct_madt() 126 intsrcovr->gsi = i; in construct_madt()
|
/xen/xen/xsm/flask/ |
A D | hooks.c | 1141 static int flask_resource_setup_gsi(int gsi) in flask_resource_setup_gsi() argument 1147 rc = get_irq_sid(gsi, &rsid, &ad); in flask_resource_setup_gsi()
|