Home
last modified time | relevance | path

Searched refs:gsi_base (Results 1 – 6 of 6) sorted by relevance

/arch/ia64/kernel/
Diosapic.c118 unsigned int gsi_base; /* GSI base */ member
168 if ((unsigned) (gsi - iosapic_lists[i].gsi_base) < in find_iosapic()
185 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in __gsi_to_irq()
208 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in find_rte()
575 rte->rte_index = gsi - rte->iosapic->gsi_base; in register_intr()
986 iosapic_check_gsi_range (unsigned int gsi_base, unsigned int ver) in iosapic_check_gsi_range() argument
992 gsi_end = gsi_base + ((ver >> 16) & 0xff); in iosapic_check_gsi_range()
997 base = iosapic_lists[index].gsi_base; in iosapic_check_gsi_range()
1000 if (gsi_end < base || end < gsi_base) in iosapic_check_gsi_range()
1015 if (rte->iosapic->gsi_base + rte->rte_index == gsi) { in iosapic_delete_rte()
[all …]
Dacpi.c833 unsigned int gsi_base; in acpi_map_iosapic() local
857 gsi_base = iosapic->global_irq_base; in acpi_map_iosapic()
868 map_iosapic_to_node(gsi_base, node); in acpi_map_iosapic()
882 int __ref acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base) in acpi_register_ioapic() argument
886 if ((err = iosapic_init(phys_addr, gsi_base))) in acpi_register_ioapic()
898 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base) in acpi_unregister_ioapic() argument
900 return iosapic_remove(gsi_base); in acpi_unregister_ioapic()
/arch/x86/include/asm/
Dio_apic.h172 extern int mp_register_ioapic(int id, u32 address, u32 gsi_base,
174 extern int mp_unregister_ioapic(u32 gsi_base);
175 extern int mp_ioapic_registered(u32 gsi_base);
/arch/ia64/include/asm/
Diosapic.h85 extern int iosapic_init (unsigned long address, unsigned int gsi_base);
86 extern int iosapic_remove (unsigned int gsi_base);
/arch/x86/kernel/apic/
Dio_apic.c101 u32 gsi_base; member
144 return gsi_cfg->gsi_end - gsi_cfg->gsi_base + 1; in mp_ioapic_pin_count()
149 return mp_ioapic_gsi_routing(ioapic)->gsi_base + pin; in mp_pin_to_gsi()
2734 if (gsi >= gsi_cfg->gsi_base && gsi <= gsi_cfg->gsi_end) in mp_find_ioapic()
2753 return gsi - gsi_cfg->gsi_base; in mp_find_ioapic_pin()
2793 int mp_register_ioapic(int id, u32 address, u32 gsi_base, in mp_register_ioapic() argument
2837 gsi_end = gsi_base + entries - 1; in mp_register_ioapic()
2840 if ((gsi_base >= gsi_cfg->gsi_base && in mp_register_ioapic()
2841 gsi_base <= gsi_cfg->gsi_end) || in mp_register_ioapic()
2842 (gsi_end >= gsi_cfg->gsi_base && in mp_register_ioapic()
[all …]
/arch/x86/kernel/acpi/
Dboot.c783 int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base) in acpi_register_ioapic() argument
794 ioapic_id = acpi_get_ioapic_id(handle, gsi_base, &addr); in acpi_register_ioapic()
809 ret = mp_register_ioapic(ioapic_id, phys_addr, gsi_base, &cfg); in acpi_register_ioapic()
817 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base) in acpi_unregister_ioapic() argument
823 ret = mp_unregister_ioapic(gsi_base); in acpi_unregister_ioapic()
840 int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base) in acpi_ioapic_registered() argument
846 ret = mp_ioapic_registered(gsi_base); in acpi_ioapic_registered()