Lines Matching refs:lirq
209 struct grgpio_lirq *lirq = &priv->lirqs[i]; in grgpio_irq_handler() local
211 if (priv->imask & BIT(i) && lirq->index >= 0 && in grgpio_irq_handler()
212 priv->uirqs[lirq->index].uirq == irq) { in grgpio_irq_handler()
213 generic_handle_irq(lirq->irq); in grgpio_irq_handler()
234 struct grgpio_lirq *lirq; in grgpio_irq_map() local
243 lirq = &priv->lirqs[offset]; in grgpio_irq_map()
244 if (lirq->index < 0) in grgpio_irq_map()
253 lirq->irq = irq; in grgpio_irq_map()
254 uirq = &priv->uirqs[lirq->index]; in grgpio_irq_map()
284 struct grgpio_lirq *lirq; in grgpio_irq_unmap() local
298 lirq = &priv->lirqs[i]; in grgpio_irq_unmap()
299 if (lirq->irq == irq) { in grgpio_irq_unmap()
301 lirq->irq = 0; in grgpio_irq_unmap()
302 index = lirq->index; in grgpio_irq_unmap()
309 uirq = &priv->uirqs[lirq->index]; in grgpio_irq_unmap()
398 struct grgpio_lirq *lirq; in grgpio_probe() local
401 lirq = &priv->lirqs[i]; in grgpio_probe()
402 lirq->index = irqmap[i]; in grgpio_probe()
404 if (lirq->index < 0) in grgpio_probe()
407 ret = platform_get_irq(ofdev, lirq->index); in grgpio_probe()
415 priv->uirqs[lirq->index].uirq = ret; in grgpio_probe()