Searched full:alsout (Results 1 – 4 of 4) sorted by relevance
38 description: ALSOUT ADC channel to read the ambient light41 const: alsout81 io-channel-names = "alsout";
132 * @alsout: IIO ADC channel to convert the ALSOUT signal145 struct iio_channel *alsout; member233 ret = iio_read_channel_processed(gp2ap002->alsout, &res); in gp2ap002_get_lux()504 gp2ap002->alsout = devm_iio_channel_get(dev, "alsout"); in gp2ap002_probe()505 if (IS_ERR(gp2ap002->alsout)) { in gp2ap002_probe()506 if (PTR_ERR(gp2ap002->alsout) == -ENODEV) { in gp2ap002_probe()510 dev_err(dev, "failed to get ALSOUT ADC channel\n"); in gp2ap002_probe()511 return PTR_ERR(gp2ap002->alsout); in gp2ap002_probe()513 ret = iio_get_channel_type(gp2ap002->alsout, &ch_type); in gp2ap002_probe()518 "wrong type of IIO channel specified for ALSOUT\n"); in gp2ap002_probe()
524 /* ADC channel AUX2 to read ALSOUT ambient light sensor out */526 io-channel-names = "alsout";
507 io-channel-names = "alsout";