Lines Matching defs:iio_hw_consumer
18 * struct iio_hw_consumer - IIO hw consumer block
22 struct iio_hw_consumer {
53 struct iio_hw_consumer *hwc, struct iio_dev *indio_dev)
81 * Returns a valid iio_hw_consumer on success or a ERR_PTR() on failure.
83 struct iio_hw_consumer *iio_hw_consumer_alloc(struct device *dev)
86 struct iio_hw_consumer *hwc;
129 void iio_hw_consumer_free(struct iio_hw_consumer *hwc)
149 * Managed iio_hw_consumer_alloc. iio_hw_consumer allocated with this function
152 * returns pointer to allocated iio_hw_consumer on success, NULL on failure.
154 struct iio_hw_consumer *devm_iio_hw_consumer_alloc(struct device *dev)
156 struct iio_hw_consumer *iio_hwc;
174 * @hwc: iio_hw_consumer to enable.
178 int iio_hw_consumer_enable(struct iio_hw_consumer *hwc)
200 * @hwc: iio_hw_consumer to disable.
202 void iio_hw_consumer_disable(struct iio_hw_consumer *hwc)