1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | /* |
3 | * Copyright 2014-2015 Analog Devices Inc. |
4 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
5 | */ |
6 | |
7 | #ifndef __IIO_DMAENGINE_H__ |
8 | #define __IIO_DMAENGINE_H__ |
9 | |
10 | struct iio_dev; |
11 | struct device; |
12 | |
13 | struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev, |
14 | const char *channel); |
15 | void iio_dmaengine_buffer_free(struct iio_buffer *buffer); |
16 | int devm_iio_dmaengine_buffer_setup(struct device *dev, |
17 | struct iio_dev *indio_dev, |
18 | const char *channel); |
19 | |
20 | #endif |
21 | |