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()
425 int irq_base; in ioh_gpio_probe() local
470 irq_base = devm_irq_alloc_descs(&pdev->dev, -1, IOH_IRQ_BASE, in ioh_gpio_probe()
472 if (irq_base < 0) { in ioh_gpio_probe()
475 ret = irq_base; in ioh_gpio_probe()
478 chip->irq_base = irq_base; in ioh_gpio_probe()
481 irq_base, num_ports[j]); in ioh_gpio_probe()