Lines Matching refs:gic_irq
63 static inline unsigned int gic_irq(struct irq_data *d) in gic_irq() function
70 return gic_irq(d) < 32; in gic_irq_in_rdist()
162 u32 mask = 1 << (gic_irq(d) % 32); in gic_peek_irq()
170 return !!(readl_relaxed(base + offset + (gic_irq(d) / 32) * 4) & mask); in gic_peek_irq()
175 u32 mask = 1 << (gic_irq(d) % 32); in gic_poke_irq()
187 writel_relaxed(mask, base + offset + (gic_irq(d) / 32) * 4); in gic_poke_irq()
273 gic_write_eoir(gic_irq(d)); in gic_eoi_irq()
282 if (gic_irq(d) >= 8192 || irqd_is_forwarded_to_vcpu(d)) in gic_eoimode1_eoi_irq()
284 gic_write_dir(gic_irq(d)); in gic_eoimode1_eoi_irq()
289 unsigned int irq = gic_irq(d); in gic_set_type()
642 reg = gic_dist_base(d) + GICD_IROUTER + (gic_irq(d) * 8); in gic_set_affinity()