Contributors: 6
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Paul Cercueil |
34 |
34.00% |
1 |
12.50% |
Lars-Peter Clausen |
28 |
28.00% |
1 |
12.50% |
Nuno Sá |
18 |
18.00% |
2 |
25.00% |
Michael Hennerich |
10 |
10.00% |
1 |
12.50% |
Alexandru Ardelean |
8 |
8.00% |
2 |
25.00% |
Thomas Gleixner |
2 |
2.00% |
1 |
12.50% |
Total |
100 |
|
8 |
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright 2014-2015 Analog Devices Inc.
* Author: Lars-Peter Clausen <lars@metafoo.de>
*/
#ifndef __IIO_DMAENGINE_H__
#define __IIO_DMAENGINE_H__
#include <linux/iio/buffer.h>
struct iio_dev;
struct device;
void iio_dmaengine_buffer_free(struct iio_buffer *buffer);
struct iio_buffer *iio_dmaengine_buffer_setup_ext(struct device *dev,
struct iio_dev *indio_dev,
const char *channel,
enum iio_buffer_direction dir);
#define iio_dmaengine_buffer_setup(dev, indio_dev, channel) \
iio_dmaengine_buffer_setup_ext(dev, indio_dev, channel, \
IIO_BUFFER_DIRECTION_IN)
int devm_iio_dmaengine_buffer_setup_ext(struct device *dev,
struct iio_dev *indio_dev,
const char *channel,
enum iio_buffer_direction dir);
#define devm_iio_dmaengine_buffer_setup(dev, indio_dev, channel) \
devm_iio_dmaengine_buffer_setup_ext(dev, indio_dev, channel, \
IIO_BUFFER_DIRECTION_IN)
#endif