Home
last modified time | relevance | path

Searched refs:iio_read_channel_processed (Results 1 – 25 of 26) sorted by relevance

12

/drivers/power/supply/
Dlego_ev3_battery.c50 ret = iio_read_channel_processed(batt->iio_v, &val->intval); in lego_ev3_battery_get_property()
58 ret = iio_read_channel_processed(batt->iio_i, &val2); in lego_ev3_battery_get_property()
74 ret = iio_read_channel_processed(batt->iio_i, &val->intval); in lego_ev3_battery_get_property()
Daxp20x_battery.c212 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, in axp20x_battery_get_prop()
268 ret = iio_read_channel_processed(axp20x_batt->batt_chrg_i, &val->intval); in axp20x_battery_get_prop()
270 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, &val1); in axp20x_battery_get_prop()
319 ret = iio_read_channel_processed(axp20x_batt->batt_v, in axp20x_battery_get_prop()
Dingenic-battery.c34 ret = iio_read_channel_processed(bat->channel, &val->intval); in ingenic_battery_get_property()
44 ret = iio_read_channel_processed(bat->channel, &val->intval); in ingenic_battery_get_property()
Dda9150-charger.c60 ret = iio_read_channel_processed(charger->vbus_chan, &v_val); in da9150_charger_vbus_voltage_now()
76 ret = iio_read_channel_processed(charger->ibus_chan, &i_val); in da9150_charger_ibus_current_avg()
92 ret = iio_read_channel_processed(charger->tjunc_chan, &t_val); in da9150_charger_tjunc_temp()
275 ret = iio_read_channel_processed(charger->vbat_chan, &v_val); in da9150_charger_battery_voltage_now()
Dcpcap-charger.c187 error = iio_read_channel_processed(channel, &temperature); in cpcap_charger_battery_found()
203 error = iio_read_channel_processed(channel, &value); in cpcap_charger_get_charge_voltage()
219 error = iio_read_channel_processed(channel, &value); in cpcap_charger_get_charge_current()
416 error = iio_read_channel_processed(channel, &value); in cpcap_charger_vbus_valid()
Daxp20x_ac_power.c110 ret = iio_read_channel_processed(power->acin_v, &val->intval); in axp20x_ac_power_get_property()
120 ret = iio_read_channel_processed(power->acin_i, &val->intval); in axp20x_ac_power_get_property()
Dcpcap-battery.c170 error = iio_read_channel_processed(channel, value); in cpcap_charger_battery_temperature()
189 error = iio_read_channel_processed(channel, &value); in cpcap_battery_get_voltage()
205 error = iio_read_channel_processed(channel, &value); in cpcap_battery_get_current()
Daxp20x_usb_power.c194 ret = iio_read_channel_processed(power->vbus_v, in axp20x_usb_power_get_property()
220 ret = iio_read_channel_processed(power->vbus_i, in axp20x_usb_power_get_property()
Dlp8788-charger.c240 return iio_read_channel_processed(channel, result); in lp8788_get_vbatt_adc()
297 ret = iio_read_channel_processed(channel, &result); in lp8788_get_battery_temperature()
Dtwl4030_madc_battery.c48 err = iio_read_channel_processed(channel, &val); in madc_read()
Dab8500_btemp.c185 ret = iio_read_channel_processed(di->bat_ctrl, &vbtemp); in ab8500_btemp_read_batctrl_voltage()
485 ret = iio_read_channel_processed(di->btemp_ball, &vntc); in ab8500_btemp_measure_temp()
Dgeneric-adc-battery.c137 ret = iio_read_channel_processed(adc_bat->channel[chan_index], in read_channel()
Dsc27xx_fuel_gauge.c521 ret = iio_read_channel_processed(data->charge_chan, &vol); in sc27xx_fgu_get_charge_vol()
531 return iio_read_channel_processed(data->channel, temp); in sc27xx_fgu_get_temp()
Dab8500_charger.c488 ret = iio_read_channel_processed(di->adc_main_charger_v, &vch); in ab8500_charger_get_ac_voltage()
539 ret = iio_read_channel_processed(di->adc_vbus_v, &vch); in ab8500_charger_get_vbus_voltage()
561 ret = iio_read_channel_processed(di->adc_usb_charger_c, &ich); in ab8500_charger_get_usb_current()
583 ret = iio_read_channel_processed(di->adc_main_charger_c, &ich); in ab8500_charger_get_ac_current()
Dmp2629_charger.c162 ret = iio_read_channel_processed(charger->iiochan[ch], &chval); in mp2629_read_adc()
Dtwl4030_charger.c101 err = iio_read_channel_processed(channel_vac, &val); in ac_available()
/drivers/hwmon/
Dab8500.c95 ret = iio_read_channel_processed(ab8500_data->aux1, &voltage); in ab8500_read_sensor()
102 ret = iio_read_channel_processed(ab8500_data->aux2, &voltage); in ab8500_read_sensor()
Diio_hwmon.c50 ret = iio_read_channel_processed(chan, &result); in iio_hwmon_read_val()
/drivers/thermal/
Dthermal-generic-adc.c61 ret = iio_read_channel_processed(gti->channel, &val); in gadc_thermal_get_temp()
/drivers/input/keyboard/
Dadc-keys.c39 ret = iio_read_channel_processed(st->channel, &value); in adc_keys_poll()
/drivers/iio/light/
Dcm3605.c78 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux()
Dgp2ap002.c233 ret = iio_read_channel_processed(gp2ap002->alsout, &res); in gp2ap002_get_lux()
/drivers/iio/
Dinkern.c686 int iio_read_channel_processed(struct iio_channel *chan, int *val) in iio_read_channel_processed() function
711 EXPORT_SYMBOL_GPL(iio_read_channel_processed);
/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c187 ret = iio_read_channel_processed(chip->adc, &mili_celsius); in qpnp_tm_get_temp()
/drivers/phy/motorola/
Dphy-cpcap-usb.c144 error = iio_read_channel_processed(ddata->vbus, &value); in cpcap_usb_vbus_valid()

12