Home
last modified time | relevance | path

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

/Linux-v4.19/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_ac_power.c86 ret = iio_read_channel_processed(power->acin_v, &val->intval); in axp20x_ac_power_get_property()
96 ret = iio_read_channel_processed(power->acin_i, &val->intval); in axp20x_ac_power_get_property()
Dda9150-charger.c64 ret = iio_read_channel_processed(charger->vbus_chan, &v_val); in da9150_charger_vbus_voltage_now()
80 ret = iio_read_channel_processed(charger->ibus_chan, &i_val); in da9150_charger_ibus_current_avg()
96 ret = iio_read_channel_processed(charger->tjunc_chan, &t_val); in da9150_charger_tjunc_temp()
279 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()
Dcpcap-charger.c195 error = iio_read_channel_processed(channel, &value); in cpcap_charger_get_charge_voltage()
211 error = iio_read_channel_processed(channel, &value); in cpcap_charger_get_charge_current()
326 error = iio_read_channel_processed(channel, &value); in cpcap_charger_vbus_valid()
Daxp20x_usb_power.c83 ret = iio_read_channel_processed(power->vbus_v, in axp20x_usb_power_get_property()
128 ret = iio_read_channel_processed(power->vbus_i, in axp20x_usb_power_get_property()
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()
Dtwl4030_madc_battery.c47 err = iio_read_channel_processed(channel, &val); in madc_read()
Dlp8788-charger.c244 return iio_read_channel_processed(channel, result); in lp8788_get_vbatt_adc()
301 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()
Dtwl4030_charger.c105 err = iio_read_channel_processed(channel_vac, &val); in ac_available()
/Linux-v4.19/include/linux/iio/
Dconsumer.h227 int iio_read_channel_processed(struct iio_channel *chan, int *val);
/Linux-v4.19/drivers/thermal/
Dthermal-generic-adc.c57 ret = iio_read_channel_processed(gti->channel, &val); in gadc_thermal_get_temp()
Dqcom-spmi-temp-alarm.c171 ret = iio_read_channel_processed(chip->adc, &mili_celsius); in qpnp_tm_get_temp()
/Linux-v4.19/drivers/hwmon/
Diio_hwmon.c51 ret = iio_read_channel_processed(&state->channels[sattr->index], in iio_hwmon_read_val()
/Linux-v4.19/drivers/input/keyboard/
Dadc-keys.c43 ret = iio_read_channel_processed(st->channel, &value); in adc_keys_poll()
/Linux-v4.19/drivers/iio/light/
Dcm3605.c77 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux()
/Linux-v4.19/drivers/iio/
Dinkern.c692 int iio_read_channel_processed(struct iio_channel *chan, int *val) in iio_read_channel_processed() function
717 EXPORT_SYMBOL_GPL(iio_read_channel_processed);
/Linux-v4.19/drivers/phy/motorola/
Dphy-cpcap-usb.c143 error = iio_read_channel_processed(ddata->vbus, &value); in cpcap_usb_vbus_valid()