Lines Matching refs:trigger
105 iio_trigger_poll(info->swt.trigger); in iio_hrtimer_trig_handler()
138 trig_info->swt.trigger = iio_trigger_alloc(NULL, "%s", name); in iio_trig_hrtimer_probe()
139 if (!trig_info->swt.trigger) { in iio_trig_hrtimer_probe()
144 iio_trigger_set_drvdata(trig_info->swt.trigger, trig_info); in iio_trig_hrtimer_probe()
145 trig_info->swt.trigger->ops = &iio_hrtimer_trigger_ops; in iio_trig_hrtimer_probe()
146 trig_info->swt.trigger->dev.groups = iio_hrtimer_attr_groups; in iio_trig_hrtimer_probe()
154 ret = iio_trigger_register(trig_info->swt.trigger); in iio_trig_hrtimer_probe()
161 iio_trigger_free(trig_info->swt.trigger); in iio_trig_hrtimer_probe()
172 trig_info = iio_trigger_get_drvdata(swt->trigger); in iio_trig_hrtimer_remove()
174 iio_trigger_unregister(swt->trigger); in iio_trig_hrtimer_remove()
178 iio_trigger_free(swt->trigger); in iio_trig_hrtimer_remove()