Lines Matching defs:channel
66 * CPCAP_REG_CRM charge voltages based on the ADC channel 1 values.
183 struct iio_channel *channel;
186 channel = ddata->channels[CPCAP_CHARGER_IIO_BATTDET];
187 error = iio_read_channel_processed(channel, &temperature);
199 struct iio_channel *channel;
202 channel = ddata->channels[CPCAP_CHARGER_IIO_VOLTAGE];
203 error = iio_read_channel_processed(channel, &value);
215 struct iio_channel *channel;
218 channel = ddata->channels[CPCAP_CHARGER_IIO_CHRG_CURRENT];
219 error = iio_read_channel_processed(channel, &value);
413 struct iio_channel *channel =
416 error = iio_read_channel_processed(channel, &value);