blob: b3a57444a886fe8aab3f1120e268526904f12c3b [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Copyright 2014-2015 Analog Devices Inc.
4 * Author: Lars-Peter Clausen <lars@metafoo.de>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00005 */
6
7#ifndef __IIO_DMAENGINE_H__
8#define __IIO_DMAENGINE_H__
9
10struct iio_buffer;
11struct device;
12
13struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev,
14 const char *channel);
15void iio_dmaengine_buffer_free(struct iio_buffer *buffer);
16
17#endif