Lines Matching refs:gsi_cfg
140 struct mp_ioapic_gsi *gsi_cfg = mp_ioapic_gsi_routing(ioapic); in mp_ioapic_pin_count() local
142 return gsi_cfg->gsi_end - gsi_cfg->gsi_base + 1; in mp_ioapic_pin_count()
2215 struct mp_ioapic_gsi *gsi_cfg = mp_ioapic_gsi_routing(ioapic); in mp_irqdomain_create() local
2256 ioapic_dynirq_base = max(ioapic_dynirq_base, gsi_cfg->gsi_end + 1); in mp_irqdomain_create()
2611 struct mp_ioapic_gsi *gsi_cfg = mp_ioapic_gsi_routing(i); in mp_find_ioapic() local
2613 if (gsi >= gsi_cfg->gsi_base && gsi <= gsi_cfg->gsi_end) in mp_find_ioapic()
2623 struct mp_ioapic_gsi *gsi_cfg; in mp_find_ioapic_pin() local
2628 gsi_cfg = mp_ioapic_gsi_routing(ioapic); in mp_find_ioapic_pin()
2629 if (WARN_ON(gsi > gsi_cfg->gsi_end)) in mp_find_ioapic_pin()
2632 return gsi - gsi_cfg->gsi_base; in mp_find_ioapic_pin()
2673 struct mp_ioapic_gsi *gsi_cfg; in mp_register_ioapic() local
2716 gsi_cfg = mp_ioapic_gsi_routing(ioapic); in mp_register_ioapic()
2717 if ((gsi_base >= gsi_cfg->gsi_base && in mp_register_ioapic()
2718 gsi_base <= gsi_cfg->gsi_end) || in mp_register_ioapic()
2719 (gsi_end >= gsi_cfg->gsi_base && in mp_register_ioapic()
2720 gsi_end <= gsi_cfg->gsi_end)) { in mp_register_ioapic()
2722 gsi_base, gsi_end, gsi_cfg->gsi_base, gsi_cfg->gsi_end); in mp_register_ioapic()
2727 gsi_cfg = mp_ioapic_gsi_routing(idx); in mp_register_ioapic()
2728 gsi_cfg->gsi_base = gsi_base; in mp_register_ioapic()
2729 gsi_cfg->gsi_end = gsi_end; in mp_register_ioapic()
2747 if (gsi_cfg->gsi_end >= gsi_top) in mp_register_ioapic()
2748 gsi_top = gsi_cfg->gsi_end + 1; in mp_register_ioapic()
2757 gsi_cfg->gsi_base, gsi_cfg->gsi_end); in mp_register_ioapic()