Lines Matching refs:iosapic
24 * 02/01/23 J.I. Lee iosapic pgm fixes for PCI irq routing from _PRT
97 #include <asm/iosapic.h>
119 static struct iosapic {
134 struct iosapic *iosapic;
144 unsigned char dmode : 3; /* delivery mode (see iosapic.h) */
146 * (see iosapic.h) */
147 unsigned char trigger : 1; /* trigger mode (see iosapic.h) */
153 iosapic_write(struct iosapic *iosapic, unsigned int reg, u32 val)
157 spin_lock_irqsave(&iosapic->lock, flags);
158 __iosapic_write(iosapic->addr, reg, val);
159 spin_unlock_irqrestore(&iosapic->lock, flags);
188 if (rte->iosapic->gsi_base + rte->rte_index == gsi)
211 if (rte->iosapic->gsi_base + rte->rte_index == gsi)
252 iosapic_write(rte->iosapic, IOSAPIC_RTE_HIGH(rte_index), high32);
253 iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte_index), low32);
279 iosapic_write(rte->iosapic,
282 iosapic_eoi(rte->iosapic->addr, vec);
303 iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte_index), low32);
321 iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte_index), low32);
336 struct iosapic *iosapic;
370 iosapic = rte->iosapic;
372 iosapic_write(iosapic, IOSAPIC_RTE_HIGH(rte_index), high32);
373 iosapic_write(iosapic, IOSAPIC_RTE_LOW(rte_index), low32);
407 iosapic_eoi(rte->iosapic->addr, vec);
577 rte->iosapic = &iosapic_lists[index];
578 rte->rte_index = gsi - rte->iosapic->gsi_base;
822 iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte->rte_index), low32);
982 printk(KERN_WARNING "%s: failed to allocate iosapic\n", __func__);