Searched refs:gic_irq (Results 1 – 2 of 2) sorted by relevance
153 int gic_irq = irq-PNX8550_INT_GIC_MIN; in pnx8550_set_gic_priority() local154 int prev_priority = PNX8550_GIC_REQ(gic_irq) & 0xf; in pnx8550_set_gic_priority()156 gic_prio[gic_irq] = priority; in pnx8550_set_gic_priority()157 PNX8550_GIC_REQ(gic_irq) |= (0x10000000 | gic_prio[gic_irq]); in pnx8550_set_gic_priority()
135 static inline unsigned int gic_irq(struct irq_data *d) in gic_irq() function145 u32 mask = 1 << (gic_irq(d) % 32); in gic_mask_irq()148 writel_relaxed(mask, gic_dist_base(d) + GIC_DIST_ENABLE_CLEAR + (gic_irq(d) / 32) * 4); in gic_mask_irq()156 u32 mask = 1 << (gic_irq(d) % 32); in gic_unmask_irq()161 writel_relaxed(mask, gic_dist_base(d) + GIC_DIST_ENABLE_SET + (gic_irq(d) / 32) * 4); in gic_unmask_irq()173 writel_relaxed(gic_irq(d), gic_cpu_base(d) + GIC_CPU_EOI); in gic_eoi_irq()179 unsigned int gicirq = gic_irq(d); in gic_set_type()236 void __iomem *reg = gic_dist_base(d) + GIC_DIST_TARGET + (gic_irq(d) & ~3); in gic_set_affinity()237 unsigned int shift = (gic_irq(d) % 4) * 8; in gic_set_affinity()301 unsigned int cascade_irq, gic_irq; in gic_handle_cascade_irq() local[all …]