0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LINUX_IIO_HW_CONSUMER_H
0010 #define LINUX_IIO_HW_CONSUMER_H
0011
0012 struct iio_hw_consumer;
0013
0014 struct iio_hw_consumer *iio_hw_consumer_alloc(struct device *dev);
0015 void iio_hw_consumer_free(struct iio_hw_consumer *hwc);
0016 struct iio_hw_consumer *devm_iio_hw_consumer_alloc(struct device *dev);
0017 int iio_hw_consumer_enable(struct iio_hw_consumer *hwc);
0018 void iio_hw_consumer_disable(struct iio_hw_consumer *hwc);
0019
0020 #endif