Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/power/supply/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dtwl4030_madc_battery.c48 err = iio_read_channel_processed(channel, &val); in madc_read()
H A 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()
H A Dgeneric-adc-battery.c137 ret = iio_read_channel_processed(adc_bat->channel[chan_index], in read_channel()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A 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()
H A Diio_hwmon.c50 ret = iio_read_channel_processed(chan, &result); in iio_hwmon_read_val()
/OK3568_Linux_fs/kernel/include/linux/iio/
H A Dconsumer.h206 int iio_read_channel_processed(struct iio_channel *chan, int *val);
/OK3568_Linux_fs/kernel/drivers/thermal/
H A Dthermal-generic-adc.c61 ret = iio_read_channel_processed(gti->channel, &val); in gadc_thermal_get_temp()
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64_unisoc103 iio_read_channel_processed
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dadc-keys.c39 ret = iio_read_channel_processed(st->channel, &value); in adc_keys_poll()
/OK3568_Linux_fs/kernel/drivers/iio/light/
H A Dcm3605.c78 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux()
H A Dgp2ap002.c233 ret = iio_read_channel_processed(gp2ap002->alsout, &res); in gp2ap002_get_lux()
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_multicodecs.c147 ret = iio_read_channel_processed(mc_data->adc, &value); in mc_keys_poll()
239 ret = iio_read_channel_processed(mc_data->adc, &adc); in adc_jack_handler()
/OK3568_Linux_fs/kernel/drivers/iio/
H A 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);
/OK3568_Linux_fs/kernel/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c187 ret = iio_read_channel_processed(chip->adc, &mili_celsius); in qpnp_tm_get_temp()

12