David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2014-2015 Analog Devices Inc. |
| 4 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __IIO_DMAENGINE_H__ |
| 8 | #define __IIO_DMAENGINE_H__ |
| 9 | |
| 10 | struct iio_buffer; |
| 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 | |
| 17 | #endif |