1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * Copyright 2014-2015 Analog Devices Inc. 3 * Copyright 2014-2015 Analog Devices Inc. 4 * Author: Lars-Peter Clausen <lars@metafoo.d 4 * Author: Lars-Peter Clausen <lars@metafoo.de> 5 */ 5 */ 6 6 7 #ifndef __IIO_DMAENGINE_H__ 7 #ifndef __IIO_DMAENGINE_H__ 8 #define __IIO_DMAENGINE_H__ 8 #define __IIO_DMAENGINE_H__ 9 9 10 #include <linux/iio/buffer.h> << 11 << 12 struct iio_dev; 10 struct iio_dev; 13 struct device; 11 struct device; 14 12 15 void iio_dmaengine_buffer_free(struct iio_buff !! 13 int devm_iio_dmaengine_buffer_setup(struct device *dev, 16 struct iio_buffer *iio_dmaengine_buffer_setup_ !! 14 struct iio_dev *indio_dev, 17 !! 15 const char *channel); 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 16 34 #endif 17 #endif 35 18
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.