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()
251 tgpio->irq_base = pdata->irq_base; in timbgpio_probe()
276 gc->to_irq = (irq >= 0 && tgpio->irq_base > 0) ? timbgpio_to_irq : NULL; in timbgpio_probe()
291 if (irq < 0 || tgpio->irq_base <= 0) in timbgpio_probe()
295 irq_set_chip_and_handler(tgpio->irq_base + i, in timbgpio_probe()
297 irq_set_chip_data(tgpio->irq_base + i, tgpio); in timbgpio_probe()
298 irq_clear_status_flags(tgpio->irq_base + i, IRQ_NOREQUEST | IRQ_NOPROBE); in timbgpio_probe()
312 if (irq >= 0 && tgpio->irq_base > 0) { in timbgpio_remove()
315 irq_set_chip(tgpio->irq_base + i, NULL); in timbgpio_remove()
316 irq_set_chip_data(tgpio->irq_base + i, NULL); in timbgpio_remove()