Lines Matching refs:subirq_base
171 generic_handle_irq(trig->subirq_base + i); in iio_trigger_poll()
195 handle_nested_irq(trig->subirq_base + i); in iio_trigger_poll_chained()
223 ret += trig->subirq_base; in iio_trigger_get_irq()
231 clear_bit(irq - trig->subirq_base, trig->pool); in iio_trigger_put_irq()
478 if (trig->subirq_base) { in iio_trig_release()
480 irq_modify_status(trig->subirq_base + i, in iio_trig_release()
483 irq_set_chip(trig->subirq_base + i, in iio_trig_release()
485 irq_set_handler(trig->subirq_base + i, in iio_trig_release()
489 irq_free_descs(trig->subirq_base, in iio_trig_release()
507 trig->subirqs[d->irq - trig->subirq_base].enabled = false; in iio_trig_subirqmask()
516 trig->subirqs[d->irq - trig->subirq_base].enabled = true; in iio_trig_subirqunmask()
534 trig->subirq_base = irq_alloc_descs(-1, 0, in viio_trigger_alloc()
537 if (trig->subirq_base < 0) in viio_trigger_alloc()
548 irq_set_chip(trig->subirq_base + i, &trig->subirq_chip); in viio_trigger_alloc()
549 irq_set_handler(trig->subirq_base + i, &handle_simple_irq); in viio_trigger_alloc()
550 irq_modify_status(trig->subirq_base + i, in viio_trigger_alloc()
557 irq_free_descs(trig->subirq_base, CONFIG_IIO_CONSUMERS_PER_TRIGGER); in viio_trigger_alloc()