Lines Matching refs:irq_base
100 int irq_base; member
229 return chip->irq_base + offset; in ioh_gpio_to_irq()
262 ch = irq - chip->irq_base; in ioh_irq_type()
263 if (irq <= chip->irq_base + 7) { in ioh_irq_type()
323 iowrite32(1 << (d->irq - chip->irq_base), in ioh_irq_unmask()
332 iowrite32(1 << (d->irq - chip->irq_base), in ioh_irq_mask()
345 ien &= ~(1 << (d->irq - chip->irq_base)); in ioh_irq_disable()
359 ien |= 1 << (d->irq - chip->irq_base); in ioh_irq_enable()
380 generic_handle_irq(chip->irq_base + j); in ioh_gpio_handler()
417 int irq_base; in ioh_gpio_probe() local
462 irq_base = irq_alloc_descs(-1, IOH_IRQ_BASE, num_ports[j], in ioh_gpio_probe()
464 if (irq_base < 0) { in ioh_gpio_probe()
467 chip->irq_base = -1; in ioh_gpio_probe()
468 ret = irq_base; in ioh_gpio_probe()
471 chip->irq_base = irq_base; in ioh_gpio_probe()
472 ioh_gpio_alloc_generic_chip(chip, irq_base, num_ports[j]); in ioh_gpio_probe()
493 irq_free_descs(chip->irq_base, num_ports[j]); in ioh_gpio_probe()
530 irq_free_descs(chip->irq_base, num_ports[i]); in ioh_gpio_remove()