Lines Matching refs:irq_base
38 int irq_base; member
93 if (tgpio->irq_base <= 0) in timbgpio_to_irq()
96 return tgpio->irq_base + offset; in timbgpio_to_irq()
105 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_disable()
117 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_enable()
129 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_type()
233 tgpio->irq_base = pdata->irq_base; in timbgpio_probe()
250 gc->to_irq = (irq >= 0 && tgpio->irq_base > 0) ? timbgpio_to_irq : NULL; in timbgpio_probe()
263 if (irq < 0 || tgpio->irq_base <= 0) in timbgpio_probe()
267 irq_set_chip_and_handler(tgpio->irq_base + i, in timbgpio_probe()
269 irq_set_chip_data(tgpio->irq_base + i, tgpio); in timbgpio_probe()
270 irq_clear_status_flags(tgpio->irq_base + i, IRQ_NOREQUEST | IRQ_NOPROBE); in timbgpio_probe()