Home
last modified time | relevance | path

Searched refs:vdd (Results 1 – 177 of 177) sorted by relevance

/linux-4.4.14/arch/arm/vfp/
Dvfpdouble.c207 vfp_propagate_nan(struct vfp_double *vdd, struct vfp_double *vdn, in vfp_propagate_nan() argument
239 *vdd = *nan; in vfp_propagate_nan()
270 struct vfp_double vdm, vdd; in vfp_double_fsqrt() local
276 struct vfp_double *vdp = &vdd; in vfp_double_fsqrt()
316 vdd.sign = 0; in vfp_double_fsqrt()
317 vdd.exponent = ((vdm.exponent - 1023) >> 1) + 1023; in vfp_double_fsqrt()
318 vdd.significand = (u64)vfp_estimate_sqrt_significand(vdm.exponent, vdm.significand >> 32) << 31; in vfp_double_fsqrt()
320 vfp_double_dump("sqrt estimate1", &vdd); in vfp_double_fsqrt()
323 vdd.significand += 2 + vfp_estimate_div128to64(vdm.significand, 0, vdd.significand); in vfp_double_fsqrt()
325 vfp_double_dump("sqrt estimate2", &vdd); in vfp_double_fsqrt()
[all …]
Dvfpsingle.c485 struct vfp_double vdd; in vfp_single_fcvtd() local
502 vdd.sign = vsm.sign; in vfp_single_fcvtd()
503 vdd.significand = (u64)vsm.significand << 32; in vfp_single_fcvtd()
509 vdd.exponent = 2047; in vfp_single_fcvtd()
511 vdd.significand |= VFP_DOUBLE_SIGNIFICAND_QNAN; in vfp_single_fcvtd()
514 vdd.exponent = 0; in vfp_single_fcvtd()
516 vdd.exponent = vsm.exponent + (1023 - 127); in vfp_single_fcvtd()
518 return vfp_double_normaliseround(dd, &vdd, fpscr, exceptions, "fcvtd"); in vfp_single_fcvtd()
521 vfp_put_double(vfp_double_pack(&vdd), dd); in vfp_single_fcvtd()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
Dgk20a.c38 struct regulator *vdd; member
109 uv = regulator_get_voltage(volt->vdd); in gk20a_volt_vid_get()
125 return regulator_set_voltage(volt->vdd, volt->base.vid[vid].uv, 1200000); in gk20a_volt_vid_set()
133 int prev_uv = regulator_get_voltage(volt->vdd); in gk20a_volt_set_id()
170 uv = regulator_get_voltage(tdev->vdd); in gk20a_volt_new()
173 volt->vdd = tdev->vdd; in gk20a_volt_new()
/linux-4.4.14/drivers/hwmon/
Dmcp3021.c50 u32 vdd; /* device power supply */ member
83 return DIV_ROUND_CLOSEST(data->vdd * val, 1 << data->output_res); in volts_from_reg()
135 data->vdd = *(u32 *)dev_get_platdata(&client->dev); in mcp3021_probe()
136 if (data->vdd > MCP3021_VDD_MAX || data->vdd < MCP3021_VDD_MIN) in mcp3021_probe()
139 data->vdd = MCP3021_VDD_REF; in mcp3021_probe()
Dda9052-hwmon.c79 int ret, vdd; in da9052_read_vddout() local
87 vdd = da9052_reg_read(hwmon->da9052, DA9052_VDD_RES_REG); in da9052_read_vddout()
88 if (vdd < 0) { in da9052_read_vddout()
89 ret = vdd; in da9052_read_vddout()
98 return sprintf(buf, "%d\n", volt_reg_to_mv(vdd)); in da9052_read_vddout()
Dsht15.c73 int vdd; /* microvolts */ member
624 if (data->supply_uv > temppoints[i - 1].vdd) { in sht15_calc_temp()
625 d1 = (data->supply_uv - temppoints[i - 1].vdd) in sht15_calc_temp()
627 / (temppoints[i].vdd - temppoints[i - 1].vdd) in sht15_calc_temp()
/linux-4.4.14/include/linux/platform_data/
Dhsmmc-omap.h77 int (*set_power)(struct device *dev, int power_on, int vdd);
80 void (*before_set_reg)(struct device *dev, int power_on, int vdd);
82 void (*after_set_reg)(struct device *dev, int power_on, int vdd);
Dmmc-omap.h91 int power_on, int vdd);
96 int power_on, int vdd);
99 int power_on, int vdd);
Dmmc-s3cmci.h40 unsigned short vdd);
Dmmc-mxcmmc.h33 void (*setpower)(struct device *, unsigned int vdd);
/linux-4.4.14/drivers/mmc/core/
Ddebugfs.c62 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show()
63 if ((1 << ios->vdd) & MMC_VDD_165_195) in mmc_ios_show()
65 else if (ios->vdd < (ARRAY_SIZE(vdd_str) - 1) in mmc_ios_show()
66 && vdd_str[ios->vdd] && vdd_str[ios->vdd + 1]) in mmc_ios_show()
67 seq_printf(s, "(%s ~ %s V)\n", vdd_str[ios->vdd], in mmc_ios_show()
68 vdd_str[ios->vdd + 1]); in mmc_ios_show()
Dcore.c1041 ios->power_mode, ios->chip_select, ios->vdd, in mmc_set_ios()
1147 static int mmc_vdd_to_ocrbitnum(int vdd, bool low_bits) in mmc_vdd_to_ocrbitnum() argument
1152 if (vdd < 1650 || vdd > 3600) in mmc_vdd_to_ocrbitnum()
1155 if (vdd >= 1650 && vdd <= 1950) in mmc_vdd_to_ocrbitnum()
1159 vdd -= 1; in mmc_vdd_to_ocrbitnum()
1162 bit = (vdd - 2000) / 100 + 8; in mmc_vdd_to_ocrbitnum()
1446 ret = mmc_ocrbitnum_to_vdd(mmc->ios.vdd, &volt, &max_uV); in mmc_regulator_set_vqmmc()
1538 if (bit != host->ios.vdd) in mmc_select_voltage()
1717 host->ios.vdd = fls(ocr) - 1; in mmc_power_up()
1758 host->ios.vdd = 0; in mmc_power_off()
Dsd.c499 voltage = 1 << host->ios.vdd; in sd_get_host_max_current()
Dmmc.c787 switch (1 << host->ios.vdd) { in __mmc_select_powerclass()
/linux-4.4.14/Documentation/devicetree/bindings/media/
Dsamsung-s5c73m3.txt17 - vdd-int-supply : digital power supply (1.2V);
19 - vdd-reg-supply : regulator input power supply (2.8V);
22 - vdd-af-supply : lens power supply (2.8V);
70 vdd-int-supply = <&buck9_reg>;
72 vdd-reg-supply = <&cam_io_reg>;
75 vdd-af-supply = <&cam_af_reg>;
Dsi4713.txt15 - vdd-supply: phandle for Vdd regulator
28 vdd-supply = <&vaux1>;
Dti,omap3isp.txt42 vdd-csiphy1-supply : voltage supply of the CSI-2 PHY 1
43 vdd-csiphy2-supply : voltage supply of the CSI-2 PHY 2
/linux-4.4.14/arch/arm/boot/dts/
Dste-href-tvk1281618.dtsi21 vdd-supply = <&ab8500_ldo_aux1_reg>;
98 vdd-supply = <&ab8500_ldo_aux1_reg>;
110 vdd-supply = <&ab8500_ldo_aux1_reg>;
120 vdd-supply = <&ab8500_ldo_aux1_reg>;
127 vdd-supply = <&ab8500_ldo_aux1_reg>;
Dsun6i-a31s-primo81.dts187 regulator-name = "vdd-cpus"; /* This is an educated guess */
200 regulator-name = "vdd-gpu";
207 regulator-name = "vdd-cpu";
214 regulator-name = "vdd-sys-dll";
239 regulator-name = "vdd-mipi-bridge";
244 vdd-mipi-bridge-supply = <&reg_eldo3>;
Dtegra114-dalmore.dts30 vdd-supply = <&vdd_hdmi_reg>;
803 regulator-name = "vdd-cpu";
836 regulator-name = "vdd-sys-5v0";
842 regulator-name = "vdd-sys-3v3";
848 regulator-name = "vdd-ao";
854 regulator-name = "vdd-lcd-bl";
858 regulator-name = "vdd-modem-3v3";
866 regulator-name = "vdd-lvds";
870 regulator-name = "vdd-sd-slot";
876 regulator-name = "vdd-com-3v3";
[all …]
Domap3-n9.dts41 vdd-csiphy1-supply = <&vaux2>;
42 vdd-csiphy2-supply = <&vaux2>;
Domap3-n950.dts41 vdd-csiphy1-supply = <&vaux2>;
42 vdd-csiphy2-supply = <&vaux2>;
Dsun6i-a31s-sina31s-core.dtsi97 regulator-name = "vdd-cpus";
110 regulator-name = "vdd-gpu";
117 regulator-name = "vdd-cpu";
124 regulator-name = "vdd-sys-dll";
Dste-href-stuib.dtsi19 vdd-supply = <&ab8500_ldo_aux1_reg>;
87 vdd-supply = <&ab8500_ldo_aux1_reg>;
99 vdd-supply = <&ab8500_ldo_aux1_reg>;
Dsun6i-a31-hummingbird.dts206 regulator-name = "vdd-cpus";
219 regulator-name = "vdd-gpu";
226 regulator-name = "vdd-cpu";
233 regulator-name = "vdd-sys-dll";
Dtegra114-roth.dts39 vdd-supply = <&vdd_1v2_ap>;
795 regulator-name = "vdd-cpu";
823 regulator-name = "vdd-ddr";
831 regulator-name = "vdd-1v8";
838 regulator-name = "vdd-soc";
854 regulator-name = "vdd-2v85-emmc";
861 regulator-name = "vdd-fan";
869 regulator-name = "vdd-5v0-sys";
877 regulator-name = "vdd-2v8-display";
905 regulator-name = "vdd-sensor-2v8";
[all …]
Dsun4i-a10-itead-iteaduino-plus.dts156 regulator-name = "vdd-cpu";
163 regulator-name = "vdd-int-dll";
167 regulator-name = "vdd-rtc";
Dsun5i-q8-common.dtsi136 regulator-name = "vdd-cpu";
143 regulator-name = "vdd-int-pll";
147 regulator-name = "vdd-rtc";
Dsun4i-a10-pov-protab2-ips9.dts151 regulator-name = "vdd-cpu";
158 regulator-name = "vdd-int-dll";
162 regulator-name = "vdd-rtc";
Dsun7i-a20-wexler-tab7200.dts157 regulator-name = "vdd-cpu";
164 regulator-name = "vdd-int-dll";
168 regulator-name = "vdd-rtc";
Dsun4i-a10-inet1.dts173 regulator-name = "vdd-cpu";
180 regulator-name = "vdd-int-dll";
184 regulator-name = "vdd-rtc";
Dsun7i-a20-wits-pro-a20-dkt.dts169 regulator-name = "vdd-cpu";
176 regulator-name = "vdd-int-dll";
180 regulator-name = "vdd-rtc";
Dsun7i-a20-cubieboard2.dts192 regulator-name = "vdd-cpu";
199 regulator-name = "vdd-int-dll";
203 regulator-name = "vdd-rtc";
Dsun4i-a10-inet9f-rev03.dts179 regulator-name = "vdd-cpu";
186 regulator-name = "vdd-int-dll";
190 regulator-name = "vdd-rtc";
Dsun5i-a13-hsg-h702.dts166 regulator-name = "vdd-cpu";
173 regulator-name = "vdd-int-dll";
177 regulator-name = "vdd-rtc";
Dsun7i-a20-olimex-som-evb.dts159 regulator-name = "vdd-cpu";
166 regulator-name = "vdd-int-dll";
170 regulator-name = "vdd-rtc";
Dsun4i-a10-cubieboard.dts192 regulator-name = "vdd-cpu";
199 regulator-name = "vdd-int-dll";
203 regulator-name = "vdd-rtc";
Dsun4i-a10-inet97fv2.dts172 regulator-name = "vdd-cpu";
179 regulator-name = "vdd-int-dll";
183 regulator-name = "vdd-rtc";
Dexynos5250-smdk5250.dts32 vdd: fixed-regulator@0 { label
34 regulator-name = "vdd-supply";
302 AVDD2-supply = <&vdd>;
303 CPVDD-supply = <&vdd>;
Dsun7i-a20-pcduino3.dts212 regulator-name = "vdd-cpu";
219 regulator-name = "vdd-int-pll";
223 regulator-name = "vdd-rtc";
Dsun5i-a10s-wobo-i5.dts173 regulator-name = "vdd-cpu";
180 regulator-name = "vdd-int-dll";
184 regulator-name = "vdd-rtc";
Dsun5i-a13-inet-98v-rev2.dts172 regulator-name = "vdd-cpu";
179 regulator-name = "vdd-int-pll";
183 regulator-name = "vdd-rtc";
Dsun4i-a10-pcduino.dts200 regulator-name = "vdd-cpu";
207 regulator-name = "vdd-int-dll";
211 regulator-name = "vdd-rtc";
Dsun7i-a20-pcduino3-nano.dts191 regulator-name = "vdd-cpu";
198 regulator-name = "vdd-int-pll";
202 regulator-name = "vdd-rtc";
Dsun7i-a20-bananapi.dts212 regulator-name = "vdd-cpu";
219 regulator-name = "vdd-int-dll";
223 regulator-name = "vdd-rtc";
Dsun7i-a20-orangepi-mini.dts218 regulator-name = "vdd-cpu";
225 regulator-name = "vdd-int-pll";
229 regulator-name = "vdd-rtc";
Dsun7i-a20-orangepi.dts196 regulator-name = "vdd-cpu";
203 regulator-name = "vdd-int-pll";
207 regulator-name = "vdd-rtc";
Dsun5i-a13-utoo-p66.dts208 regulator-name = "vdd-cpu";
215 regulator-name = "vdd-int-pll";
219 regulator-name = "vdd-rtc";
Dsun7i-a20-cubietruck.dts269 regulator-name = "vdd-cpu";
276 regulator-name = "vdd-int-dll";
280 regulator-name = "vdd-rtc";
Dste-snowball.dts268 vdd-supply = <&ab8500_ldo_aux1_reg>;
280 vdd-supply = <&ab8500_ldo_aux1_reg>;
291 vdd-supply = <&ab8500_ldo_aux1_reg>;
303 vdd-supply = <&ab8500_ldo_aux1_reg>;
Domap4-var-dvk-om44.dts70 vdd-supply = <&vcxio>;
Dtegra124-nyan.dtsi19 vdd-supply = <&vdd_3v3_hdmi>;
36 vdd-supply = <&vdd_3v3_panel>;
403 vdd-cpu-supply = <&vdd_cpu>;
499 vdd-cpu-supply = <&vdd_cpu>;
Domap4-sdp.dts28 vdd_eth: fixedregulator-vdd-eth {
458 vdd-supply = <&vdd_eth>;
642 vdd-supply = <&vcxio>;
667 vdd-supply = <&vcxio>;
Dqcom-msm8960-cdp.dts287 vdd-supply = <&ext_l2>;
288 vdd-io-supply = <&pm8921_lvs6>;
Dexynos5420-smdk5420.dts40 vdd: fixed-regulator@0 { label
43 regulator-name = "vdd-supply";
Dtegra30-apalis.dtsi14 vdd-pexa-supply = <&vdd2_reg>;
16 vdd-pexb-supply = <&vdd2_reg>;
37 vdd-supply = <&avdd_hdmi_3v3_reg>;
Dtegra20-trimslice.dts24 vdd-supply = <&hdmi_vdd_reg>;
324 vdd-pex-supply = <&pci_vdd_reg>;
Dexynos4412-trats2.dts287 vdd-supply = <&ldo3_reg>;
494 vdd-int-supply = <&buck9_reg>;
498 vdd-af-supply = <&cam_af_reg>;
499 vdd-reg-supply = <&cam_io_reg>;
529 vdd-supply = <&ldo24_reg>;
Dtegra20-tamonten.dtsi19 vdd-supply = <&hdmi_vdd_reg>;
479 vdd-pex-supply = <&pci_vdd_reg>;
Dimx51-eukrea-mbimxsd51-baseboard.dts130 vdd-supply = <&reg_can>;
Dtegra124-venice2.dts24 vdd-supply = <&vdd_3v3_hdmi>;
41 vdd-supply = <&vdd_3v3_panel>;
51 vdd-supply = <&vdd_gpu>;
Dtegra114-tn7.dts39 vdd-supply = <&vdd_1v2_ap>;
Dtegra20-harmony.dts33 vdd-supply = <&hdmi_vdd_reg>;
569 vdd-pex-supply = <&pci_vdd_reg>;
Dexynos5422-odroidxu3-common.dtsi83 vdd-supply = <&ldo6_reg>;
Ds5pv210-goni.dts364 vdd-supply = <&tsp_reg>;
Dtegra124-jetson-tk1.dts48 vdd-supply = <&vdd_3v3_hdmi>;
61 vdd-supply = <&vdd_gpu>;
1708 vdd-cpu-supply = <&vdd_cpu>;
1752 vdd-cpu-supply = <&vdd_cpu>;
Dtegra30-colibri.dtsi18 vdd-supply = <&avdd_hdmi_3v3_reg>;
Dexynos4210-trats.dts285 vdd-supply = <&tsp_reg>;
Dexynos5420-peach-pit.dts143 vdd-supply = <&ldo9_reg>;
180 vdd-supply = <&ldo8_reg>;
Dexynos5800-peach-pi.dts137 vdd-supply = <&ldo9_reg>;
167 vdd-supply = <&ldo8_reg>;
Dexynos4412-odroid-common.dtsi188 vdd-supply = <&ldo8_reg>;
Domap4-panda-common.dtsi531 vdd-supply = <&vcxio>;
Dexynos4210-universal_c210.dts276 vdd-supply = <&ldo3_reg>;
Dexynos5250-arndale.dts159 vdd-supply = <&ldo8_reg>;
Dtegra20-colibri-512.dtsi18 vdd-supply = <&hdmi_vdd_reg>;
Dtegra20-paz00.dts33 vdd-supply = <&hdmi_vdd_reg>;
Dexynos5250-spring.dts101 vdd-supply = <&ldo8_reg>;
Dexynos5250-snow-common.dtsi271 vdd-supply = <&ldo8_reg>;
Dtegra20-whistler.dts24 vdd-supply = <&hdmi_vdd_reg>;
Dtegra30-beaver.dts23 vdd-pexa-supply = <&ldo1_reg>;
25 vdd-pexb-supply = <&ldo1_reg>;
51 vdd-supply = <&sys_3v3_reg>;
Dtegra20-ventana.dts32 vdd-supply = <&hdmi_vdd_reg>;
Dtegra30-cardhu.dtsi47 vdd-pexb-supply = <&ldo1_reg>;
Dexynos3250-monk.dts137 vdd-supply = <&ldo3_reg>;
Domap5-cm-t54.dts663 vdd-supply = <&ldo4_reg>;
Dexynos3250-rinato.dts128 vdd-supply = <&ldo3_reg>;
Dtegra20-seaboard.dts32 vdd-supply = <&hdmi_vdd_reg>;
Domap3-n900.dts607 vdd-supply = <&vaux1>;
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dtegra.c31 ret = regulator_enable(tdev->vdd); in nvkm_device_tegra_power_up()
62 regulator_disable(tdev->vdd); in nvkm_device_tegra_power_up()
77 return regulator_disable(tdev->vdd); in nvkm_device_tegra_power_down()
260 tdev->vdd = devm_regulator_get(&pdev->dev, "vdd"); in nvkm_device_tegra_new()
261 if (IS_ERR(tdev->vdd)) { in nvkm_device_tegra_new()
262 ret = PTR_ERR(tdev->vdd); in nvkm_device_tegra_new()
/linux-4.4.14/arch/arm/mach-omap2/
Dhsmmc.c37 int power_on, int vdd) in omap_hsmmc1_before_set_reg() argument
58 if ((1 << vdd) >= MMC_VDD_30_31) in omap_hsmmc1_before_set_reg()
89 static void omap_hsmmc1_after_set_reg(struct device *dev, int power_on, int vdd) in omap_hsmmc1_after_set_reg() argument
99 if ((1 << vdd) <= MMC_VDD_165_195) in omap_hsmmc1_after_set_reg()
124 static void hsmmc2_before_set_reg(struct device *dev, int power_on, int vdd) in hsmmc2_before_set_reg() argument
135 static int am35x_hsmmc2_set_power(struct device *dev, int power_on, int vdd) in am35x_hsmmc2_set_power() argument
145 static int nop_mmc_set_power(struct device *dev, int power_on, int vdd) in nop_mmc_set_power() argument
Dboard-n8x0.c198 int power_on, int vdd) in n8x0_mmc_set_power_menelaus() argument
204 power_on ? "on" : "off", vdd); in n8x0_mmc_set_power_menelaus()
209 switch (1 << vdd) { in n8x0_mmc_set_power_menelaus()
231 switch (1 << vdd) { in n8x0_mmc_set_power_menelaus()
285 int vdd) in n8x0_mmc_set_power() argument
288 return n8x0_mmc_set_power_menelaus(dev, slot, power_on, vdd); in n8x0_mmc_set_power()
/linux-4.4.14/arch/arm/plat-samsung/
Dadc.c78 struct regulator *vdd; member
358 adc->vdd = devm_regulator_get(dev, "vdd"); in s3c_adc_probe()
359 if (IS_ERR(adc->vdd)) { in s3c_adc_probe()
361 return PTR_ERR(adc->vdd); in s3c_adc_probe()
388 ret = regulator_enable(adc->vdd); in s3c_adc_probe()
417 regulator_disable(adc->vdd); in s3c_adc_remove()
440 regulator_disable(adc->vdd); in s3c_adc_suspend()
454 ret = regulator_enable(adc->vdd); in s3c_adc_resume()
/linux-4.4.14/Documentation/hwmon/
Dadt741120 converter which measures 1 temperature, vdd and 8 input voltages. It has an
29 in0_input - vdd voltage input
35 adc_ref_vdd - Use vdd as reference instead of 2.25 V
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dak4104.txt11 - vdd-supply : A regulator node, providing 2.7V - 3.6V
24 vdd-supply = <&vdd_3v3_reg>;
Dst,sta350.txt16 - vdd-dig-supply: regulator spec, providing 3.3V
17 - vdd-pll-supply: regulator spec, providing 3.3V
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dmicrel-ks8851.txt16 - vdd-supply: analog 3.3V supply for Ethernet mac
17 - vdd-io-supply: digital 1.8V IO supply for Ethernet mac
/linux-4.4.14/drivers/iio/adc/
Dexynos_adc.c106 struct regulator *vdd; member
639 info->vdd = devm_regulator_get(&pdev->dev, "vdd"); in exynos_adc_probe()
640 if (IS_ERR(info->vdd)) { in exynos_adc_probe()
642 PTR_ERR(info->vdd)); in exynos_adc_probe()
643 return PTR_ERR(info->vdd); in exynos_adc_probe()
646 ret = regulator_enable(info->vdd); in exynos_adc_probe()
704 regulator_disable(info->vdd); in exynos_adc_probe()
721 regulator_disable(info->vdd); in exynos_adc_remove()
735 regulator_disable(info->vdd); in exynos_adc_suspend()
746 ret = regulator_enable(info->vdd); in exynos_adc_resume()
/linux-4.4.14/Documentation/devicetree/bindings/net/can/
Dmicrochip,mcp251x.txt13 - vdd-supply: Regulator that powers the CAN controller.
23 vdd-supply = <&reg5v0>;
/linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/
Dzforce_ts.txt13 - vdd-supply: Regulator controlling the controller supply
24 vdd-supply = <&reg_zforce_vdd>;
/linux-4.4.14/drivers/usb/phy/
Dphy-qcom-8x16-usb.c70 struct regulator *vdd; member
85 ret = regulator_set_voltage(qphy->vdd, HSPHY_VDD_MIN, HSPHY_VDD_MAX); in phy_8x16_regulators_enable()
89 ret = regulator_enable(qphy->vdd); in phy_8x16_regulators_enable()
114 regulator_disable(qphy->vdd); in phy_8x16_regulators_enable()
123 regulator_disable(qphy->vdd); in phy_8x16_regulators_disable()
286 qphy->vdd = regs[2].consumer; in phy_8x16_read_devicetree()
/linux-4.4.14/Documentation/devicetree/bindings/display/msm/
Ddsi.txt24 - vdd-supply: phandle to vdd regulator device node
25 - vddio-supply: phandle to vdd-io regulator device node
67 - vddio-supply: phandle to vdd-io regulator device node
99 vdd-supply = <&pma8084_l22>;
Dedp.txt22 - lvl-vdd-supply: phandle to regulator device node which is used to supply power
57 lvl-vdd-supply = <&lvl_vreg>;
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddpaux.c42 struct regulator *vdd; member
341 dpaux->vdd = devm_regulator_get(&pdev->dev, "vdd"); in tegra_dpaux_probe()
342 if (IS_ERR(dpaux->vdd)) { in tegra_dpaux_probe()
344 PTR_ERR(dpaux->vdd)); in tegra_dpaux_probe()
345 return PTR_ERR(dpaux->vdd); in tegra_dpaux_probe()
464 err = regulator_enable(dpaux->vdd); in tegra_dpaux_attach()
492 err = regulator_disable(dpaux->vdd); in tegra_dpaux_detach()
Ddsi.c76 struct regulator *vdd; member
1528 dsi->vdd = devm_regulator_get(&pdev->dev, "avdd-dsi-csi"); in tegra_dsi_probe()
1529 if (IS_ERR(dsi->vdd)) { in tegra_dsi_probe()
1531 err = PTR_ERR(dsi->vdd); in tegra_dsi_probe()
1535 err = regulator_enable(dsi->vdd); in tegra_dsi_probe()
1589 regulator_disable(dsi->vdd); in tegra_dsi_probe()
1616 regulator_disable(dsi->vdd); in tegra_dsi_remove()
Dhdmi.c51 struct regulator *vdd; member
1358 err = regulator_enable(hdmi->vdd); in tegra_hdmi_init()
1384 regulator_disable(hdmi->vdd); in tegra_hdmi_exit()
1496 hdmi->vdd = devm_regulator_get(&pdev->dev, "vdd"); in tegra_hdmi_probe()
1497 if (IS_ERR(hdmi->vdd)) { in tegra_hdmi_probe()
1499 return PTR_ERR(hdmi->vdd); in tegra_hdmi_probe()
/linux-4.4.14/drivers/input/keyboard/
Dmpr121_touchkey.c131 int i, t, vdd, ret; in mpr121_phys_init() local
159 vdd = pdata->vdd_uv / 1000; in mpr121_phys_init()
160 usl = ((vdd - 700) * 256) / vdd; in mpr121_phys_init()
/linux-4.4.14/Documentation/devicetree/bindings/cpufreq/
Dtegra124-cpufreq.txt16 - vdd-cpu-supply: Regulator for CPU voltage
40 vdd-cpu-supply: <&vdd_cpu>;
/linux-4.4.14/Documentation/devicetree/bindings/gpu/
Dnvidia,gk20a.txt16 - vdd-supply: regulator for supply voltage.
36 vdd-supply = <&vdd_gpu>;
/linux-4.4.14/drivers/media/platform/omap3isp/
Dispcsiphy.c269 if (phy->vdd == NULL) { in omap3isp_csiphy_acquire()
277 rval = regulator_enable(phy->vdd); in omap3isp_csiphy_acquire()
291 regulator_disable(phy->vdd); in omap3isp_csiphy_acquire()
316 regulator_disable(phy->vdd); in omap3isp_csiphy_release()
Dispcsiphy.h30 struct regulator *vdd; member
Disp.c2363 isp->isp_csiphy1.vdd = devm_regulator_get(&pdev->dev, "vdd-csiphy1"); in isp_probe()
2364 isp->isp_csiphy2.vdd = devm_regulator_get(&pdev->dev, "vdd-csiphy2"); in isp_probe()
/linux-4.4.14/Documentation/devicetree/bindings/ufs/
Dufshcd-pltfrm.txt19 - vdd-hba-supply : phandle to UFS host controller supply regulator node
51 vdd-hba-supply = <&xxx_reg0>;
52 vdd-hba-fixed-regulator;
/linux-4.4.14/Documentation/devicetree/bindings/iio/
Diio-bindings.txt68 io-channel-names = "vcc", "vdd";
71 This represents a device with two IIO inputs, named "vcc" and "vdd".
73 vdd channel is connected to output 0 of the &ref device.
Dst-sensors.txt12 - vdd-supply: an optional regulator that needs to be on to provide VDD
/linux-4.4.14/Documentation/devicetree/bindings/arm/samsung/
Dexynos-adc.txt46 - vdd-supply VDD input supply.
65 vdd-supply = <&buck5_reg>;
81 vdd-supply = <&buck5_reg>;
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_kms.c447 mdp4_kms->vdd = devm_regulator_get_exclusive(&pdev->dev, "vdd"); in mdp4_kms_init()
448 if (IS_ERR(mdp4_kms->vdd)) in mdp4_kms_init()
449 mdp4_kms->vdd = NULL; in mdp4_kms_init()
451 if (mdp4_kms->vdd) { in mdp4_kms_init()
452 ret = regulator_enable(mdp4_kms->vdd); in mdp4_kms_init()
Dmdp4_kms.h42 struct regulator *vdd; member
/linux-4.4.14/drivers/media/radio/si4713/
Dsi4713.c370 if (sdev->vdd) { in si4713_powerup()
371 err = regulator_enable(sdev->vdd); in si4713_powerup()
413 if (sdev->vdd) { in si4713_powerup()
414 err = regulator_disable(sdev->vdd); in si4713_powerup()
452 if (sdev->vdd) { in si4713_powerdown()
453 err = regulator_disable(sdev->vdd); in si4713_powerdown()
1470 sdev->vdd = devm_regulator_get_optional(&client->dev, "vdd"); in si4713_probe()
1471 if (IS_ERR(sdev->vdd)) { in si4713_probe()
1472 rval = PTR_ERR(sdev->vdd); in si4713_probe()
1477 sdev->vdd = NULL; in si4713_probe()
Dsi4713.h239 struct regulator *vdd; member
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dmsm-hsusb.txt37 - vdccx-supply: phandle to the regulator for the vdd supply for
72 - qcom,vdd-levels: This property must be a list of three integer values
109 qcom,vdd-levels = <1 5 7>;
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Daxp20x.txt96 regulator-name = "vdd-cpu";
103 regulator-name = "vdd-int-dll";
110 regulator-name = "vdd-rtc";
Das3722.txt206 regulator-name = "vdd-1v8";
/linux-4.4.14/drivers/iio/common/st_sensors/
Dst_sensors_core.c238 pdata->vdd = devm_regulator_get_optional(indio_dev->dev.parent, "vdd"); in st_sensors_power_enable()
239 if (!IS_ERR(pdata->vdd)) { in st_sensors_power_enable()
240 err = regulator_enable(pdata->vdd); in st_sensors_power_enable()
260 if (!IS_ERR(pdata->vdd)) in st_sensors_power_disable()
261 regulator_disable(pdata->vdd); in st_sensors_power_disable()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/
Dtegra.h16 struct regulator *vdd; member
/linux-4.4.14/arch/arm/mach-omap1/
Dboard-h3-mmc.c26 int vdd) in mmc_set_power() argument
Dboard-sx1-mmc.c26 int vdd) in mmc_set_power() argument
Dboard-h2-mmc.c25 int vdd) in mmc_set_power() argument
Dboard-nokia770.c168 int vdd) in nokia770_mmc_set_power() argument
Dboard-innovator.c334 int vdd) in mmc_set_power() argument
/linux-4.4.14/Documentation/devicetree/bindings/power_supply/
Daxp20x_usb_power.txt25 regulator-name = "vdd-cpu";
/linux-4.4.14/drivers/mmc/host/
Domap_hsmmc.c255 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in omap_hsmmc_enable_supply()
313 int vdd) in omap_hsmmc_set_pbias() argument
321 if (vdd <= VDD_165_195) in omap_hsmmc_set_pbias()
354 static int omap_hsmmc_set_power(struct device *dev, int power_on, int vdd) in omap_hsmmc_set_power() argument
362 return mmc_pdata(host)->set_power(dev, power_on, vdd); in omap_hsmmc_set_power()
372 mmc_pdata(host)->before_set_reg(dev, power_on, vdd); in omap_hsmmc_set_power()
396 ret = omap_hsmmc_set_pbias(host, true, vdd); in omap_hsmmc_set_power()
406 mmc_pdata(host)->after_set_reg(dev, power_on, vdd); in omap_hsmmc_set_power()
741 (1 << ios->vdd) <= MMC_VDD_23_24) in omap_hsmmc_context_restore()
1244 static int omap_hsmmc_switch_opcond(struct omap_hsmmc_host *host, int vdd) in omap_hsmmc_switch_opcond() argument
[all …]
Domap.c105 unsigned int vdd; member
1104 int vdd) in mmc_omap_set_power() argument
1112 vdd); in mmc_omap_set_power()
1165 if (ios->vdd != slot->vdd) in mmc_omap_set_ios()
1166 slot->vdd = ios->vdd; in mmc_omap_set_ios()
1171 mmc_omap_set_power(slot, 0, ios->vdd); in mmc_omap_set_ios()
1175 mmc_omap_set_power(slot, 1, ios->vdd); in mmc_omap_set_ios()
Dpxamci.c110 unsigned int vdd) in pxamci_set_power() argument
118 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, vdd); in pxamci_set_power()
129 on = ((1 << vdd) & host->pdata->ocr_mask); in pxamci_set_power()
134 return host->pdata->setpower(mmc_dev(host->mmc), vdd); in pxamci_set_power()
514 ret = pxamci_set_power(host, ios->power_mode, ios->vdd); in pxamci_set_ios()
Dmxcmmc.c241 static void mxcmci_set_power(struct mxcmci_host *host, unsigned int vdd) in mxcmci_set_power() argument
246 host->mmc->supply.vmmc, vdd); in mxcmci_set_power()
253 host->pdata->setpower(mmc_dev(host->mmc), vdd); in mxcmci_set_power()
878 mxcmci_set_power(host, ios->vdd); in mxcmci_set_ios()
Dmoxart-mmc.c518 if (ios->vdd < MIN_POWER) in moxart_set_ios()
521 power = ios->vdd - MIN_POWER; in moxart_set_ios()
Dtmio_mmc_pio.c852 static void tmio_mmc_power_on(struct tmio_mmc_host *host, unsigned short vdd) in tmio_mmc_power_on() argument
863 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in tmio_mmc_power_on()
960 tmio_mmc_power_on(host, ios->vdd); in tmio_mmc_set_ios()
Dsdhci.c1286 unsigned short vdd) in sdhci_set_power() argument
1293 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in sdhci_set_power()
1305 switch (1 << vdd) { in sdhci_set_power()
1331 vdd = 0; in sdhci_set_power()
1511 sdhci_set_power(host, ios->power_mode, ios->vdd); in sdhci_do_set_ios()
Dmmc_spi.c1192 ios->vdd, in mmc_spi_set_ios()
1203 ios->vdd); in mmc_spi_set_ios()
Dvia-sdmmc.c776 via_sdc_set_power(host, ios->vdd, 1); in via_sdc_set_ios()
778 via_sdc_set_power(host, ios->vdd, 0); in via_sdc_set_ios()
Ds3cmci.c1250 host->pdata->set_power(ios->power_mode, ios->vdd); in s3cmci_set_ios()
1265 host->pdata->set_power(ios->power_mode, ios->vdd); in s3cmci_set_ios()
Dusdhi6rol0.c793 ios->power_mode ? ios->vdd : 0); in usdhi6_set_power()
817 ios->clock, ios->vdd, ios->power_mode, ios->bus_width, ios->timing); in usdhi6_set_ios()
Dsunxi-mmc.c702 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in sunxi_mmc_set_ios()
Dtifm_sd.c808 ios->clock, ios->vdd, ios->bus_mode, ios->chip_select, in tifm_sd_ios()
Ddavinci_mmc.c738 ios->vdd); in mmc_davinci_set_ios()
Dsh_mmcif.c1074 ios->power_mode ? ios->vdd : 0); in sh_mmcif_set_power()
Dmmci.c1340 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in mmci_set_ios()
Dmtk-sd.c1220 ios->vdd); in msdc_ops_set_ios()
Datmel-mci.c1408 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in atmci_set_ios()
Ddw_mmc.c1318 ios->vdd); in dw_mci_set_ios()
/linux-4.4.14/arch/arm/mach-pxa/
Dpoodle.c263 static int poodle_mci_setpower(struct device *dev, unsigned int vdd) in poodle_mci_setpower() argument
267 if ((1 << vdd) & p_d->ocr_mask) { in poodle_mci_setpower()
Dpcm990-baseboard.c344 static int pcm990_mci_setpower(struct device *dev, unsigned int vdd) in pcm990_mci_setpower() argument
351 if ((1 << vdd) & p_d->ocr_mask) in pcm990_mci_setpower()
Dmainstone.c338 static int mainstone_mci_setpower(struct device *dev, unsigned int vdd) in mainstone_mci_setpower() argument
342 if (( 1 << vdd) & p_d->ocr_mask) { in mainstone_mci_setpower()
Dem-x270.c602 static int em_x270_mci_setpower(struct device *dev, unsigned int vdd) in em_x270_mci_setpower() argument
606 if ((1 << vdd) & p_d->ocr_mask) { in em_x270_mci_setpower()
607 int vdd_uV = (2000 + (vdd - __ffs(MMC_VDD_20_21)) * 100) * 1000; in em_x270_mci_setpower()
Dstargate2.c737 static int stargate2_mci_setpower(struct device *dev, unsigned int vdd) in stargate2_mci_setpower() argument
739 gpio_set_value(SG2_SD_POWER_ENABLE, !!vdd); in stargate2_mci_setpower()
Dspitz.c602 static int spitz_mci_setpower(struct device *dev, unsigned int vdd) in spitz_mci_setpower() argument
606 if ((1 << vdd) & p_d->ocr_mask) in spitz_mci_setpower()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c509 mdp5_kms->vdd = devm_regulator_get(&pdev->dev, "vdd"); in mdp5_kms_init()
510 if (IS_ERR(mdp5_kms->vdd)) { in mdp5_kms_init()
511 ret = PTR_ERR(mdp5_kms->vdd); in mdp5_kms_init()
515 ret = regulator_enable(mdp5_kms->vdd); in mdp5_kms_init()
Dmdp5_kms.h48 struct regulator *vdd; member
/linux-4.4.14/Documentation/devicetree/bindings/pci/
Dnvidia,tegra20-pcie.txt70 - vdd-pex-supply: Power supply for digital PCIe I/O. Must supply 1.05 V.
90 - vdd-pexa-supply: Power supply for digital PCIe I/O. Must supply 1.05 V.
93 - vdd-pexb-supply: Power supply for digital PCIe I/O. Must supply 1.05 V.
195 vdd-supply = <&pci_vdd_reg>;
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dnvidia,tegra124-dfll.txt33 - vdd-cpu-supply: Regulator for the CPU voltage rail that the DFLL
68 vdd-cpu-supply = <&vdd_cpu>;
/linux-4.4.14/drivers/leds/
Dleds-lp5523.c595 u8 status, adc, vdd; in lp5523_selftest() local
619 ret = lp55xx_read(chip, LP5523_REG_LED_TEST_ADC, &vdd); in lp5523_selftest()
623 vdd--; /* There may be some fluctuation in measurement */ in lp5523_selftest()
652 if (adc >= vdd || adc < LP5523_ADC_SHORTCIRC_LIM) in lp5523_selftest()
/linux-4.4.14/arch/arm/plat-omap/
DKconfig37 compensation for vdd mpu and vdd core from user space,
/linux-4.4.14/Documentation/devicetree/bindings/display/ti/
Dti,omap3-dss.txt77 - vdd-supply: power supply for DSI
Dti,omap5-dss.txt64 - vdd-supply: power supply for DSI
Dti,omap4-dss.txt83 - vdd-supply: power supply for DSI
/linux-4.4.14/include/linux/iio/common/
Dst_sensors.h220 struct regulator *vdd; member
/linux-4.4.14/Documentation/devicetree/bindings/regulator/
Das3722-regulator.txt84 regulator-name = "vdd-1v8";
/linux-4.4.14/arch/arm/mach-imx/
Dmach-mx31_3ds.c338 static void mx31_3ds_sdhc1_setpower(struct device *dev, unsigned int vdd) in mx31_3ds_sdhc1_setpower() argument
348 if (vdd > 7) in mx31_3ds_sdhc1_setpower()
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dmach-n30.c341 static void n30_sdi_set_power(unsigned char power_mode, unsigned short vdd) in n30_sdi_set_power() argument
Dmach-h1940.c451 static void h1940_set_mmc_power(unsigned char power_mode, unsigned short vdd) in h1940_set_mmc_power() argument
Dmach-rx1950.c544 static void rx1950_set_mmc_power(unsigned char power_mode, unsigned short vdd) in rx1950_set_mmc_power() argument
/linux-4.4.14/Documentation/devicetree/bindings/mmc/
Dsdhci-st.txt48 - vqmmc-supply: Phandle to the regulator dt node, mentioned as the vcc/vdd
/linux-4.4.14/include/linux/mmc/
Dhost.h26 unsigned short vdd; member
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/
Dmarvell,armada-370-pinctrl.txt20 mpp4 4 gpio, vdd(cpu-pd)
/linux-4.4.14/Documentation/devicetree/bindings/display/tegra/
Dnvidia,tegra20-host1x.txt140 - vdd-supply: regulator for supply voltage
243 - vdd-supply: phandle of a supply that powers the DisplayPort link
/linux-4.4.14/arch/arm64/boot/dts/rockchip/
Drk3368-r88.dts176 vdd_10: vdd-10-regulator {
/linux-4.4.14/drivers/net/wireless/rsi/
Drsi_91x_sdio.c178 host->ios.vdd = bit; in rsi_reset_card()
/linux-4.4.14/arch/arm64/boot/dts/qcom/
Dmsm8916.dtsi334 qcom,vdd-levels = <1 5 7>;
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_dp.c799 bool vdd; in intel_dp_aux_ch() local
809 vdd = edp_panel_vdd_on(intel_dp); in intel_dp_aux_ch()
928 if (vdd) in intel_dp_aux_ch()
1824 bool vdd; in intel_edp_panel_vdd_on() local
1830 vdd = edp_panel_vdd_on(intel_dp); in intel_edp_panel_vdd_on()
1833 I915_STATE_WARN(!vdd, "eDP port %c VDD already requested on\n", in intel_edp_panel_vdd_on()