Lines Matching refs:uirq
48 u8 uirq; /* Underlying irq of the gpio driver */ member
212 priv->uirqs[lirq->index].uirq == irq) { in grgpio_irq_handler()
235 struct grgpio_uirq *uirq; in grgpio_irq_map() local
254 uirq = &priv->uirqs[lirq->index]; in grgpio_irq_map()
255 if (uirq->refcnt == 0) { in grgpio_irq_map()
257 ret = request_irq(uirq->uirq, grgpio_irq_handler, 0, in grgpio_irq_map()
262 uirq->uirq); in grgpio_irq_map()
267 uirq->refcnt++; in grgpio_irq_map()
285 struct grgpio_uirq *uirq; in grgpio_irq_unmap() local
309 uirq = &priv->uirqs[lirq->index]; in grgpio_irq_unmap()
310 uirq->refcnt--; in grgpio_irq_unmap()
311 if (uirq->refcnt == 0) { in grgpio_irq_unmap()
313 free_irq(uirq->uirq, priv); in grgpio_irq_unmap()
414 priv->uirqs[lirq->index].uirq = ret; in grgpio_probe()