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()
397 struct grgpio_lirq *lirq; in grgpio_probe() local
400 lirq = &priv->lirqs[i]; in grgpio_probe()
401 lirq->index = irqmap[i]; in grgpio_probe()
403 if (lirq->index < 0) in grgpio_probe()
406 ret = platform_get_irq(ofdev, lirq->index); in grgpio_probe()
414 priv->uirqs[lirq->index].uirq = ret; in grgpio_probe()