Lines Matching refs:iio_trigger

55 	struct iio_trigger *trig = to_iio_trigger(dev);  in iio_trigger_read_name()
67 static struct iio_trigger *__iio_trigger_find_by_name(const char *name);
69 int __iio_trigger_register(struct iio_trigger *trig_info, in __iio_trigger_register()
109 void iio_trigger_unregister(struct iio_trigger *trig_info) in iio_trigger_unregister()
121 int iio_trigger_set_immutable(struct iio_dev *indio_dev, struct iio_trigger *trig) in iio_trigger_set_immutable()
138 static struct iio_trigger *__iio_trigger_find_by_name(const char *name) in __iio_trigger_find_by_name()
140 struct iio_trigger *iter; in __iio_trigger_find_by_name()
149 static struct iio_trigger *iio_trigger_acquire_by_name(const char *name) in iio_trigger_acquire_by_name()
151 struct iio_trigger *trig = NULL, *iter; in iio_trigger_acquire_by_name()
165 void iio_trigger_poll(struct iio_trigger *trig) in iio_trigger_poll()
189 void iio_trigger_poll_chained(struct iio_trigger *trig) in iio_trigger_poll_chained()
206 void iio_trigger_notify_done(struct iio_trigger *trig) in iio_trigger_notify_done()
217 static int iio_trigger_get_irq(struct iio_trigger *trig) in iio_trigger_get_irq()
231 static void iio_trigger_put_irq(struct iio_trigger *trig, int irq) in iio_trigger_put_irq()
245 static int iio_trigger_attach_poll_func(struct iio_trigger *trig, in iio_trigger_attach_poll_func()
293 static int iio_trigger_detach_poll_func(struct iio_trigger *trig, in iio_trigger_detach_poll_func()
404 struct iio_trigger *oldtrig = indio_dev->trig; in iio_trigger_write_current()
405 struct iio_trigger *trig; in iio_trigger_write_current()
475 struct iio_trigger *trig = to_iio_trigger(device); in iio_trig_release()
504 struct iio_trigger *trig in iio_trig_subirqmask()
506 struct iio_trigger, subirq_chip); in iio_trig_subirqmask()
513 struct iio_trigger *trig in iio_trig_subirqunmask()
515 struct iio_trigger, subirq_chip); in iio_trig_subirqunmask()
519 static struct iio_trigger *viio_trigger_alloc(const char *fmt, va_list vargs) in viio_trigger_alloc()
521 struct iio_trigger *trig; in viio_trigger_alloc()
563 struct iio_trigger *iio_trigger_alloc(const char *fmt, ...) in iio_trigger_alloc()
565 struct iio_trigger *trig; in iio_trigger_alloc()
576 void iio_trigger_free(struct iio_trigger *trig) in iio_trigger_free()
585 iio_trigger_free(*(struct iio_trigger **)res); in devm_iio_trigger_release()
590 struct iio_trigger **r = res; in devm_iio_trigger_match()
617 struct iio_trigger *devm_iio_trigger_alloc(struct device *dev, in devm_iio_trigger_alloc()
620 struct iio_trigger **ptr, *trig; in devm_iio_trigger_alloc()
650 void devm_iio_trigger_free(struct device *dev, struct iio_trigger *iio_trig) in devm_iio_trigger_free()
662 iio_trigger_unregister(*(struct iio_trigger **)res); in devm_iio_trigger_unreg()
683 struct iio_trigger *trig_info, in __devm_iio_trigger_register()
686 struct iio_trigger **ptr; in __devm_iio_trigger_register()
712 struct iio_trigger *trig_info) in devm_iio_trigger_unregister()
740 int iio_trigger_validate_own_device(struct iio_trigger *trig, in iio_trigger_validate_own_device()