Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
Dgk20a.c38 struct regulator *vdd; member
109 uv = regulator_get_voltage(priv->vdd); in gk20a_volt_vid_get()
124 return regulator_set_voltage(priv->vdd, volt->vid[vid].uv, 1200000); in gk20a_volt_vid_set()
131 int prev_uv = regulator_get_voltage(priv->vdd); in gk20a_volt_set_id()
167 uv = regulator_get_voltage(plat->gpu->vdd); in gk20a_volt_ctor()
170 priv->vdd = plat->gpu->vdd; in gk20a_volt_ctor()
/linux-4.1.27/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.c72 int vdd; /* microvolts */ member
636 if (data->supply_uv > temppoints[i - 1].vdd) { in sht15_calc_temp()
637 d1 = (data->supply_uv - temppoints[i - 1].vdd) in sht15_calc_temp()
639 / (temppoints[i].vdd - temppoints[i - 1].vdd) in sht15_calc_temp()
/linux-4.1.27/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.1.27/drivers/gpu/drm/nouveau/
Dnouveau_platform.c41 err = regulator_enable(gpu->vdd); in nouveau_platform_power_up()
72 regulator_disable(gpu->vdd); in nouveau_platform_power_up()
88 err = regulator_disable(gpu->vdd); in nouveau_platform_power_down()
172 gpu->vdd = devm_regulator_get(&pdev->dev, "vdd"); in nouveau_platform_probe()
173 if (IS_ERR(gpu->vdd)) in nouveau_platform_probe()
174 return PTR_ERR(gpu->vdd); in nouveau_platform_probe()
Dnouveau_platform.h40 struct regulator *vdd; member
/linux-4.1.27/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.c998 ios->power_mode, ios->chip_select, ios->vdd, in mmc_set_ios()
1171 static int mmc_vdd_to_ocrbitnum(int vdd, bool low_bits) in mmc_vdd_to_ocrbitnum() argument
1176 if (vdd < 1650 || vdd > 3600) in mmc_vdd_to_ocrbitnum()
1179 if (vdd >= 1650 && vdd <= 1950) in mmc_vdd_to_ocrbitnum()
1183 vdd -= 1; in mmc_vdd_to_ocrbitnum()
1186 bit = (vdd - 2000) / 100 + 8; in mmc_vdd_to_ocrbitnum()
1465 if (bit != host->ios.vdd) in mmc_select_voltage()
1626 host->ios.vdd = fls(ocr) - 1; in mmc_power_up()
1671 host->ios.vdd = 0; in mmc_power_off()
Dsd.c534 voltage = 1 << host->ios.vdd; in sd_get_host_max_current()
Dmmc.c783 switch (1 << host->ios.vdd) { in __mmc_select_powerclass()
/linux-4.1.27/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.1.27/arch/arm/boot/dts/
Dste-href-tvk1281618.dtsi21 vdd-supply = <&ab8500_ldo_aux1_reg>;
98 vdd-supply = <&ab8500_ldo_aux1_reg>;
107 vdd-supply = <&ab8500_ldo_aux1_reg>;
117 vdd-supply = <&ab8500_ldo_aux1_reg>;
124 vdd-supply = <&ab8500_ldo_aux1_reg>;
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>;
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 …]
Dsun5i-a13-hsg-h702.dts142 regulator-name = "vdd-cpu";
149 regulator-name = "vdd-int-dll";
153 regulator-name = "vdd-rtc";
Dexynos5250-smdk5250.dts32 vdd: fixed-regulator@0 { label
34 regulator-name = "vdd-supply";
294 AVDD2-supply = <&vdd>;
295 CPVDD-supply = <&vdd>;
Dsun4i-a10-cubieboard.dts198 regulator-name = "vdd-cpu";
205 regulator-name = "vdd-int-dll";
209 regulator-name = "vdd-rtc";
Dsun7i-a20-cubieboard2.dts191 regulator-name = "vdd-cpu";
198 regulator-name = "vdd-int-dll";
202 regulator-name = "vdd-rtc";
Dste-snowball.dts261 vdd-supply = <&ab8500_ldo_aux1_reg>;
270 vdd-supply = <&ab8500_ldo_aux1_reg>;
280 vdd-supply = <&ab8500_ldo_aux1_reg>;
287 vdd-supply = <&ab8500_ldo_aux1_reg>;
Dsun7i-a20-cubietruck.dts268 regulator-name = "vdd-cpu";
275 regulator-name = "vdd-int-dll";
279 regulator-name = "vdd-rtc";
Domap4-var-dvk-om44.dts70 vdd-supply = <&vcxio>;
Domap4-sdp.dts28 vdd_eth: fixedregulator-vdd-eth {
458 vdd-supply = <&vdd_eth>;
642 vdd-supply = <&vcxio>;
667 vdd-supply = <&vcxio>;
Dste-href-stuib.dtsi19 vdd-supply = <&ab8500_ldo_aux1_reg>;
Dtegra30-apalis.dtsi13 vdd-pexa-supply = <&vdd2_reg>;
15 vdd-pexb-supply = <&vdd2_reg>;
36 vdd-supply = <&sys_3v3_reg>;
Dexynos5420-smdk5420.dts39 vdd: fixed-regulator@0 { label
42 regulator-name = "vdd-supply";
Dtegra20-trimslice.dts24 vdd-supply = <&hdmi_vdd_reg>;
324 vdd-pex-supply = <&pci_vdd_reg>;
Dexynos4412-trats2.dts134 vdd-supply = <&ldo3_reg>;
154 vdd-supply = <&ldo24_reg>;
171 vdd-int-supply = <&buck9_reg>;
175 vdd-af-supply = <&cam_af_reg>;
176 vdd-reg-supply = <&cam_io_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-nyan.dtsi19 vdd-supply = <&vdd_3v3_hdmi>;
36 vdd-supply = <&vdd_3v3_panel>;
Dtegra114-tn7.dts39 vdd-supply = <&vdd_1v2_ap>;
Dtegra30-colibri.dtsi18 vdd-supply = <&sys_3v3_reg>;
Dexynos5422-odroidxu3.dts298 vdd-supply = <&ldo6_reg>;
Dtegra20-harmony.dts33 vdd-supply = <&hdmi_vdd_reg>;
569 vdd-pex-supply = <&pci_vdd_reg>;
Ds5pv210-goni.dts364 vdd-supply = <&tsp_reg>;
Dexynos4210-trats.dts177 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.dtsi468 vdd-supply = <&ldo8_reg>;
Domap4-panda-common.dtsi531 vdd-supply = <&vcxio>;
Dexynos4210-universal_c210.dts539 vdd-supply = <&ldo3_reg>;
Dexynos5250-arndale.dts155 vdd-supply = <&ldo8_reg>;
Dtegra124-venice2.dts24 vdd-supply = <&vdd_3v3_hdmi>;
41 vdd-supply = <&vdd_3v3_panel>;
Dtegra20-colibri-512.dtsi18 vdd-supply = <&hdmi_vdd_reg>;
Dexynos5250-spring.dts97 vdd-supply = <&ldo8_reg>;
Dtegra20-paz00.dts33 vdd-supply = <&hdmi_vdd_reg>;
Dtegra30-cardhu.dtsi46 vdd-pexb-supply = <&ldo1_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>;
Dexynos5250-snow.dts299 vdd-supply = <&ldo8_reg>;
Dexynos3250-monk.dts121 vdd-supply = <&ldo3_reg>;
Domap5-cm-t54.dts663 vdd-supply = <&ldo4_reg>;
Dexynos3250-rinato.dts112 vdd-supply = <&ldo3_reg>;
Dtegra20-seaboard.dts32 vdd-supply = <&hdmi_vdd_reg>;
Domap3-n900.dts607 vdd-supply = <&vaux1>;
Dtegra124-jetson-tk1.dts48 vdd-supply = <&vdd_3v3_hdmi>;
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/Documentation/devicetree/bindings/input/touchscreen/
Dzforce_ts.txt13 - vdd-supply: Regulator controlling the controller supply
24 vdd-supply = <&reg_zforce_vdd>;
/linux-4.1.27/Documentation/devicetree/bindings/net/can/
Dmicrochip,mcp251x.txt13 - vdd-supply: Regulator that powers the CAN controller.
23 vdd-supply = <&reg5v0>;
/linux-4.1.27/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.1.27/drivers/gpu/drm/tegra/
Ddpaux.c42 struct regulator *vdd; member
326 dpaux->vdd = devm_regulator_get(&pdev->dev, "vdd"); in tegra_dpaux_probe()
327 if (IS_ERR(dpaux->vdd)) in tegra_dpaux_probe()
328 return PTR_ERR(dpaux->vdd); in tegra_dpaux_probe()
419 err = regulator_enable(dpaux->vdd); in tegra_dpaux_attach()
443 err = regulator_disable(dpaux->vdd); in tegra_dpaux_detach()
Ddsi.c76 struct regulator *vdd; member
1527 dsi->vdd = devm_regulator_get(&pdev->dev, "avdd-dsi-csi"); in tegra_dsi_probe()
1528 if (IS_ERR(dsi->vdd)) { in tegra_dsi_probe()
1530 err = PTR_ERR(dsi->vdd); in tegra_dsi_probe()
1534 err = regulator_enable(dsi->vdd); in tegra_dsi_probe()
1588 regulator_disable(dsi->vdd); in tegra_dsi_probe()
1615 regulator_disable(dsi->vdd); in tegra_dsi_remove()
Dhdmi.c51 struct regulator *vdd; member
1374 err = regulator_enable(hdmi->vdd); in tegra_hdmi_init()
1400 regulator_disable(hdmi->vdd); in tegra_hdmi_exit()
1512 hdmi->vdd = devm_regulator_get(&pdev->dev, "vdd"); in tegra_hdmi_probe()
1513 if (IS_ERR(hdmi->vdd)) { in tegra_hdmi_probe()
1515 return PTR_ERR(hdmi->vdd); in tegra_hdmi_probe()
/linux-4.1.27/Documentation/devicetree/bindings/ufs/
Dufshcd-pltfrm.txt12 - vdd-hba-supply : phandle to UFS host controller supply regulator node
44 vdd-hba-supply = <&xxx_reg0>;
45 vdd-hba-fixed-regulator;
/linux-4.1.27/Documentation/devicetree/bindings/gpu/
Dnvidia,gk20a.txt16 - vdd-supply: regulator for supply voltage.
36 vdd-supply = <&vdd_gpu>;
Dnvidia,tegra20-host1x.txt140 - vdd-supply: regulator for supply voltage
241 - vdd-supply: phandle of a supply that powers the DisplayPort link
/linux-4.1.27/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.c2454 isp->isp_csiphy1.vdd = devm_regulator_get(&pdev->dev, "vdd-csiphy1"); in isp_probe()
2455 isp->isp_csiphy2.vdd = devm_regulator_get(&pdev->dev, "vdd-csiphy2"); in isp_probe()
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Daxp20x.txt68 regulator-name = "vdd-cpu";
75 regulator-name = "vdd-int-dll";
82 regulator-name = "vdd-rtc";
Das3722.txt206 regulator-name = "vdd-1v8";
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/usb/
Dmsm-hsusb.txt37 - vdccx-supply: phandle to the regulator for the vdd supply for
68 - qcom,vdd-levels: This property must be a list of three integer values
94 qcom,vdd-levels = <1 5 7>;
/linux-4.1.27/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.1.27/drivers/iio/common/st_sensors/
Dst_sensors_core.c213 pdata->vdd = devm_regulator_get_optional(indio_dev->dev.parent, "vdd"); in st_sensors_power_enable()
214 if (!IS_ERR(pdata->vdd)) { in st_sensors_power_enable()
215 err = regulator_enable(pdata->vdd); in st_sensors_power_enable()
235 if (!IS_ERR(pdata->vdd)) in st_sensors_power_disable()
236 regulator_disable(pdata->vdd); in st_sensors_power_disable()
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_kms.c423 mdp4_kms->vdd = devm_regulator_get_exclusive(&pdev->dev, "vdd"); in mdp4_kms_init()
424 if (IS_ERR(mdp4_kms->vdd)) in mdp4_kms_init()
425 mdp4_kms->vdd = NULL; in mdp4_kms_init()
427 if (mdp4_kms->vdd) { in mdp4_kms_init()
428 ret = regulator_enable(mdp4_kms->vdd); in mdp4_kms_init()
Dmdp4_kms.h42 struct regulator *vdd; member
/linux-4.1.27/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.1.27/arch/arm/mach-omap1/
Dboard-h3-mmc.c25 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.1.27/drivers/mmc/host/
Domap_hsmmc.c259 static int omap_hsmmc_set_power(struct device *dev, int power_on, int vdd) in omap_hsmmc_set_power() argument
273 mmc_pdata(host)->before_set_reg(dev, power_on, vdd); in omap_hsmmc_set_power()
299 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, vdd); in omap_hsmmc_set_power()
319 if (vdd <= VDD_165_195) in omap_hsmmc_set_power()
336 mmc_pdata(host)->after_set_reg(dev, power_on, vdd); in omap_hsmmc_set_power()
384 int vdd = ffs(mmc_pdata(host)->ocr_mask) - 1; in omap_hsmmc_reg_get() local
386 mmc_pdata(host)->set_power(host->dev, 1, vdd); in omap_hsmmc_reg_get()
638 (1 << ios->vdd) <= MMC_VDD_23_24) in omap_hsmmc_context_restore()
1156 static int omap_hsmmc_switch_opcond(struct omap_hsmmc_host *host, int vdd) in omap_hsmmc_switch_opcond() argument
1171 ret = mmc_pdata(host)->set_power(host->dev, 1, vdd); in omap_hsmmc_switch_opcond()
[all …]
Domap.c105 unsigned int vdd; member
1103 int vdd) in mmc_omap_set_power() argument
1111 vdd); in mmc_omap_set_power()
1164 if (ios->vdd != slot->vdd) in mmc_omap_set_ios()
1165 slot->vdd = ios->vdd; in mmc_omap_set_ios()
1170 mmc_omap_set_power(slot, 0, ios->vdd); in mmc_omap_set_ios()
1174 mmc_omap_set_power(slot, 1, ios->vdd); in mmc_omap_set_ios()
Dpxamci.c107 unsigned int vdd) in pxamci_set_power() argument
115 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, vdd); in pxamci_set_power()
126 on = ((1 << vdd) & host->pdata->ocr_mask); in pxamci_set_power()
131 return host->pdata->setpower(mmc_dev(host->mmc), vdd); in pxamci_set_power()
513 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()
882 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.c850 static void tmio_mmc_power_on(struct tmio_mmc_host *host, unsigned short vdd) in tmio_mmc_power_on() argument
861 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in tmio_mmc_power_on()
958 tmio_mmc_power_on(host, ios->vdd); in tmio_mmc_set_ios()
Dsdhci.c1285 unsigned short vdd) in sdhci_set_power() argument
1292 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in sdhci_set_power()
1304 switch (1 << vdd) { in sdhci_set_power()
1330 vdd = 0; in sdhci_set_power()
1544 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.c697 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.c995 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()
Datmel-mci.c1409 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in atmci_set_ios()
Ddw_mmc.c1194 ios->vdd); in dw_mci_set_ios()
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c446 mdp5_kms->vdd = devm_regulator_get(&pdev->dev, "vdd"); in mdp5_kms_init()
447 if (IS_ERR(mdp5_kms->vdd)) { in mdp5_kms_init()
448 ret = PTR_ERR(mdp5_kms->vdd); in mdp5_kms_init()
452 ret = regulator_enable(mdp5_kms->vdd); in mdp5_kms_init()
Dmdp5_kms.h46 struct regulator *vdd; member
/linux-4.1.27/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.c339 static int pcm990_mci_setpower(struct device *dev, unsigned int vdd) in pcm990_mci_setpower() argument
346 if ((1 << vdd) & p_d->ocr_mask) in pcm990_mci_setpower()
Dmainstone.c327 static int mainstone_mci_setpower(struct device *dev, unsigned int vdd) in mainstone_mci_setpower() argument
331 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.1.27/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.1.27/drivers/leds/
Dleds-lp5523.c590 u8 status, adc, vdd; in lp5523_selftest() local
614 ret = lp55xx_read(chip, LP5523_REG_LED_TEST_ADC, &vdd); in lp5523_selftest()
618 vdd--; /* There may be some fluctuation in measurement */ in lp5523_selftest()
647 if (adc >= vdd || adc < LP5523_ADC_SHORTCIRC_LIM) in lp5523_selftest()
/linux-4.1.27/arch/arm/plat-omap/
DKconfig37 compensation for vdd mpu and vdd core from user space,
/linux-4.1.27/Documentation/devicetree/bindings/video/
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.1.27/include/linux/iio/common/
Dst_sensors.h218 struct regulator *vdd; member
/linux-4.1.27/Documentation/devicetree/bindings/regulator/
Das3722-regulator.txt84 regulator-name = "vdd-1v8";
/linux-4.1.27/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.1.27/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.c450 static void h1940_set_mmc_power(unsigned char power_mode, unsigned short vdd) in h1940_set_mmc_power() argument
Dmach-rx1950.c541 static void rx1950_set_mmc_power(unsigned char power_mode, unsigned short vdd) in rx1950_set_mmc_power() argument
/linux-4.1.27/Documentation/devicetree/bindings/mmc/
Dsdhci-st.txt48 - vqmmc-supply: Phandle to the regulator dt node, mentioned as the vcc/vdd
/linux-4.1.27/include/linux/mmc/
Dhost.h25 unsigned short vdd; member
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/
Dmarvell,armada-370-pinctrl.txt20 mpp4 4 gpio, cpu_pd(vdd)
/linux-4.1.27/drivers/net/wireless/rsi/
Drsi_91x_sdio.c178 host->ios.vdd = bit; in rsi_reset_card()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_dp.c810 bool vdd; in intel_dp_aux_ch() local
820 vdd = edp_panel_vdd_on(intel_dp); in intel_dp_aux_ch()
926 if (vdd) in intel_dp_aux_ch()
1748 bool vdd; in intel_edp_panel_vdd_on() local
1754 vdd = edp_panel_vdd_on(intel_dp); in intel_edp_panel_vdd_on()
1757 I915_STATE_WARN(!vdd, "eDP port %c VDD already requested on\n", in intel_edp_panel_vdd_on()