kfifo_buf.h 381 B

123456789101112131415
  1. #ifndef __LINUX_IIO_KFIFO_BUF_H__
  2. #define __LINUX_IIO_KFIFO_BUF_H__
  3. #include <linux/kfifo.h>
  4. #include <linux/iio/iio.h>
  5. #include <linux/iio/buffer.h>
  6. struct iio_buffer *iio_kfifo_allocate(void);
  7. void iio_kfifo_free(struct iio_buffer *r);
  8. struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev);
  9. void devm_iio_kfifo_free(struct device *dev, struct iio_buffer *r);
  10. #endif