Home
last modified time | relevance | path

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

12

/Linux-v6.6/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.c58 ret = iio_read_channel_processed(charger->vbus_chan, &v_val); in da9150_charger_vbus_voltage_now()
74 ret = iio_read_channel_processed(charger->ibus_chan, &i_val); in da9150_charger_ibus_current_avg()
90 ret = iio_read_channel_processed(charger->tjunc_chan, &t_val); in da9150_charger_tjunc_temp()
273 ret = iio_read_channel_processed(charger->vbat_chan, &v_val); in da9150_charger_battery_voltage_now()
Daxp20x_ac_power.c109 ret = iio_read_channel_processed(power->acin_v, &val->intval); in axp20x_ac_power_get_property()
119 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.c143 ret = iio_read_channel_processed(power->vbus_v, in axp20x_usb_power_get_property()
172 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()
Dtwl4030_madc_battery.c48 err = iio_read_channel_processed(channel, &val); in madc_read()
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()
Dgeneric-adc-battery.c92 ret = iio_read_channel_processed(adc_bat->channel[channel], result); in gab_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()
/Linux-v6.6/include/linux/iio/
Dconsumer.h238 int iio_read_channel_processed(struct iio_channel *chan, int *val);
/Linux-v6.6/drivers/hwmon/
Diio_hwmon.c52 ret = iio_read_channel_processed(chan, &result); in iio_hwmon_read_val()
/Linux-v6.6/drivers/thermal/
Dthermal-generic-adc.c63 ret = iio_read_channel_processed(gti->channel, &val); in gadc_thermal_get_temp()
/Linux-v6.6/drivers/input/keyboard/
Dadc-keys.c39 ret = iio_read_channel_processed(st->channel, &value); in adc_keys_poll()
/Linux-v6.6/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()
/Linux-v6.6/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c207 ret = iio_read_channel_processed(chip->adc, &mili_celsius); in qpnp_tm_get_temp()
/Linux-v6.6/drivers/iio/
Dinkern.c787 int iio_read_channel_processed(struct iio_channel *chan, int *val) in iio_read_channel_processed() function
792 EXPORT_SYMBOL_GPL(iio_read_channel_processed);
/Linux-v6.6/drivers/iio/afe/
Diio-rescale.c163 return iio_read_channel_processed(rescale->source, val); in rescale_read_raw()
/Linux-v6.6/sound/soc/samsung/
Daries_wm8994.c116 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread()

12