Lines Matching refs:GIC_INTERNAL
97 (irq < GIC_INTERNAL || GIC_DIST_TARGET(irq) & cm)) { in gic_get_best_irq()
392 if (irq < (s->num_irq - GIC_INTERNAL)) { in gic_set_irq()
395 irq += GIC_INTERNAL; in gic_set_irq()
399 irq -= (s->num_irq - GIC_INTERNAL); in gic_set_irq()
400 cpu = irq / GIC_INTERNAL; in gic_set_irq()
401 irq %= GIC_INTERNAL; in gic_set_irq()
676 if (irq < GIC_INTERNAL) { in gic_dist_set_priority()
679 s->priority2[(irq) - GIC_INTERNAL] = val; in gic_dist_set_priority()
1037 mask = (irq < GIC_INTERNAL) ? cm : ALL_CPU_MASK; in gic_dist_readb()
1061 mask = (irq < GIC_INTERNAL) ? cm : ALL_CPU_MASK; in gic_dist_readb()
1090 } else if (irq < GIC_INTERNAL) { in gic_dist_readb()
1227 int cm = (irq < GIC_INTERNAL) ? (1 << cpu) : ALL_CPU_MASK; in gic_dist_writeb()
1252 (irq < GIC_INTERNAL) ? (1 << cpu) in gic_dist_writeb()
1254 int cm = (irq < GIC_INTERNAL) ? (1 << cpu) : ALL_CPU_MASK; in gic_dist_writeb()
1291 int cm = (irq < GIC_INTERNAL) ? (1 << cpu) : ALL_CPU_MASK; in gic_dist_writeb()
1316 int mask = (irq < GIC_INTERNAL) ? (1 << cpu) in gic_dist_writeb()
1361 int cm = irq < GIC_INTERNAL ? (1 << cpu) : ALL_CPU_MASK; in gic_dist_writeb()
1385 int cm = irq < GIC_INTERNAL ? (1 << cpu) : ALL_CPU_MASK; in gic_dist_writeb()
1414 } else if (irq < GIC_INTERNAL) { in gic_dist_writeb()
1418 if (irq >= GIC_INTERNAL && s->irq_state[irq].pending) { in gic_dist_writeb()