1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 2 /* 3 * Industrial I/O in kernel hardware consumer 3 * Industrial I/O in kernel hardware consumer interface 4 * 4 * 5 * Copyright 2017 Analog Devices Inc. 5 * Copyright 2017 Analog Devices Inc. 6 * Author: Lars-Peter Clausen <lars@metafoo.d 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 7 */ 7 */ 8 8 9 #ifndef LINUX_IIO_HW_CONSUMER_H 9 #ifndef LINUX_IIO_HW_CONSUMER_H 10 #define LINUX_IIO_HW_CONSUMER_H 10 #define LINUX_IIO_HW_CONSUMER_H 11 11 12 struct iio_hw_consumer; 12 struct iio_hw_consumer; 13 13 14 struct iio_hw_consumer *iio_hw_consumer_alloc( 14 struct iio_hw_consumer *iio_hw_consumer_alloc(struct device *dev); 15 void iio_hw_consumer_free(struct iio_hw_consum 15 void iio_hw_consumer_free(struct iio_hw_consumer *hwc); 16 struct iio_hw_consumer *devm_iio_hw_consumer_a 16 struct iio_hw_consumer *devm_iio_hw_consumer_alloc(struct device *dev); 17 int iio_hw_consumer_enable(struct iio_hw_consu 17 int iio_hw_consumer_enable(struct iio_hw_consumer *hwc); 18 void iio_hw_consumer_disable(struct iio_hw_con 18 void iio_hw_consumer_disable(struct iio_hw_consumer *hwc); 19 19 20 #endif 20 #endif 21 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.