2012-08-17 22:57:00 +07:00
|
|
|
#ifndef __LINUX_IIO_KFIFO_BUF_H__
|
|
|
|
#define __LINUX_IIO_KFIFO_BUF_H__
|
2011-02-11 20:09:10 +07:00
|
|
|
|
|
|
|
#include <linux/kfifo.h>
|
2012-04-25 21:54:58 +07:00
|
|
|
#include <linux/iio/iio.h>
|
|
|
|
#include <linux/iio/buffer.h>
|
2011-02-11 20:09:10 +07:00
|
|
|
|
2014-12-20 00:39:24 +07:00
|
|
|
struct iio_buffer *iio_kfifo_allocate(void);
|
2011-09-21 17:15:57 +07:00
|
|
|
void iio_kfifo_free(struct iio_buffer *r);
|
2011-02-11 20:09:10 +07:00
|
|
|
|
2014-12-20 00:39:25 +07:00
|
|
|
struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev);
|
|
|
|
void devm_iio_kfifo_free(struct device *dev, struct iio_buffer *r);
|
|
|
|
|
2012-08-17 22:57:00 +07:00
|
|
|
#endif
|