Lines Matching refs:subirq_base
204 generic_handle_irq(trig->subirq_base + i); in iio_trigger_poll()
228 handle_nested_irq(trig->subirq_base + i); in iio_trigger_poll_chained()
255 ret += trig->subirq_base; in iio_trigger_get_irq()
263 clear_bit(irq - trig->subirq_base, trig->pool); in iio_trigger_put_irq()
509 if (trig->subirq_base) { in iio_trig_release()
511 irq_modify_status(trig->subirq_base + i, in iio_trig_release()
514 irq_set_chip(trig->subirq_base + i, in iio_trig_release()
516 irq_set_handler(trig->subirq_base + i, in iio_trig_release()
520 irq_free_descs(trig->subirq_base, in iio_trig_release()
537 trig->subirqs[d->irq - trig->subirq_base].enabled = false; in iio_trig_subirqmask()
545 trig->subirqs[d->irq - trig->subirq_base].enabled = true; in iio_trig_subirqunmask()
568 trig->subirq_base = irq_alloc_descs(-1, 0, in viio_trigger_alloc()
571 if (trig->subirq_base < 0) in viio_trigger_alloc()
586 irq_set_chip(trig->subirq_base + i, &trig->subirq_chip); in viio_trigger_alloc()
587 irq_set_handler(trig->subirq_base + i, &handle_simple_irq); in viio_trigger_alloc()
588 irq_modify_status(trig->subirq_base + i, in viio_trigger_alloc()
595 irq_free_descs(trig->subirq_base, CONFIG_IIO_CONSUMERS_PER_TRIGGER); in viio_trigger_alloc()