Lines Matching refs:rte_index

110 	char		rte_index;	/* IOSAPIC RTE index (-1 => not an IOSAPIC interrupt) */  member
153 if (iosapic_intr_info[vector].gsi_base + iosapic_intr_info[vector].rte_index == gsi) in gsi_to_vector()
164 int rte_index; in set_rte() local
169 rte_index = iosapic_intr_info[vector].rte_index; in set_rte()
170 if (rte_index < 0) in set_rte()
199 writel(IOSAPIC_RTE_HIGH(rte_index), addr + IOSAPIC_REG_SELECT); in set_rte()
201 writel(IOSAPIC_RTE_LOW(rte_index), addr + IOSAPIC_REG_SELECT); in set_rte()
217 int rte_index; in mask_irq() local
221 rte_index = iosapic_intr_info[vec].rte_index; in mask_irq()
223 if (rte_index < 0) in mask_irq()
228 writel(IOSAPIC_RTE_LOW(rte_index), addr + IOSAPIC_REG_SELECT); in mask_irq()
243 int rte_index; in unmask_irq() local
247 rte_index = iosapic_intr_info[vec].rte_index; in unmask_irq()
248 if (rte_index < 0) in unmask_irq()
253 writel(IOSAPIC_RTE_LOW(rte_index), addr + IOSAPIC_REG_SELECT); in unmask_irq()
269 int dest, rte_index; in iosapic_set_affinity() local
284 rte_index = iosapic_intr_info[vec].rte_index; in iosapic_set_affinity()
287 if (rte_index < 0) in iosapic_set_affinity()
298 writel(IOSAPIC_RTE_LOW(rte_index), addr + IOSAPIC_REG_SELECT); in iosapic_set_affinity()
309 writel(IOSAPIC_RTE_HIGH(rte_index), addr + IOSAPIC_REG_SELECT); in iosapic_set_affinity()
311 writel(IOSAPIC_RTE_LOW(rte_index), addr + IOSAPIC_REG_SELECT); in iosapic_set_affinity()
422 if (iosapic_intr_info[vector].rte_index >= 0 || iosapic_intr_info[vector].addr in iosapic_reassign_vector()
431 iosapic_intr_info[vector].rte_index = -1; in iosapic_reassign_vector()
441 int rte_index; in register_intr() local
455 rte_index = gsi - gsi_base; in register_intr()
456 iosapic_intr_info[vector].rte_index = rte_index; in register_intr()
639 iosapic_intr_info[vector].rte_index = -1; /* mark as unused */ in iosapic_system_init()