Lines Matching full:trigger
5 * Based on a mashup of the hrtimer trigger and continuous sampling proposal of
30 #include <linux/iio/trigger.h>
64 "failed to create trigger loop thread\n"); in iio_loop_trigger_set_state()
87 trig_info->swt.trigger = iio_trigger_alloc("%s", name); in iio_trig_loop_probe()
88 if (!trig_info->swt.trigger) { in iio_trig_loop_probe()
93 iio_trigger_set_drvdata(trig_info->swt.trigger, trig_info); in iio_trig_loop_probe()
94 trig_info->swt.trigger->ops = &iio_loop_trigger_ops; in iio_trig_loop_probe()
96 ret = iio_trigger_register(trig_info->swt.trigger); in iio_trig_loop_probe()
105 iio_trigger_free(trig_info->swt.trigger); in iio_trig_loop_probe()
116 trig_info = iio_trigger_get_drvdata(swt->trigger); in iio_trig_loop_remove()
118 iio_trigger_unregister(swt->trigger); in iio_trig_loop_remove()
119 iio_trigger_free(swt->trigger); in iio_trig_loop_remove()
139 MODULE_DESCRIPTION("Loop based trigger for the iio subsystem");