Lines Matching defs:trigger

15  * A internal hardware trigger is also implemented to dispatch registered IIO
16 * trigger consumers upon "sample ready" interrupts.
26 * ensure explicit synchronization with external trigger events
41 * declares a valid interrupt line. In this case, the internal hardware trigger
45 * internal hardware trigger is attached as the highest sampling rate seems to
64 #include <linux/iio/trigger.h>
114 * @trigger: Optional hardware / interrupt driven trigger used to notify
129 struct iio_trigger *trigger;
770 * When device is using its own internal hardware trigger in continuous sampling
772 * we have to do is to dispatch the trigger, which in turn will fetch data and
775 * When not using its own internal hardware trigger, the device has been
776 * configured in one-shot mode either by an external trigger or the IIO read_raw
795 * Are we using our own internal trigger in triggered buffer mode, i.e.,
831 /* New sample available: dispatch internal trigger consumers. */
832 iio_trigger_poll_nested(priv->trigger);
836 * Internal hardware trigger has been scheduled above : it will
1130 * @data: The IIO poll function dispatched by external trigger our device is
1133 * Bottom-half handler called by the IIO trigger to which our device is
1136 * ready, etc...) or with its own interrupt (internal hardware trigger).
1138 * When using an external trigger, basically run the same sequence of operations
1143 * Otherwise, when internal hardware trigger has dispatched us, just fetch data
1162 * Using our own internal trigger implies we are currently in continuous
1195 /* Inform attached trigger we are done. */
1230 * Basically setup one-shot mode if plugging external trigger.
1231 * Otherwise, let internal trigger configure continuous sampling :
1262 * We are using an external trigger and we have just been
1291 * @trig: The trigger being attached to IIO device associated with the sampling
1310 * Switch trigger off : in case of failure, interrupt is left
1353 * Switch trigger on : start continuous sampling at required
1385 * zpa2326_init_managed_trigger() - Create interrupt driven / hardware trigger
1404 struct iio_trigger *trigger;
1410 trigger = devm_iio_trigger_alloc(parent, "%s-dev%d",
1413 if (!trigger)
1417 trigger->ops = &zpa2326_trigger_ops;
1419 private->trigger = trigger;
1422 ret = devm_iio_trigger_register(parent, trigger);
1424 dev_err(parent, "failed to register hardware trigger (%d)",