2021-10-27 18:46:41 +05:00
|
|
|
/*
|
|
|
|
* Copyright 2014-2015 Analog Devices Inc.
|
|
|
|
* Author: Lars-Peter Clausen <lars@metafoo.de>
|
2021-11-13 09:26:51 +05:00
|
|
|
*
|
|
|
|
* Licensed under the GPL-2 or later.
|
2021-10-27 18:46:41 +05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __IIO_DMAENGINE_H__
|
|
|
|
#define __IIO_DMAENGINE_H__
|
|
|
|
|
2021-11-13 09:26:51 +05:00
|
|
|
struct iio_buffer;
|
2021-10-27 18:46:41 +05:00
|
|
|
struct device;
|
|
|
|
|
2021-11-13 09:26:51 +05:00
|
|
|
struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev,
|
|
|
|
const char *channel);
|
|
|
|
void iio_dmaengine_buffer_free(struct iio_buffer *buffer);
|
2021-10-27 18:46:41 +05:00
|
|
|
|
|
|
|
#endif
|