Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
triggered_buffer.h
Go to the documentation of this file.
1 #ifndef _LINUX_IIO_TRIGGERED_BUFFER_H_
2 #define _LINUX_IIO_TRIGGERED_BUFFER_H_
3 
4 #include <linux/interrupt.h>
5 
6 struct iio_dev;
8 
9 int iio_triggered_buffer_setup(struct iio_dev *indio_dev,
10  irqreturn_t (*pollfunc_bh)(int irq, void *p),
11  irqreturn_t (*pollfunc_th)(int irq, void *p),
12  const struct iio_buffer_setup_ops *setup_ops);
13 void iio_triggered_buffer_cleanup(struct iio_dev *indio_dev);
14 
15 #endif