1#ifndef _LINUX_IIO_TRIGGERED_BUFFER_H_ 2#define _LINUX_IIO_TRIGGERED_BUFFER_H_ 3 4#include <linux/interrupt.h> 5 6struct iio_dev; 7struct iio_buffer_setup_ops; 8 9int 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); 13void iio_triggered_buffer_cleanup(struct iio_dev *indio_dev); 14 15#endif 16