Searched full:alsout (Results 1 – 3 of 3) 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()505 gp2ap002->alsout = devm_iio_channel_get(dev, "alsout"); in gp2ap002_probe()506 if (IS_ERR(gp2ap002->alsout)) { in gp2ap002_probe()507 if (PTR_ERR(gp2ap002->alsout) == -ENODEV) { in gp2ap002_probe()511 dev_err(dev, "failed to get ALSOUT ADC channel\n"); in gp2ap002_probe()512 return PTR_ERR(gp2ap002->alsout); in gp2ap002_probe()514 ret = iio_get_channel_type(gp2ap002->alsout, &ch_type); in gp2ap002_probe()519 "wrong type of IIO channel specified for ALSOUT\n"); in gp2ap002_probe()
507 io-channel-names = "alsout";