Searched refs:iio_read_channel_processed (Results 1 – 19 of 19) sorted by relevance
/Linux-v4.19/drivers/power/supply/ |
D | lego_ev3_battery.c | 50 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()
|
D | axp20x_ac_power.c | 86 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()
|
D | da9150-charger.c | 64 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()
|
D | axp20x_battery.c | 213 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()
|
D | cpcap-charger.c | 195 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()
|
D | axp20x_usb_power.c | 83 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()
|
D | cpcap-battery.c | 149 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()
|
D | twl4030_madc_battery.c | 47 err = iio_read_channel_processed(channel, &val); in madc_read()
|
D | lp8788-charger.c | 244 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()
|
D | generic-adc-battery.c | 137 ret = iio_read_channel_processed(adc_bat->channel[chan_index], in read_channel()
|
D | twl4030_charger.c | 105 err = iio_read_channel_processed(channel_vac, &val); in ac_available()
|
/Linux-v4.19/include/linux/iio/ |
D | consumer.h | 227 int iio_read_channel_processed(struct iio_channel *chan, int *val);
|
/Linux-v4.19/drivers/thermal/ |
D | thermal-generic-adc.c | 57 ret = iio_read_channel_processed(gti->channel, &val); in gadc_thermal_get_temp()
|
D | qcom-spmi-temp-alarm.c | 171 ret = iio_read_channel_processed(chip->adc, &mili_celsius); in qpnp_tm_get_temp()
|
/Linux-v4.19/drivers/hwmon/ |
D | iio_hwmon.c | 51 ret = iio_read_channel_processed(&state->channels[sattr->index], in iio_hwmon_read_val()
|
/Linux-v4.19/drivers/input/keyboard/ |
D | adc-keys.c | 43 ret = iio_read_channel_processed(st->channel, &value); in adc_keys_poll()
|
/Linux-v4.19/drivers/iio/light/ |
D | cm3605.c | 77 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux()
|
/Linux-v4.19/drivers/iio/ |
D | inkern.c | 692 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/ |
D | phy-cpcap-usb.c | 143 error = iio_read_channel_processed(ddata->vbus, &value); in cpcap_usb_vbus_valid()
|