Lines Matching refs:irq_base
38 int irq_base; member
92 if (tgpio->irq_base <= 0) in timbgpio_to_irq()
95 return tgpio->irq_base + offset; in timbgpio_to_irq()
104 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_disable()
116 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_enable()
128 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_type()
232 tgpio->irq_base = pdata->irq_base; in timbgpio_probe()
249 gc->to_irq = (irq >= 0 && tgpio->irq_base > 0) ? timbgpio_to_irq : NULL; in timbgpio_probe()
264 if (irq < 0 || tgpio->irq_base <= 0) in timbgpio_probe()
268 irq_set_chip_and_handler(tgpio->irq_base + i, in timbgpio_probe()
270 irq_set_chip_data(tgpio->irq_base + i, tgpio); in timbgpio_probe()
271 irq_clear_status_flags(tgpio->irq_base + i, IRQ_NOREQUEST | IRQ_NOPROBE); in timbgpio_probe()