Lines Matching refs:gsi_base
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()
2880 gsi_base, gsi_end, in mp_register_ioapic()
2881 gsi_cfg->gsi_base, gsi_cfg->gsi_end); in mp_register_ioapic()
2887 gsi_cfg->gsi_base = gsi_base; in mp_register_ioapic()
2917 gsi_cfg->gsi_base, gsi_cfg->gsi_end); in mp_register_ioapic()
2922 int mp_unregister_ioapic(u32 gsi_base) in mp_unregister_ioapic() argument
2928 if (ioapics[ioapic].gsi_config.gsi_base == gsi_base) { in mp_unregister_ioapic()
2933 pr_warn("can't find IOAPIC for GSI %d\n", gsi_base); in mp_unregister_ioapic()
2964 int mp_ioapic_registered(u32 gsi_base) in mp_ioapic_registered() argument
2969 if (ioapics[ioapic].gsi_config.gsi_base == gsi_base) in mp_ioapic_registered()