Home
last modified time | relevance | path

Searched refs:hip04_irq (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/irqchip/
H A Dirq-hip04.c83 static inline unsigned int hip04_irq(struct irq_data *d) in hip04_irq() function
93 u32 mask = 1 << (hip04_irq(d) % 32); in hip04_mask_irq()
97 (hip04_irq(d) / 32) * 4); in hip04_mask_irq()
103 u32 mask = 1 << (hip04_irq(d) % 32); in hip04_unmask_irq()
107 (hip04_irq(d) / 32) * 4); in hip04_unmask_irq()
113 writel_relaxed(hip04_irq(d), hip04_cpu_base(d) + GIC_CPU_EOI); in hip04_eoi_irq()
119 unsigned int irq = hip04_irq(d); in hip04_irq_set_type()
151 unsigned int cpu, shift = (hip04_irq(d) % 2) * 16; in hip04_irq_set_affinity()
163 reg = hip04_dist_base(d) + GIC_DIST_TARGET + ((hip04_irq(d) * 2) & ~3); in hip04_irq_set_affinity()