Home
last modified time | relevance | path

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

/Linux-v5.4/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()
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()
Daxp20x_battery.c213 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, in axp20x_battery_get_prop()
273 ret = iio_read_channel_processed(chan, &val->intval); in axp20x_battery_get_prop()
320 ret = iio_read_channel_processed(axp20x_batt->batt_v, in axp20x_battery_get_prop()
Daxp20x_ac_power.c92 ret = iio_read_channel_processed(power->acin_v, &val->intval); in axp20x_ac_power_get_property()
102 ret = iio_read_channel_processed(power->acin_i, &val->intval); in axp20x_ac_power_get_property()
Dcpcap-charger.c191 error = iio_read_channel_processed(channel, &value); in cpcap_charger_get_charge_voltage()
207 error = iio_read_channel_processed(channel, &value); in cpcap_charger_get_charge_current()
322 error = iio_read_channel_processed(channel, &value); in cpcap_charger_vbus_valid()
Dcpcap-battery.c149 error = iio_read_channel_processed(channel, value); in cpcap_charger_battery_temperature()
168 error = iio_read_channel_processed(channel, &value); in cpcap_battery_get_voltage()
184 error = iio_read_channel_processed(channel, &value); in cpcap_battery_get_current()
Daxp20x_usb_power.c177 ret = iio_read_channel_processed(power->vbus_v, in axp20x_usb_power_get_property()
203 ret = iio_read_channel_processed(power->vbus_i, in axp20x_usb_power_get_property()
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.c137 ret = iio_read_channel_processed(adc_bat->channel[chan_index], in read_channel()
Dsc27xx_fuel_gauge.c457 ret = iio_read_channel_processed(data->charge_chan, &vol); in sc27xx_fgu_get_charge_vol()
467 return iio_read_channel_processed(data->channel, temp); in sc27xx_fgu_get_temp()
Dtwl4030_charger.c101 err = iio_read_channel_processed(channel_vac, &val); in ac_available()
/Linux-v5.4/include/linux/iio/
Dconsumer.h224 int iio_read_channel_processed(struct iio_channel *chan, int *val);
/Linux-v5.4/drivers/thermal/
Dthermal-generic-adc.c61 ret = iio_read_channel_processed(gti->channel, &val); in gadc_thermal_get_temp()
/Linux-v5.4/drivers/hwmon/
Diio_hwmon.c50 ret = iio_read_channel_processed(chan, &result); in iio_hwmon_read_val()
/Linux-v5.4/drivers/input/keyboard/
Dadc-keys.c40 ret = iio_read_channel_processed(st->channel, &value); in adc_keys_poll()
/Linux-v5.4/drivers/iio/light/
Dcm3605.c78 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux()
/Linux-v5.4/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c187 ret = iio_read_channel_processed(chip->adc, &mili_celsius); in qpnp_tm_get_temp()
/Linux-v5.4/drivers/iio/
Dinkern.c689 int iio_read_channel_processed(struct iio_channel *chan, int *val) in iio_read_channel_processed() function
714 EXPORT_SYMBOL_GPL(iio_read_channel_processed);
/Linux-v5.4/drivers/phy/motorola/
Dphy-cpcap-usb.c143 error = iio_read_channel_processed(ddata->vbus, &value); in cpcap_usb_vbus_valid()