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_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 18