Lines Matching refs:irq_base
97 int irq_base; member
207 return chip->irq_base + offset; in pch_gpio_to_irq()
236 ch = irq - chip->irq_base; in pch_irq_type()
237 if (irq < chip->irq_base + 8) { in pch_irq_type()
287 iowrite32(BIT(d->irq - chip->irq_base), &chip->reg->imaskclr); in pch_irq_unmask()
295 iowrite32(BIT(d->irq - chip->irq_base), &chip->reg->imask); in pch_irq_mask()
303 iowrite32(BIT(d->irq - chip->irq_base), &chip->reg->iclr); in pch_irq_ack()
317 generic_handle_irq(chip->irq_base + i); in pch_gpio_handler()
356 int irq_base; in pch_gpio_probe() local
382 irq_base = devm_irq_alloc_descs(dev, -1, 0, in pch_gpio_probe()
384 if (irq_base < 0) { in pch_gpio_probe()
386 chip->irq_base = -1; in pch_gpio_probe()
389 chip->irq_base = irq_base; in pch_gpio_probe()
400 return pch_gpio_alloc_generic_chip(chip, irq_base, gpio_pins[chip->ioh]); in pch_gpio_probe()