summaryrefslogtreecommitdiffstats
path: root/include/linux/iio/buffer-dmaengine.h
blob: 5dcddf427bb091dc9f7f7fa931a1afdc115df10a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright 2014-2015 Analog Devices Inc.
 *  Author: Lars-Peter Clausen <lars@metafoo.de>
 *
 * Licensed under the GPL-2 or later.
 */

#ifndef __IIO_DMAENGINE_H__
#define __IIO_DMAENGINE_H__

struct iio_buffer;
struct device;

struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev,
	const char *channel);
void iio_dmaengine_buffer_free(struct iio_buffer *buffer);

#endif
OpenPOWER on IntegriCloud