Lines Matching refs:gsi_base
121 unsigned int gsi_base; /* GSI base */ member
171 if ((unsigned) (gsi - iosapic_lists[i].gsi_base) < in find_iosapic()
188 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in __gsi_to_irq()
211 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in find_rte()
578 rte->rte_index = gsi - rte->iosapic->gsi_base; in register_intr()
991 iosapic_check_gsi_range (unsigned int gsi_base, unsigned int ver) in iosapic_check_gsi_range() argument
997 gsi_end = gsi_base + ((ver >> 16) & 0xff); in iosapic_check_gsi_range()
1002 base = iosapic_lists[index].gsi_base; in iosapic_check_gsi_range()
1005 if (gsi_end < base || end < gsi_base) in iosapic_check_gsi_range()
1020 if (rte->iosapic->gsi_base + rte->rte_index == gsi) { in iosapic_delete_rte()
1033 int iosapic_init(unsigned long phys_addr, unsigned int gsi_base) in iosapic_init() argument
1041 index = find_iosapic(gsi_base); in iosapic_init()
1053 if ((err = iosapic_check_gsi_range(gsi_base, ver))) { in iosapic_init()
1068 iosapic_lists[index].gsi_base = gsi_base; in iosapic_init()
1076 if ((gsi_base == 0) && pcat_compat) { in iosapic_init()
1090 int iosapic_remove(unsigned int gsi_base) in iosapic_remove() argument
1096 index = find_iosapic(gsi_base); in iosapic_remove()
1099 __func__, gsi_base); in iosapic_remove()
1106 __func__, gsi_base); in iosapic_remove()
1110 for (i = gsi_base; i < gsi_base + iosapic_lists[index].num_rte; i++) { in iosapic_remove()
1128 void map_iosapic_to_node(unsigned int gsi_base, int node) in map_iosapic_to_node() argument
1132 index = find_iosapic(gsi_base); in map_iosapic_to_node()
1135 __func__, gsi_base); in map_iosapic_to_node()