Lines Matching refs:irq_base
49 int irq_base; member
103 if (tgpio->irq_base <= 0) in timbgpio_to_irq()
106 return tgpio->irq_base + offset; in timbgpio_to_irq()
115 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_disable()
127 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_enable()
139 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_type()
250 tgpio->irq_base = pdata->irq_base; in timbgpio_probe()
275 gc->to_irq = (irq >= 0 && tgpio->irq_base > 0) ? timbgpio_to_irq : NULL; in timbgpio_probe()
290 if (irq < 0 || tgpio->irq_base <= 0) in timbgpio_probe()
294 irq_set_chip_and_handler(tgpio->irq_base + i, in timbgpio_probe()
296 irq_set_chip_data(tgpio->irq_base + i, tgpio); in timbgpio_probe()
298 set_irq_flags(tgpio->irq_base + i, IRQF_VALID | IRQF_PROBE); in timbgpio_probe()
314 if (irq >= 0 && tgpio->irq_base > 0) { in timbgpio_remove()
317 irq_set_chip(tgpio->irq_base + i, NULL); in timbgpio_remove()
318 irq_set_chip_data(tgpio->irq_base + i, NULL); in timbgpio_remove()