2019-05-24 17:04:09 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2015-10-13 23:10:29 +07:00
|
|
|
/*
|
|
|
|
* Copyright 2014-2015 Analog Devices Inc.
|
|
|
|
* Author: Lars-Peter Clausen <lars@metafoo.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __IIO_DMAENGINE_H__
|
|
|
|
#define __IIO_DMAENGINE_H__
|
|
|
|
|
|
|
|
struct iio_buffer;
|
|
|
|
struct device;
|
|
|
|
|
|
|
|
struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev,
|
|
|
|
const char *channel);
|
|
|
|
void iio_dmaengine_buffer_free(struct iio_buffer *buffer);
|
|
|
|
|
2020-03-24 20:46:32 +07:00
|
|
|
struct iio_buffer *devm_iio_dmaengine_buffer_alloc(struct device *dev,
|
|
|
|
const char *channel);
|
|
|
|
|
2015-10-13 23:10:29 +07:00
|
|
|
#endif
|