1 /* SPDX-License-Identifier: GPL-2.0-or-later * << 2 /* 1 /* 3 * Copyright 2014-2015 Analog Devices Inc. 2 * Copyright 2014-2015 Analog Devices Inc. 4 * Author: Lars-Peter Clausen <lars@metafoo.d 3 * Author: Lars-Peter Clausen <lars@metafoo.de> >> 4 * >> 5 * Licensed under the GPL-2 or later. 5 */ 6 */ 6 7 7 #ifndef __IIO_DMAENGINE_H__ 8 #ifndef __IIO_DMAENGINE_H__ 8 #define __IIO_DMAENGINE_H__ 9 #define __IIO_DMAENGINE_H__ 9 10 10 #include <linux/iio/buffer.h> !! 11 struct iio_buffer; 11 << 12 struct iio_dev; << 13 struct device; 12 struct device; 14 13 >> 14 struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev, >> 15 const char *channel); 15 void iio_dmaengine_buffer_free(struct iio_buff 16 void iio_dmaengine_buffer_free(struct iio_buffer *buffer); 16 struct iio_buffer *iio_dmaengine_buffer_setup_ << 17 << 18 << 19 << 20 << 21 #define iio_dmaengine_buffer_setup(dev, indio_ << 22 iio_dmaengine_buffer_setup_ext(dev, in << 23 IIO_BUF << 24 << 25 int devm_iio_dmaengine_buffer_setup_ext(struct << 26 struct << 27 const << 28 enum i << 29 << 30 #define devm_iio_dmaengine_buffer_setup(dev, i << 31 devm_iio_dmaengine_buffer_setup_ext(de << 32 II << 33 17 34 #endif 18 #endif 35 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.