blob: 5dcddf427bb091dc9f7f7fa931a1afdc115df10a [file] [log] [blame]
Lars-Peter Clausen2d6ca602015-10-13 18:10:29 +02001/*
2 * Copyright 2014-2015 Analog Devices Inc.
3 * Author: Lars-Peter Clausen <lars@metafoo.de>
4 *
5 * Licensed under the GPL-2 or later.
6 */
7
8#ifndef __IIO_DMAENGINE_H__
9#define __IIO_DMAENGINE_H__
10
11struct iio_buffer;
12struct device;
13
14struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev,
15 const char *channel);
16void iio_dmaengine_buffer_free(struct iio_buffer *buffer);
17
18#endif