1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 #ifndef LINUX_IIO_HW_CONSUMER_H
  10 #define LINUX_IIO_HW_CONSUMER_H
  11 
  12 struct iio_hw_consumer;
  13 
  14 struct iio_hw_consumer *iio_hw_consumer_alloc(struct device *dev);
  15 void iio_hw_consumer_free(struct iio_hw_consumer *hwc);
  16 struct iio_hw_consumer *devm_iio_hw_consumer_alloc(struct device *dev);
  17 void devm_iio_hw_consumer_free(struct device *dev, struct iio_hw_consumer *hwc);
  18 int iio_hw_consumer_enable(struct iio_hw_consumer *hwc);
  19 void iio_hw_consumer_disable(struct iio_hw_consumer *hwc);
  20 
  21 #endif