triggered_buffer.h 410 B

123456789101112131415
  1. #ifndef _LINUX_IIO_TRIGGERED_BUFFER_H_
  2. #define _LINUX_IIO_TRIGGERED_BUFFER_H_
  3. #include <linux/interrupt.h>
  4. struct iio_dev;
  5. struct iio_buffer_setup_ops;
  6. int iio_triggered_buffer_setup(struct iio_dev *indio_dev,
  7. irqreturn_t (*h)(int irq, void *p),
  8. irqreturn_t (*thread)(int irq, void *p),
  9. const struct iio_buffer_setup_ops *setup_ops);
  10. void iio_triggered_buffer_cleanup(struct iio_dev *indio_dev);
  11. #endif