Lines Matching refs:hwirq
91 unsigned int idx = d->hwirq / 32; in imx_gpc_irq_set_wake()
94 mask = 1 << d->hwirq % 32; in imx_gpc_irq_set_wake()
125 void imx_gpc_hwirq_unmask(unsigned int hwirq) in imx_gpc_hwirq_unmask() argument
130 reg = gpc_base + GPC_IMR1 + hwirq / 32 * 4; in imx_gpc_hwirq_unmask()
132 val &= ~(1 << hwirq % 32); in imx_gpc_hwirq_unmask()
136 void imx_gpc_hwirq_mask(unsigned int hwirq) in imx_gpc_hwirq_mask() argument
141 reg = gpc_base + GPC_IMR1 + hwirq / 32 * 4; in imx_gpc_hwirq_mask()
143 val |= 1 << (hwirq % 32); in imx_gpc_hwirq_mask()
149 imx_gpc_hwirq_unmask(d->hwirq); in imx_gpc_irq_unmask()
155 imx_gpc_hwirq_mask(d->hwirq); in imx_gpc_irq_mask()
174 unsigned long *hwirq, in imx_gpc_domain_translate() argument
185 *hwirq = fwspec->param[1]; in imx_gpc_domain_translate()
199 irq_hw_number_t hwirq; in imx_gpc_domain_alloc() local
207 hwirq = fwspec->param[1]; in imx_gpc_domain_alloc()
208 if (hwirq >= GPC_MAX_IRQS) in imx_gpc_domain_alloc()
212 irq_domain_set_hwirq_and_chip(domain, irq + i, hwirq + i, in imx_gpc_domain_alloc()