2012-08-17 23:57:00 +08:00
|
|
|
#ifndef __LINUX_IIO_KFIFO_BUF_H__
|
|
|
|
#define __LINUX_IIO_KFIFO_BUF_H__
|
2011-02-11 21:09:10 +08:00
|
|
|
|
|
|
|
#include <linux/kfifo.h>
|
2012-04-25 22:54:58 +08:00
|
|
|
#include <linux/iio/iio.h>
|
|
|
|
#include <linux/iio/buffer.h>
|
2011-02-11 21:09:10 +08:00
|
|
|
|
2014-12-20 01:39:24 +08:00
|
|
|
struct iio_buffer *iio_kfifo_allocate(void);
|
2011-09-21 18:15:57 +08:00
|
|
|
void iio_kfifo_free(struct iio_buffer *r);
|
2011-02-11 21:09:10 +08:00
|
|
|
|
2014-12-20 01:39:25 +08: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 23:57:00 +08:00
|
|
|
#endif
|