2 /* The industrial I/O core, trigger consumer handling functions
4 * Copyright (c) 2008 Jonathan Cameron
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
11 #ifdef CONFIG_IIO_TRIGGER
13 * iio_device_register_trigger_consumer() - set up an iio_dev to use triggers
14 * @indio_dev: iio_dev associated with the device that will consume the trigger
16 void iio_device_register_trigger_consumer(struct iio_dev
*indio_dev
);
19 * iio_device_unregister_trigger_consumer() - reverse the registration process
20 * @indio_dev: iio_dev associated with the device that consumed the trigger
22 void iio_device_unregister_trigger_consumer(struct iio_dev
*indio_dev
);
27 * iio_device_register_trigger_consumer() - set up an iio_dev to use triggers
28 * @indio_dev: iio_dev associated with the device that will consume the trigger
30 static int iio_device_register_trigger_consumer(struct iio_dev
*indio_dev
)
36 * iio_device_unregister_trigger_consumer() - reverse the registration process
37 * @indio_dev: iio_dev associated with the device that consumed the trigger
39 static void iio_device_unregister_trigger_consumer(struct iio_dev
*indio_dev
)
43 #endif /* CONFIG_TRIGGER_CONSUMER */
This page took 0.030183 seconds and 5 git commands to generate.