Lines Matching refs:local_irq
83 int local_irq = __ffs(irr); in gsc_asic_intr() local
84 unsigned int irq = gsc_asic->global_irq[local_irq]; in gsc_asic_intr()
86 irr &= ~(1 << local_irq); in gsc_asic_intr()
94 int local_irq; in gsc_find_local_irq() local
96 for (local_irq = 0; local_irq < limit; local_irq++) { in gsc_find_local_irq()
97 if (global_irqs[local_irq] == irq) in gsc_find_local_irq()
98 return local_irq; in gsc_find_local_irq()
107 int local_irq = gsc_find_local_irq(d->irq, irq_dev->global_irq, 32); in gsc_asic_mask_irq() local
115 imr &= ~(1 << local_irq); in gsc_asic_mask_irq()
122 int local_irq = gsc_find_local_irq(d->irq, irq_dev->global_irq, 32); in gsc_asic_unmask_irq() local
130 imr |= 1 << local_irq; in gsc_asic_unmask_irq()
157 void gsc_asic_assign_irq(struct gsc_asic *asic, int local_irq, int *irqp) in gsc_asic_assign_irq() argument
159 int irq = asic->global_irq[local_irq]; in gsc_asic_assign_irq()
166 asic->global_irq[local_irq] = irq; in gsc_asic_assign_irq()