Home
last modified time | relevance | path

Searched refs:vref (Results 1 – 25 of 61) sorted by relevance

123

/openbmc/u-boot/drivers/adc/
H A Dstm32-adc-core.h47 struct udevice *vref; member
H A Dadc-uclass.c348 int ret, val, vref; in adc_raw_to_uV() local
351 ret = adc_vdd_value(dev, &vref); in adc_raw_to_uV()
356 vref -= val; in adc_raw_to_uV()
362 raw64 *= vref; in adc_raw_to_uV()
H A Dstm32-adc-core.c149 ret = device_get_supply_regulator(dev, "vref-supply", &common->vref); in stm32_adc_core_probe()
155 ret = regulator_get_value(common->vref); in stm32_adc_core_probe()
H A Dstm32-adc.c218 uc_pdata->vdd_supply = common->vref; in stm32_adc_probe()
/openbmc/qemu/include/hw/adc/
H A Dnpcm7xx_adc.h59 uint32_t vref; member
/openbmc/qemu/hw/adc/
H A Dnpcm7xx_adc.c99 ? s->iref : s->vref; in npcm7xx_adc_convert_done()
248 &s->vref, OBJ_PROP_FLAG_WRITE); in npcm7xx_adc_init()
262 VMSTATE_UINT32(vref, NPCM7xxADCState),
/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_adc-test.c236 uint32_t index, input, vref, output, expected_output; in test_convert_external() local
244 vref = vref_list[j]; in test_convert_external()
245 expected_output = adc_calculate_output(input, vref); in test_convert_external()
248 adc_write_vref(qts, adc, vref); in test_convert_external()
/openbmc/u-boot/arch/arm/dts/
H A Dstm32429i-eval.dts50 regulator-name = "vref";
117 vref-supply = <&reg_vref>;
H A Dimx6ul-pico-hobbit.dts76 vref-supply = <&reg_3p3v>;
H A Dsunxi-reference-design-tablet.dtsi61 vref-supply = <&reg_vcc3v0>;
H A Dsunxi-q8-common.dtsi61 vref-supply = <&reg_vcc3v0>;
H A Dsun6i-a31s-colorfly-e708-q1.dts53 vref-supply = <&reg_aldo3>;
H A Dat91sam9261ek.dts135 ti,vref-delay-usecs = /bits/ 16 <450>;
H A Dat91-sama5d4ek.dts114 /* The vref depends on JP22 of EK. If connect 1-2 then use 3.3V. connect 2-3 use 3.0V */
115 atmel,adc-vref = <3300>;
H A Dmeson-gxl-s905x-p212.dtsi103 vref-supply = <&vddio_ao18>;
H A Dsun6i-a31s-inet-q972.dts73 vref-supply = <&reg_aldo3>;
H A Dsun8i-a23-evb.dts80 vref-supply = <&reg_vcc3v0>;
H A Dsun4i-a10-chuwi-v7-cw0825.dts98 vref-supply = <&reg_vcc3v0>;
H A Dsun4i-a10-gemei-g9.dts115 vref-supply = <&reg_ldo2>;
H A Drk3288-tinker.dtsi372 nuvoton,vref-impedance = <2>;
401 vref-supply = <&vcc18_ldo1>;
H A Dsun5i-a13-empire-electronix-d709.dts105 vref-supply = <&reg_ldo2>;
H A Dsun6i-a31s-sina31s.dts147 vref-supply = <&reg_aldo3>;
/openbmc/u-boot/arch/x86/include/asm/arch-quark/
H A Dmrc.h79 uint32_t vref[NUM_CHANNELS][NUM_BYTE_LANES]; member
/openbmc/u-boot/doc/device-tree-bindings/adc/
H A Dst,stm32-adc.txt41 - vref-supply: Phandle to the vref input analog reference voltage.
103 vref-supply = <&reg_vref>;
/openbmc/u-boot/drivers/ram/aspeed/
H A Dsdram_ast2500.c123 static void ast2500_sdrammc_set_vref(struct dram_info *info, u32 vref) in ast2500_sdrammc_set_vref() argument
126 writel((vref << 8) | 0x6, &info->phy->phy[48]); in ast2500_sdrammc_set_vref()

123