/linux/drivers/power/supply/ |
H A D | lego_ev3_battery.c | 51 ret = iio_read_channel_processed(batt->iio_v, &val->intval); in lego_ev3_battery_get_property() 59 ret = iio_read_channel_processed(batt->iio_i, &val2); in lego_ev3_battery_get_property() 75 ret = iio_read_channel_processed(batt->iio_i, &val->intval); in lego_ev3_battery_get_property()
|
H A D | da9150-charger.c | 58 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()
|
H A D | axp20x_ac_power.c | 109 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()
|
H A D | cpcap-charger.c | 182 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()
|
H A D | twl4030_madc_battery.c | 48 err = iio_read_channel_processed(channel, &val); in madc_read()
|
H A D | cpcap-battery.c | 187 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()
|
H A D | lp8788-charger.c | 240 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 D | generic-adc-battery.c | 92 ret = iio_read_channel_processed(adc_bat->channel[channel], result); in gab_read_channel()
|
H A D | sc27xx_fuel_gauge.c | 521 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 D | max17040_battery.c | 413 iio_read_channel_processed(chip->channel_temp, &val->intval); in max17040_get_property()
|
H A D | mp2629_charger.c | 154 ret = iio_read_channel_processed(charger->iiochan[ch], &chval); in mp2629_read_adc()
|
H A D | axp20x_battery.c | 305 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, in axp20x_battery_get_prop()
|
H A D | mt6370-charger.c | 353 ret = iio_read_channel_processed(&priv->iio_adcs[chan], val); in mt6370_chg_read_adc_chan()
|
H A D | qcom_smbx.c | 617 return iio_read_channel_processed(chan, val); in smb_get_iio_chan()
|
/linux/include/linux/iio/ |
H A D | consumer.h | 226 * iio_read_channel_processed() - read processed value from a given channel 238 int iio_read_channel_processed(struct iio_channel *chan, int *val); 249 * like @iio_read_channel_processed() but also scale with an additional
|
/linux/drivers/thermal/ |
H A D | thermal-generic-adc.c | 63 ret = iio_read_channel_processed(gti->channel, &val); in gadc_thermal_get_temp()
|
/linux/drivers/input/keyboard/ |
H A D | adc-keys.c | 39 ret = iio_read_channel_processed(st->channel, &value); in adc_keys_poll()
|
/linux/drivers/hwmon/ |
H A D | iio_hwmon.c | 71 ret = iio_read_channel_processed(chan, &result); in iio_hwmon_read_val()
|
/linux/sound/soc/samsung/ |
H A D | midas_wm1811.c | 96 ret = iio_read_channel_processed(priv->adc_headset_detect, &adc); in headset_jack_check() 130 ret = iio_read_channel_processed(priv->adc_headset_detect, &adc); in headset_key_check()
|
H A D | aries_wm8994.c | 115 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread()
|
/linux/drivers/iio/ |
H A D | inkern.c | 742 int iio_read_channel_processed(struct iio_channel *chan, int *val) in iio_read_channel_processed() function 747 EXPORT_SYMBOL_GPL(iio_read_channel_processed);
|
/linux/drivers/iio/light/ |
H A D | gp2ap002.c | 233 ret = iio_read_channel_processed(gp2ap002->alsout, &res); in gp2ap002_get_lux()
|
/linux/drivers/iio/afe/ |
H A D | iio-rescale.c | 163 return iio_read_channel_processed(rescale->source, val); in rescale_read_raw()
|
/linux/drivers/phy/motorola/ |
H A D | phy-cpcap-usb.c | 135 error = iio_read_channel_processed(ddata->vbus, &value); in cpcap_usb_vbus_valid()
|
/linux/drivers/thermal/qcom/ |
H A D | qcom-spmi-adc-tm5.c | 368 ret = iio_read_channel_processed(channel->iio, temp); in adc_tm5_get_temp()
|