Home
last modified time | relevance | path

Searched refs:iio_read_channel_processed (Results 1 – 25 of 28) 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.c213 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, in axp20x_battery_get_prop()
269 ret = iio_read_channel_processed(axp20x_batt->batt_chrg_i, &val->intval); in axp20x_battery_get_prop()
271 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, &val1); in axp20x_battery_get_prop()
320 ret = iio_read_channel_processed(axp20x_batt->batt_v, in axp20x_battery_get_prop()
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()
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()
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-charger.c182 error = iio_read_channel_processed(channel, &value); in cpcap_charger_get_charge_voltage()
198 error = iio_read_channel_processed(channel, &value); in cpcap_charger_get_charge_current()
449 error = iio_read_channel_processed(channel, &value); in cpcap_charger_vbus_valid()
Daxp20x_usb_power.c195 ret = iio_read_channel_processed(power->vbus_v, in axp20x_usb_power_get_property()
221 ret = iio_read_channel_processed(power->vbus_i, in axp20x_usb_power_get_property()
Dcpcap-battery.c187 error = iio_read_channel_processed(channel, value); in cpcap_charger_battery_temperature()
207 error = iio_read_channel_processed(channel, &value); in cpcap_battery_get_voltage()
223 error = iio_read_channel_processed(channel, &value); in cpcap_battery_get_current()
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()
Dgeneric-adc-battery.c134 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.c490 ret = iio_read_channel_processed(di->adc_main_charger_v, &vch); in ab8500_charger_get_ac_voltage()
542 ret = iio_read_channel_processed(di->adc_vbus_v, &vch); in ab8500_charger_get_vbus_voltage()
565 ret = iio_read_channel_processed(di->adc_usb_charger_c, &ich); in ab8500_charger_get_usb_current()
588 ret = iio_read_channel_processed(di->adc_main_charger_c, &ich); in ab8500_charger_get_ac_current()
Dab8500_btemp.c162 ret = iio_read_channel_processed(di->bat_ctrl, &vbtemp); in ab8500_btemp_read_batctrl_voltage()
Dmp2629_charger.c162 ret = iio_read_channel_processed(charger->iiochan[ch], &chval); in mp2629_read_adc()
Dmt6370-charger.c353 ret = iio_read_channel_processed(&priv->iio_adcs[chan], val); in mt6370_chg_read_adc_chan()
/drivers/hwmon/
Diio_hwmon.c52 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.c79 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.c786 int iio_read_channel_processed(struct iio_channel *chan, int *val) in iio_read_channel_processed() function
791 EXPORT_SYMBOL_GPL(iio_read_channel_processed);
/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c209 ret = iio_read_channel_processed(chip->adc, &mili_celsius); in qpnp_tm_get_temp()
/drivers/iio/afe/
Diio-rescale.c163 return iio_read_channel_processed(rescale->source, val); in rescale_read_raw()
/drivers/phy/motorola/
Dphy-cpcap-usb.c136 error = iio_read_channel_processed(ddata->vbus, &value); in cpcap_usb_vbus_valid()

12