Lines Matching refs:iosapic
117 static struct iosapic { struct
132 struct iosapic *iosapic; argument
151 iosapic_write(struct iosapic *iosapic, unsigned int reg, u32 val) in iosapic_write() argument
155 spin_lock_irqsave(&iosapic->lock, flags); in iosapic_write()
156 __iosapic_write(iosapic->addr, reg, val); in iosapic_write()
157 spin_unlock_irqrestore(&iosapic->lock, flags); in iosapic_write()
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()
250 iosapic_write(rte->iosapic, IOSAPIC_RTE_HIGH(rte_index), high32); in set_rte()
251 iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte_index), low32); in set_rte()
277 iosapic_write(rte->iosapic, in kexec_disable_iosapic()
280 iosapic_eoi(rte->iosapic->addr, vec); in kexec_disable_iosapic()
301 iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte_index), low32); in mask_irq()
319 iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte_index), low32); in unmask_irq()
334 struct iosapic *iosapic; in iosapic_set_affinity() local
368 iosapic = rte->iosapic; in iosapic_set_affinity()
370 iosapic_write(iosapic, IOSAPIC_RTE_HIGH(rte_index), high32); in iosapic_set_affinity()
371 iosapic_write(iosapic, IOSAPIC_RTE_LOW(rte_index), low32); in iosapic_set_affinity()
405 iosapic_eoi(rte->iosapic->addr, vec); in iosapic_unmask_level_irq()
575 rte->iosapic = &iosapic_lists[index]; in register_intr()
576 rte->rte_index = gsi - rte->iosapic->gsi_base; in register_intr()
818 iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte->rte_index), low32); in iosapic_unregister_intr()
1016 if (rte->iosapic->gsi_base + rte->rte_index == gsi) { in iosapic_delete_rte()