mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
602 B
20 lines
602 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
/* |
|
* Industrial I/O in kernel hardware consumer interface |
|
* |
|
* Copyright 2017 Analog Devices Inc. |
|
* Author: Lars-Peter Clausen <[email protected]> |
|
*/ |
|
|
|
#ifndef LINUX_IIO_HW_CONSUMER_H |
|
#define LINUX_IIO_HW_CONSUMER_H |
|
|
|
struct iio_hw_consumer; |
|
|
|
struct iio_hw_consumer *iio_hw_consumer_alloc(struct device *dev); |
|
void iio_hw_consumer_free(struct iio_hw_consumer *hwc); |
|
struct iio_hw_consumer *devm_iio_hw_consumer_alloc(struct device *dev); |
|
int iio_hw_consumer_enable(struct iio_hw_consumer *hwc); |
|
void iio_hw_consumer_disable(struct iio_hw_consumer *hwc); |
|
|
|
#endif
|
|
|