Lines Matching refs:gsi_base
101 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()
2756 if (gsi >= gsi_cfg->gsi_base && gsi <= gsi_cfg->gsi_end) in mp_find_ioapic()
2775 return gsi - gsi_cfg->gsi_base; in mp_find_ioapic_pin()
2815 int mp_register_ioapic(int id, u32 address, u32 gsi_base, in mp_register_ioapic() argument
2859 gsi_end = gsi_base + entries - 1; in mp_register_ioapic()
2862 if ((gsi_base >= gsi_cfg->gsi_base && in mp_register_ioapic()
2863 gsi_base <= gsi_cfg->gsi_end) || in mp_register_ioapic()
2864 (gsi_end >= gsi_cfg->gsi_base && in mp_register_ioapic()
2867 gsi_base, gsi_end, in mp_register_ioapic()
2868 gsi_cfg->gsi_base, gsi_cfg->gsi_end); in mp_register_ioapic()
2874 gsi_cfg->gsi_base = gsi_base; in mp_register_ioapic()
2904 gsi_cfg->gsi_base, gsi_cfg->gsi_end); in mp_register_ioapic()
2909 int mp_unregister_ioapic(u32 gsi_base) in mp_unregister_ioapic() argument
2915 if (ioapics[ioapic].gsi_config.gsi_base == gsi_base) { in mp_unregister_ioapic()
2920 pr_warn("can't find IOAPIC for GSI %d\n", gsi_base); in mp_unregister_ioapic()
2951 int mp_ioapic_registered(u32 gsi_base) in mp_ioapic_registered() argument
2956 if (ioapics[ioapic].gsi_config.gsi_base == gsi_base) in mp_ioapic_registered()