Lines Matching refs:subirq_base
210 generic_handle_irq(trig->subirq_base + i); in iio_trigger_poll()
241 handle_nested_irq(trig->subirq_base + i); in iio_trigger_poll_nested()
268 ret += trig->subirq_base; in iio_trigger_get_irq()
276 clear_bit(irq - trig->subirq_base, trig->pool); in iio_trigger_put_irq()
522 if (trig->subirq_base) { in iio_trig_release()
524 irq_modify_status(trig->subirq_base + i, in iio_trig_release()
527 irq_set_chip(trig->subirq_base + i, in iio_trig_release()
529 irq_set_handler(trig->subirq_base + i, in iio_trig_release()
533 irq_free_descs(trig->subirq_base, in iio_trig_release()
550 trig->subirqs[d->irq - trig->subirq_base].enabled = false; in iio_trig_subirqmask()
558 trig->subirqs[d->irq - trig->subirq_base].enabled = true; in iio_trig_subirqunmask()
581 trig->subirq_base = irq_alloc_descs(-1, 0, in viio_trigger_alloc()
584 if (trig->subirq_base < 0) in viio_trigger_alloc()
599 irq_set_chip(trig->subirq_base + i, &trig->subirq_chip); in viio_trigger_alloc()
600 irq_set_handler(trig->subirq_base + i, &handle_simple_irq); in viio_trigger_alloc()
601 irq_modify_status(trig->subirq_base + i, in viio_trigger_alloc()
608 irq_free_descs(trig->subirq_base, CONFIG_IIO_CONSUMERS_PER_TRIGGER); in viio_trigger_alloc()