Lines Matching full:aout
39 * @aout: IIO ADC channel to convert the AOUT signal
48 struct iio_channel *aout; member
78 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux()
85 * AOUT has an offset of ~30mV then linear at dark in cm3605_get_lux()
196 cm3605->aout = devm_iio_channel_get(dev, "aout"); in cm3605_probe()
197 if (IS_ERR(cm3605->aout)) { in cm3605_probe()
198 if (PTR_ERR(cm3605->aout) == -ENODEV) { in cm3605_probe()
202 dev_err(dev, "failed to get AOUT ADC channel\n"); in cm3605_probe()
203 return PTR_ERR(cm3605->aout); in cm3605_probe()
205 ret = iio_get_channel_type(cm3605->aout, &ch_type); in cm3605_probe()
209 dev_err(dev, "wrong type of IIO channel specified for AOUT\n"); in cm3605_probe()