Home
last modified time | relevance | path

Searched refs:devm_iio_channel_get (Results 1 – 25 of 31) sorted by relevance

12

/linux-5.19.10/drivers/power/supply/
Dlego_ev3_battery.c167 batt->iio_v = devm_iio_channel_get(dev, "voltage"); in lego_ev3_battery_probe()
173 batt->iio_i = devm_iio_channel_get(dev, "current"); in lego_ev3_battery_probe()
Daxp20x_battery.c576 axp20x_batt->batt_v = devm_iio_channel_get(&pdev->dev, "batt_v"); in axp20x_power_probe()
583 axp20x_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp20x_power_probe()
591 axp20x_batt->batt_dischrg_i = devm_iio_channel_get(&pdev->dev, in axp20x_power_probe()
Daxp20x_ac_power.c347 power->acin_v = devm_iio_channel_get(&pdev->dev, "acin_v"); in axp20x_ac_power_probe()
354 power->acin_i = devm_iio_channel_get(&pdev->dev, "acin_i"); in axp20x_ac_power_probe()
Dingenic-battery.c136 bat->channel = devm_iio_channel_get(dev, "battery"); in ingenic_battery_probe()
Daxp20x_usb_power.c541 power->vbus_v = devm_iio_channel_get(&pdev->dev, "vbus_v"); in configure_iio_channels()
548 power->vbus_i = devm_iio_channel_get(&pdev->dev, "vbus_i"); in configure_iio_channels()
Dlp8788-charger.c575 chan = devm_iio_channel_get(dev, pdata->adc_vbatt); in lp8788_setup_adc_channel()
579 chan = devm_iio_channel_get(dev, pdata->adc_batt_temp); in lp8788_setup_adc_channel()
Drn5t618_power.c738 info->channel_vusb = devm_iio_channel_get(&pdev->dev, "vusb"); in rn5t618_power_probe()
745 info->channel_vadp = devm_iio_channel_get(&pdev->dev, "vadp"); in rn5t618_power_probe()
Dsc27xx_fuel_gauge.c1181 data->channel = devm_iio_channel_get(dev, "bat-temp"); in sc27xx_fgu_probe()
1187 data->charge_chan = devm_iio_channel_get(dev, "charge-vol"); in sc27xx_fgu_probe()
Dab8500_charger.c3449 di->adc_main_charger_v = devm_iio_channel_get(dev, "main_charger_v"); in ab8500_charger_probe()
3455 di->adc_main_charger_c = devm_iio_channel_get(dev, "main_charger_c"); in ab8500_charger_probe()
3462 di->adc_vbus_v = devm_iio_channel_get(dev, "vbus_v"); in ab8500_charger_probe()
3468 di->adc_usb_charger_c = devm_iio_channel_get(dev, "usb_charger_c"); in ab8500_charger_probe()
Dab8500_btemp.c732 di->bat_ctrl = devm_iio_channel_get(dev, "bat_ctrl"); in ab8500_btemp_probe()
Dmp2629_charger.c597 charger->iiochan[i] = devm_iio_channel_get(dev, in mp2629_charger_probe()
/linux-5.19.10/include/linux/iio/
Dconsumer.h65 struct iio_channel *devm_iio_channel_get(struct device *dev,
/linux-5.19.10/drivers/thermal/
Dthermal-generic-adc.c131 gti->channel = devm_iio_channel_get(&pdev->dev, "sensor-channel"); in gadc_thermal_probe()
/linux-5.19.10/drivers/input/keyboard/
Dadc-keys.c119 st->channel = devm_iio_channel_get(dev, "buttons"); in adc_keys_probe()
/linux-5.19.10/drivers/extcon/
Dextcon-adc-jack.c127 data->chan = devm_iio_channel_get(&pdev->dev, pdata->consumer_channel); in adc_jack_probe()
/linux-5.19.10/drivers/iio/dac/
Ddpot-dac.c191 dac->dpot = devm_iio_channel_get(dev, "dpot"); in dpot_dac_probe()
/linux-5.19.10/drivers/iio/light/
Dcm3605.c197 cm3605->aout = devm_iio_channel_get(dev, "aout"); in cm3605_probe()
Dgp2ap002.c504 gp2ap002->alsout = devm_iio_channel_get(dev, "alsout"); in gp2ap002_probe()
/linux-5.19.10/drivers/iio/adc/
Denvelope-detector.c349 env->dac = devm_iio_channel_get(dev, "dac"); in envelope_detector_probe()
/linux-5.19.10/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c402 chip->adc = devm_iio_channel_get(&pdev->dev, "thermal"); in qpnp_tm_probe()
/linux-5.19.10/drivers/iio/
Dinkern.c385 struct iio_channel *devm_iio_channel_get(struct device *dev, in devm_iio_channel_get() function
401 EXPORT_SYMBOL_GPL(devm_iio_channel_get);
/linux-5.19.10/drivers/iio/multiplexer/
Diio-mux.c343 parent = devm_iio_channel_get(dev, "parent"); in mux_probe()
/linux-5.19.10/drivers/iio/afe/
Diio-rescale.c519 source = devm_iio_channel_get(dev, NULL); in rescale_probe()
/linux-5.19.10/sound/soc/samsung/
Daries_wm8994.c593 priv->adc = devm_iio_channel_get(dev, "headset-detect"); in aries_audio_probe()
/linux-5.19.10/drivers/phy/motorola/
Dphy-cpcap-usb.c575 ddata->vbus = devm_iio_channel_get(ddata->dev, "vbus"); in cpcap_usb_init_iio()

12