/linux-6.6.21/drivers/acpi/ ! |
D | ioapic.c | 32 u32 gsi_base; member 101 unsigned long long gsi_base; in handle_ioapic_add() local 117 status = acpi_evaluate_integer(handle, "_GSB", NULL, &gsi_base); in handle_ioapic_add() 130 ioapic->gsi_base = (u32)gsi_base; in handle_ioapic_add() 134 if (acpi_ioapic_registered(handle, (u32)gsi_base)) in handle_ioapic_add() 168 if (acpi_register_ioapic(handle, res->start, (u32)gsi_base)) { in handle_ioapic_add() 178 type, res, (u32)gsi_base); in handle_ioapic_add() 181 type, res, (u32)gsi_base); in handle_ioapic_add() 239 if (acpi_unregister_ioapic(ioapic->handle, ioapic->gsi_base)) in acpi_ioapic_remove()
|
D | processor_core.c | 323 static int get_ioapic_id(struct acpi_subtable_header *entry, u32 gsi_base, in get_ioapic_id() argument 328 if (ioapic->global_irq_base != gsi_base) in get_ioapic_id() 336 static int parse_madt_ioapic_entry(u32 gsi_base, u64 *phys_addr) in parse_madt_ioapic_entry() argument 355 get_ioapic_id(hdr, gsi_base, phys_addr, &apic_id)) in parse_madt_ioapic_entry() 364 static int parse_mat_ioapic_entry(acpi_handle handle, u32 gsi_base, in parse_mat_ioapic_entry() argument 385 get_ioapic_id(header, gsi_base, phys_addr, &apic_id); in parse_mat_ioapic_entry() 403 int acpi_get_ioapic_id(acpi_handle handle, u32 gsi_base, u64 *phys_addr) in acpi_get_ioapic_id() argument 407 apic_id = parse_mat_ioapic_entry(handle, gsi_base, phys_addr); in acpi_get_ioapic_id() 409 apic_id = parse_madt_ioapic_entry(gsi_base, phys_addr); in acpi_get_ioapic_id()
|
/linux-6.6.21/arch/ia64/kernel/ ! |
D | iosapic.c | 119 unsigned int gsi_base; /* GSI base */ member 169 if ((unsigned) (gsi - iosapic_lists[i].gsi_base) < in find_iosapic() 186 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in __gsi_to_irq() 209 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in find_rte() 576 rte->rte_index = gsi - rte->iosapic->gsi_base; in register_intr() 987 iosapic_check_gsi_range (unsigned int gsi_base, unsigned int ver) in iosapic_check_gsi_range() argument 993 gsi_end = gsi_base + ((ver >> 16) & 0xff); in iosapic_check_gsi_range() 998 base = iosapic_lists[index].gsi_base; in iosapic_check_gsi_range() 1001 if (gsi_end < base || end < gsi_base) in iosapic_check_gsi_range() 1016 if (rte->iosapic->gsi_base + rte->rte_index == gsi) { in iosapic_delete_rte() [all …]
|
D | acpi.c | 832 unsigned int gsi_base; in acpi_map_iosapic() local 856 gsi_base = iosapic->global_irq_base; in acpi_map_iosapic() 867 map_iosapic_to_node(gsi_base, node); in acpi_map_iosapic() 881 int __ref acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base) in acpi_register_ioapic() argument 885 if ((err = iosapic_init(phys_addr, gsi_base))) in acpi_register_ioapic() 897 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base) in acpi_unregister_ioapic() argument 899 return iosapic_remove(gsi_base); in acpi_unregister_ioapic()
|
/linux-6.6.21/drivers/irqchip/ ! |
D | irq-loongson-pch-pic.c | 45 u32 gsi_base; member 173 *hwirq = fwspec->param[0] - priv->gsi_base; in pch_pic_domain_translate() 284 u32 gsi_base) in pch_pic_init() argument 299 priv->gsi_base = gsi_base; in pch_pic_init() 374 if (gsi >= priv->gsi_base && gsi < (priv->gsi_base + priv->vec_count)) in find_pch_pic() 407 if (find_pch_pic(acpi_pchpic->gsi_base) >= 0) in pch_pic_acpi_init() 417 0, parent, domain_handle, acpi_pchpic->gsi_base); in pch_pic_acpi_init()
|
/linux-6.6.21/arch/x86/include/asm/ ! |
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-6.6.21/arch/ia64/include/asm/ ! |
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-6.6.21/arch/x86/kernel/apic/ ! |
D | io_apic.c | 103 u32 gsi_base; member 146 return gsi_cfg->gsi_end - gsi_cfg->gsi_base + 1; in mp_ioapic_pin_count() 151 return mp_ioapic_gsi_routing(ioapic)->gsi_base + pin; in mp_pin_to_gsi() 2769 if (gsi >= gsi_cfg->gsi_base && gsi <= gsi_cfg->gsi_end) in mp_find_ioapic() 2788 return gsi - gsi_cfg->gsi_base; in mp_find_ioapic_pin() 2828 int mp_register_ioapic(int id, u32 address, u32 gsi_base, in mp_register_ioapic() argument 2872 gsi_end = gsi_base + entries - 1; in mp_register_ioapic() 2875 if ((gsi_base >= gsi_cfg->gsi_base && in mp_register_ioapic() 2876 gsi_base <= gsi_cfg->gsi_end) || in mp_register_ioapic() 2877 (gsi_end >= gsi_cfg->gsi_base && in mp_register_ioapic() [all …]
|
/linux-6.6.21/arch/x86/kernel/acpi/ ! |
D | boot.c | 871 int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base) in acpi_register_ioapic() argument 882 ioapic_id = acpi_get_ioapic_id(handle, gsi_base, &addr); in acpi_register_ioapic() 897 ret = mp_register_ioapic(ioapic_id, phys_addr, gsi_base, &cfg); in acpi_register_ioapic() 905 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base) in acpi_unregister_ioapic() argument 911 ret = mp_unregister_ioapic(gsi_base); in acpi_unregister_ioapic() 928 int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base) in acpi_ioapic_registered() argument 934 ret = mp_ioapic_registered(gsi_base); in acpi_ioapic_registered()
|
/linux-6.6.21/include/linux/ ! |
D | acpi.h | 327 int acpi_get_ioapic_id(acpi_handle handle, u32 gsi_base, u64 *phys_addr); 330 int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base); 331 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base); 332 int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base);
|
/linux-6.6.21/include/acpi/ ! |
D | actbl2.h | 1230 u16 gsi_base; member 1303 u32 gsi_base; member 1319 u32 gsi_base; member
|