Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/acpi/
Dioapic.c31 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()
Dprocessor_core.c265 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-6.1.9/arch/ia64/kernel/
Diosapic.c119 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 …]
Dacpi.c834 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-6.1.9/drivers/irqchip/
Dirq-loongson-pch-pic.c44 u32 gsi_base; member
168 *hwirq = fwspec->param[0] - priv->gsi_base; in pch_pic_domain_translate()
236 u32 gsi_base) in pch_pic_init() argument
251 priv->gsi_base = gsi_base; in pch_pic_init()
323 if (gsi >= priv->gsi_base && gsi < (priv->gsi_base + priv->vec_count)) in find_pch_pic()
353 vec_base = acpi_pchpic->gsi_base - GSI_MIN_PCH_IRQ; in pch_pic_acpi_init()
362 vec_base, parent, domain_handle, acpi_pchpic->gsi_base); in pch_pic_acpi_init()
/linux-6.1.9/arch/x86/include/asm/
Dio_apic.h150 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.1.9/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);
/linux-6.1.9/arch/x86/kernel/apic/
Dio_apic.c102 u32 gsi_base; member
145 return gsi_cfg->gsi_end - gsi_cfg->gsi_base + 1; in mp_ioapic_pin_count()
150 return mp_ioapic_gsi_routing(ioapic)->gsi_base + pin; in mp_pin_to_gsi()
2766 if (gsi >= gsi_cfg->gsi_base && gsi <= gsi_cfg->gsi_end) in mp_find_ioapic()
2785 return gsi - gsi_cfg->gsi_base; in mp_find_ioapic_pin()
2825 int mp_register_ioapic(int id, u32 address, u32 gsi_base, in mp_register_ioapic() argument
2869 gsi_end = gsi_base + entries - 1; in mp_register_ioapic()
2872 if ((gsi_base >= gsi_cfg->gsi_base && in mp_register_ioapic()
2873 gsi_base <= gsi_cfg->gsi_end) || in mp_register_ioapic()
2874 (gsi_end >= gsi_cfg->gsi_base && in mp_register_ioapic()
[all …]
/linux-6.1.9/arch/x86/kernel/acpi/
Dboot.c850 int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base) in acpi_register_ioapic() argument
861 ioapic_id = acpi_get_ioapic_id(handle, gsi_base, &addr); in acpi_register_ioapic()
876 ret = mp_register_ioapic(ioapic_id, phys_addr, gsi_base, &cfg); in acpi_register_ioapic()
884 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base) in acpi_unregister_ioapic() argument
890 ret = mp_unregister_ioapic(gsi_base); in acpi_unregister_ioapic()
907 int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base) in acpi_ioapic_registered() argument
913 ret = mp_ioapic_registered(gsi_base); in acpi_ioapic_registered()
/linux-6.1.9/arch/loongarch/include/asm/
Dacpi.h149 u16 gsi_base; member
/linux-6.1.9/include/linux/
Dacpi.h338 int acpi_get_ioapic_id(acpi_handle handle, u32 gsi_base, u64 *phys_addr);
341 int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base);
342 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base);
343 int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base);