Lines Matching refs:gsi_base
102 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()
2877 gsi_base, gsi_end, in mp_register_ioapic()
2878 gsi_cfg->gsi_base, gsi_cfg->gsi_end); in mp_register_ioapic()
2884 gsi_cfg->gsi_base = gsi_base; in mp_register_ioapic()
2914 gsi_cfg->gsi_base, gsi_cfg->gsi_end); in mp_register_ioapic()
2919 int mp_unregister_ioapic(u32 gsi_base) in mp_unregister_ioapic() argument
2925 if (ioapics[ioapic].gsi_config.gsi_base == gsi_base) { in mp_unregister_ioapic()
2930 pr_warn("can't find IOAPIC for GSI %d\n", gsi_base); in mp_unregister_ioapic()
2961 int mp_ioapic_registered(u32 gsi_base) in mp_ioapic_registered() argument
2966 if (ioapics[ioapic].gsi_config.gsi_base == gsi_base) in mp_ioapic_registered()