Home
last modified time | relevance | path

Searched refs:regulator_get_voltage (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgk20a.c98 uv = regulator_get_voltage(volt->vdd); in gk20a_volt_vid_get()
122 int prev_uv = regulator_get_voltage(volt->vdd); in gk20a_volt_set_id()
156 uv = regulator_get_voltage(tdev->vdd); in gk20a_volt_ctor()
/linux/drivers/iio/dac/
H A Ddpot-dac.c69 tmp *= regulator_get_voltage(dac->vref) / 1000; in dpot_dac_read_raw()
83 *val *= regulator_get_voltage(dac->vref) / 1000; in dpot_dac_read_raw()
H A Dad7303.c104 return regulator_get_voltage(st->vref_reg); in ad7303_get_vref()
106 ret = regulator_get_voltage(st->vdd_reg); in ad7303_get_vref()
H A Dmcp4725.c335 ret = regulator_get_voltage(data->vdd_reg); in mcp4725_read_raw()
337 ret = regulator_get_voltage(data->vref_reg); in mcp4725_read_raw()
H A Dlpc18xx_dac.c63 *val = regulator_get_voltage(dac->vref) / 1000; in lpc18xx_dac_read_raw()
H A Dstm32-dac-core.c132 ret = regulator_get_voltage(priv->vref); in stm32_dac_probe()
/linux/drivers/input/misc/
H A Dtwl6040-vibra.c151 volt = regulator_get_voltage(info->supplies[0].consumer) / 1000; in twl6040_vibra_set_effect()
157 volt = regulator_get_voltage(info->supplies[1].consumer) / 1000; in twl6040_vibra_set_effect()
/linux/drivers/iio/adc/
H A Dmax11100.c87 vref_uv = regulator_get_voltage(state->vref_reg); in max11100_read_raw()
H A Dsd_adc_modulator.c131 ret = regulator_get_voltage(vref); in iio_sd_mod_probe()
H A Dstm32-adc-core.c541 ret = regulator_get_voltage(priv->vdda); in stm32_adc_core_hw_start()
647 ret = regulator_get_voltage(priv->vdd); in stm32_adc_core_switches_probe()
768 ret = regulator_get_voltage(priv->vref); in stm32_adc_probe()
H A Dti-ads8344.c118 *value = regulator_get_voltage(adc->reg); in ads8344_read_raw()
H A Dlpc32xx_adc.c90 *val = regulator_get_voltage(st->vref) / 1000; in lpc32xx_read_raw()
H A Dlpc18xx_adc.c103 *val = regulator_get_voltage(adc->vref) / 1000; in lpc18xx_adc_read_raw()
H A Dti-adc081c.c62 err = regulator_get_voltage(adc->ref); in adc081c_read_raw()
H A Dti-adc161s626.c146 ret = regulator_get_voltage(data->ref); in ti_adc_read_raw()
H A Dltc2497-core.c94 ret = regulator_get_voltage(ddata->ref); in ltc2497core_read_raw()
H A Dti-tlc4541.c113 vref = regulator_get_voltage(st->reg); in tlc4541_get_range()
H A Dti-adc084s021.c123 ret = regulator_get_voltage(adc->reg); in adc084s021_read_raw()
H A Dmax1118.c126 vref_uV = regulator_get_voltage(adc->reg); in max1118_get_vref_mV()
H A Dti-adc0832.c185 *value = regulator_get_voltage(adc->reg); in adc0832_read_raw()
H A Dnpcm_adc.c174 vref_uv = regulator_get_voltage(info->vref); in npcm_adc_read_raw()
H A Dad7091r-base.c106 ret = regulator_get_voltage(st->vref); in ad7091r_read_raw()
H A Dfsl-imx25-gcq.c241 regulator_get_voltage(priv->vref[refp]); in mx25_gcq_setup_cfgs()
/linux/rust/kernel/
H A Dregulator.rs267 let voltage = unsafe { bindings::regulator_get_voltage(self.inner) }; in get_voltage()
/linux/drivers/input/keyboard/
H A Dsun4i-lradc-keys.c165 lradc->vref = regulator_get_voltage(lradc->vref_supply) * in sun4i_lradc_open()

123