Lines Matching refs:gsi_base

119 	unsigned int	gsi_base;	/* GSI base */  member
169 if ((unsigned) (gsi - iosapic_lists[i].gsi_base) < in find_iosapic()
186 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in __gsi_to_irq()
209 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in find_rte()
576 rte->rte_index = gsi - rte->iosapic->gsi_base; in register_intr()
987 iosapic_check_gsi_range (unsigned int gsi_base, unsigned int ver) in iosapic_check_gsi_range() argument
993 gsi_end = gsi_base + ((ver >> 16) & 0xff); in iosapic_check_gsi_range()
998 base = iosapic_lists[index].gsi_base; in iosapic_check_gsi_range()
1001 if (gsi_end < base || end < gsi_base) in iosapic_check_gsi_range()
1016 if (rte->iosapic->gsi_base + rte->rte_index == gsi) { in iosapic_delete_rte()
1029 int iosapic_init(unsigned long phys_addr, unsigned int gsi_base) in iosapic_init() argument
1037 index = find_iosapic(gsi_base); in iosapic_init()
1049 if ((err = iosapic_check_gsi_range(gsi_base, ver))) { in iosapic_init()
1064 iosapic_lists[index].gsi_base = gsi_base; in iosapic_init()
1072 if ((gsi_base == 0) && pcat_compat) { in iosapic_init()
1086 int iosapic_remove(unsigned int gsi_base) in iosapic_remove() argument
1092 index = find_iosapic(gsi_base); in iosapic_remove()
1095 __func__, gsi_base); in iosapic_remove()
1102 __func__, gsi_base); in iosapic_remove()
1106 for (i = gsi_base; i < gsi_base + iosapic_lists[index].num_rte; i++) { in iosapic_remove()
1124 void map_iosapic_to_node(unsigned int gsi_base, int node) in map_iosapic_to_node() argument
1128 index = find_iosapic(gsi_base); in map_iosapic_to_node()
1131 __func__, gsi_base); in map_iosapic_to_node()