/linux/drivers/acpi/ |
A D | ioapic.c | 31 u32 gsi_base; member 100 unsigned long long gsi_base; in handle_ioapic_add() local 116 status = acpi_evaluate_integer(handle, "_GSB", NULL, &gsi_base); in handle_ioapic_add() 129 ioapic->gsi_base = (u32)gsi_base; in handle_ioapic_add() 133 if (acpi_ioapic_registered(handle, (u32)gsi_base)) in handle_ioapic_add() 167 if (acpi_register_ioapic(handle, res->start, (u32)gsi_base)) { in handle_ioapic_add() 177 type, res, (u32)gsi_base); in handle_ioapic_add() 180 type, res, (u32)gsi_base); in handle_ioapic_add() 238 if (acpi_unregister_ioapic(ioapic->handle, ioapic->gsi_base)) in acpi_ioapic_remove()
|
A D | processor_core.c | 265 static int get_ioapic_id(struct acpi_subtable_header *entry, u32 gsi_base, in get_ioapic_id() argument 270 if (ioapic->global_irq_base != gsi_base) in get_ioapic_id() 278 static int parse_madt_ioapic_entry(u32 gsi_base, u64 *phys_addr) in parse_madt_ioapic_entry() argument 297 get_ioapic_id(hdr, gsi_base, phys_addr, &apic_id)) in parse_madt_ioapic_entry() 306 static int parse_mat_ioapic_entry(acpi_handle handle, u32 gsi_base, in parse_mat_ioapic_entry() argument 327 get_ioapic_id(header, gsi_base, phys_addr, &apic_id); in parse_mat_ioapic_entry() 345 int acpi_get_ioapic_id(acpi_handle handle, u32 gsi_base, u64 *phys_addr) in acpi_get_ioapic_id() argument 349 apic_id = parse_mat_ioapic_entry(handle, gsi_base, phys_addr); in acpi_get_ioapic_id() 351 apic_id = parse_madt_ioapic_entry(gsi_base, phys_addr); in acpi_get_ioapic_id()
|
/linux/arch/ia64/kernel/ |
A D | iosapic.c | 119 unsigned int gsi_base; /* GSI base */ member 998 base = iosapic_lists[index].gsi_base; in iosapic_check_gsi_range() 1037 index = find_iosapic(gsi_base); in iosapic_init() 1064 iosapic_lists[index].gsi_base = gsi_base; in iosapic_init() 1072 if ((gsi_base == 0) && pcat_compat) { in iosapic_init() 1092 index = find_iosapic(gsi_base); in iosapic_remove() 1095 __func__, gsi_base); in iosapic_remove() 1102 __func__, gsi_base); in iosapic_remove() 1106 for (i = gsi_base; i < gsi_base + iosapic_lists[index].num_rte; i++) { in iosapic_remove() 1128 index = find_iosapic(gsi_base); in map_iosapic_to_node() [all …]
|
A D | acpi.c | 834 unsigned int gsi_base; in acpi_map_iosapic() local 858 gsi_base = iosapic->global_irq_base; in acpi_map_iosapic() 869 map_iosapic_to_node(gsi_base, node); in acpi_map_iosapic() 883 int __ref acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base) in acpi_register_ioapic() argument 887 if ((err = iosapic_init(phys_addr, gsi_base))) in acpi_register_ioapic() 899 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base) in acpi_unregister_ioapic() argument 901 return iosapic_remove(gsi_base); in acpi_unregister_ioapic()
|
/linux/arch/x86/include/asm/ |
A D | io_apic.h | 150 extern int mp_register_ioapic(int id, u32 address, u32 gsi_base, 152 extern int mp_unregister_ioapic(u32 gsi_base); 153 extern int mp_ioapic_registered(u32 gsi_base);
|
/linux/arch/x86/kernel/apic/ |
A D | io_apic.c | 101 u32 gsi_base; member 2771 return gsi - gsi_cfg->gsi_base; in mp_find_ioapic_pin() 2855 gsi_end = gsi_base + entries - 1; in mp_register_ioapic() 2858 if ((gsi_base >= gsi_cfg->gsi_base && in mp_register_ioapic() 2860 (gsi_end >= gsi_cfg->gsi_base && in mp_register_ioapic() 2863 gsi_base, gsi_end, in mp_register_ioapic() 2870 gsi_cfg->gsi_base = gsi_base; in mp_register_ioapic() 2905 int mp_unregister_ioapic(u32 gsi_base) in mp_unregister_ioapic() argument 2911 if (ioapics[ioapic].gsi_config.gsi_base == gsi_base) { in mp_unregister_ioapic() 2947 int mp_ioapic_registered(u32 gsi_base) in mp_ioapic_registered() argument [all …]
|
/linux/arch/ia64/include/asm/ |
A D | iosapic.h | 85 extern int iosapic_init (unsigned long address, unsigned int gsi_base); 86 extern int iosapic_remove (unsigned int gsi_base);
|
/linux/arch/x86/kernel/acpi/ |
A D | boot.c | 791 int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base) in acpi_register_ioapic() argument 802 ioapic_id = acpi_get_ioapic_id(handle, gsi_base, &addr); in acpi_register_ioapic() 817 ret = mp_register_ioapic(ioapic_id, phys_addr, gsi_base, &cfg); in acpi_register_ioapic() 825 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base) in acpi_unregister_ioapic() argument 831 ret = mp_unregister_ioapic(gsi_base); in acpi_unregister_ioapic() 848 int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base) in acpi_ioapic_registered() argument 854 ret = mp_ioapic_registered(gsi_base); in acpi_ioapic_registered()
|
/linux/include/linux/ |
A D | acpi.h | 314 int acpi_get_ioapic_id(acpi_handle handle, u32 gsi_base, u64 *phys_addr); 317 int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base); 318 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base); 319 int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base);
|