Lines Matching refs:gsi_base
103 u32 gsi_base;
142 return gsi_cfg->gsi_end - gsi_cfg->gsi_base + 1;
147 return mp_ioapic_gsi_routing(ioapic)->gsi_base + pin;
2608 if (gsi >= gsi_cfg->gsi_base && gsi <= gsi_cfg->gsi_end)
2627 return gsi - gsi_cfg->gsi_base;
2662 * @gsi_base: base of GSI associated with the IOAPIC
2665 int mp_register_ioapic(int id, u32 address, u32 gsi_base, struct ioapic_domain_cfg *cfg)
2709 gsi_end = gsi_base + entries - 1;
2712 if ((gsi_base >= gsi_cfg->gsi_base &&
2713 gsi_base <= gsi_cfg->gsi_end) ||
2714 (gsi_end >= gsi_cfg->gsi_base &&
2717 gsi_base, gsi_end, gsi_cfg->gsi_base, gsi_cfg->gsi_end);
2723 gsi_cfg->gsi_base = gsi_base;
2752 gsi_cfg->gsi_base, gsi_cfg->gsi_end);
2757 int mp_unregister_ioapic(u32 gsi_base)
2763 if (ioapics[ioapic].gsi_config.gsi_base == gsi_base) {
2770 pr_warn("can't find IOAPIC for GSI %d\n", gsi_base);
2800 int mp_ioapic_registered(u32 gsi_base)
2805 if (ioapics[ioapic].gsi_config.gsi_base == gsi_base)