• Home
  • Raw
  • Download

Lines Matching full:trigger

2 /* The industrial I/O core, trigger handling functions
16 #include <linux/iio/trigger.h>
22 * Make the common case (single sensor single trigger)
23 * simple by starting trigger capture from when first sensors
27 * of the trigger. (not implemented)
78 dev_set_name(&trig_info->dev, "trigger%ld", in __iio_trigger_register()
88 pr_err("Duplicate trigger name '%s'\n", trig_info->name); in __iio_trigger_register()
134 /* Search for trigger by name, assuming iio_trigger_list_lock held */
213 /* Trigger Consumer related functions */
238 * This is not currently handled. Alternative of not enabling trigger unless
249 /* Prevent the module from being removed whilst attached to a trigger */ in iio_trigger_attach_poll_func()
255 …pr_err("Could not find an available irq for trigger %s, CONFIG_IIO_CONSUMERS_PER_TRIGGER=%d limit … in iio_trigger_attach_poll_func()
267 /* Enable trigger in driver */ in iio_trigger_attach_poll_func()
275 * Check if we just registered to our own trigger: we determine that in iio_trigger_attach_poll_func()
276 * this is the case if the IIO device and the trigger device share the in iio_trigger_attach_poll_func()
361 * iio_trigger_read_current() - trigger consumer sysfs query current trigger
365 * @buf: buffer where the current trigger name will be printed into
367 * For trigger consumers the current_trigger interface allows the trigger
371 * on success or 0 if no trigger is available
385 * iio_trigger_write_current() - trigger consumer sysfs set current trigger
388 * @buf: string buffer that holds the name of the trigger
389 * @len: length of the trigger name held by buf
391 * For trigger consumers the current_trigger interface allows the trigger
392 * used for this device to be specified at run time based on the trigger's
469 .name = "trigger",
591 * @fmt: trigger name format. If it includes format
635 * @dev: device this trigger was allocated for
636 * @trig_info: trigger to register
637 * @this_mod: module registering the trigger
639 * Managed iio_trigger_register(). The IIO trigger registered with this
676 * iio_trigger_validate_own_device - Check if a trigger and IIO device belong to
678 * @trig: The IIO trigger to check
684 * Return: 0 if both the trigger and the IIO device belong to the same
704 /* Clean up an associated but not attached trigger reference */ in iio_device_unregister_trigger_consumer()