/linux-4.1.27/arch/arm/vfp/ |
D | vfpdouble.c | 207 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 …]
|
D | vfpsingle.c | 485 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/ |
D | gk20a.c | 38 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/ |
D | mcp3021.c | 50 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()
|
D | da9052-hwmon.c | 79 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()
|
D | sht15.c | 72 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/ |
D | hsmmc-omap.h | 77 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);
|
D | mmc-omap.h | 91 int power_on, int vdd); 96 int power_on, int vdd); 99 int power_on, int vdd);
|
D | mmc-s3cmci.h | 40 unsigned short vdd);
|
D | mmc-mxcmmc.h | 33 void (*setpower)(struct device *, unsigned int vdd);
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_platform.c | 41 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()
|
D | nouveau_platform.h | 40 struct regulator *vdd; member
|
/linux-4.1.27/drivers/mmc/core/ |
D | debugfs.c | 62 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()
|
D | core.c | 998 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()
|
D | sd.c | 534 voltage = 1 << host->ios.vdd; in sd_get_host_max_current()
|
D | mmc.c | 783 switch (1 << host->ios.vdd) { in __mmc_select_powerclass()
|
/linux-4.1.27/Documentation/devicetree/bindings/media/ |
D | samsung-s5c73m3.txt | 17 - 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>;
|
D | si4713.txt | 15 - vdd-supply: phandle for Vdd regulator 28 vdd-supply = <&vaux1>;
|
D | ti,omap3isp.txt | 42 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/ |
D | ste-href-tvk1281618.dtsi | 21 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>;
|
D | tegra114-dalmore.dts | 30 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 …]
|
D | omap3-n9.dts | 41 vdd-csiphy1-supply = <&vaux2>; 42 vdd-csiphy2-supply = <&vaux2>;
|
D | omap3-n950.dts | 41 vdd-csiphy1-supply = <&vaux2>; 42 vdd-csiphy2-supply = <&vaux2>;
|
D | tegra114-roth.dts | 39 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 …]
|
D | sun5i-a13-hsg-h702.dts | 142 regulator-name = "vdd-cpu"; 149 regulator-name = "vdd-int-dll"; 153 regulator-name = "vdd-rtc";
|
D | exynos5250-smdk5250.dts | 32 vdd: fixed-regulator@0 { label 34 regulator-name = "vdd-supply"; 294 AVDD2-supply = <&vdd>; 295 CPVDD-supply = <&vdd>;
|
D | sun4i-a10-cubieboard.dts | 198 regulator-name = "vdd-cpu"; 205 regulator-name = "vdd-int-dll"; 209 regulator-name = "vdd-rtc";
|
D | sun7i-a20-cubieboard2.dts | 191 regulator-name = "vdd-cpu"; 198 regulator-name = "vdd-int-dll"; 202 regulator-name = "vdd-rtc";
|
D | ste-snowball.dts | 261 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>;
|
D | sun7i-a20-cubietruck.dts | 268 regulator-name = "vdd-cpu"; 275 regulator-name = "vdd-int-dll"; 279 regulator-name = "vdd-rtc";
|
D | omap4-var-dvk-om44.dts | 70 vdd-supply = <&vcxio>;
|
D | omap4-sdp.dts | 28 vdd_eth: fixedregulator-vdd-eth { 458 vdd-supply = <&vdd_eth>; 642 vdd-supply = <&vcxio>; 667 vdd-supply = <&vcxio>;
|
D | ste-href-stuib.dtsi | 19 vdd-supply = <&ab8500_ldo_aux1_reg>;
|
D | tegra30-apalis.dtsi | 13 vdd-pexa-supply = <&vdd2_reg>; 15 vdd-pexb-supply = <&vdd2_reg>; 36 vdd-supply = <&sys_3v3_reg>;
|
D | exynos5420-smdk5420.dts | 39 vdd: fixed-regulator@0 { label 42 regulator-name = "vdd-supply";
|
D | tegra20-trimslice.dts | 24 vdd-supply = <&hdmi_vdd_reg>; 324 vdd-pex-supply = <&pci_vdd_reg>;
|
D | exynos4412-trats2.dts | 134 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>;
|
D | tegra20-tamonten.dtsi | 19 vdd-supply = <&hdmi_vdd_reg>; 479 vdd-pex-supply = <&pci_vdd_reg>;
|
D | imx51-eukrea-mbimxsd51-baseboard.dts | 130 vdd-supply = <®_can>;
|
D | tegra124-nyan.dtsi | 19 vdd-supply = <&vdd_3v3_hdmi>; 36 vdd-supply = <&vdd_3v3_panel>;
|
D | tegra114-tn7.dts | 39 vdd-supply = <&vdd_1v2_ap>;
|
D | tegra30-colibri.dtsi | 18 vdd-supply = <&sys_3v3_reg>;
|
D | exynos5422-odroidxu3.dts | 298 vdd-supply = <&ldo6_reg>;
|
D | tegra20-harmony.dts | 33 vdd-supply = <&hdmi_vdd_reg>; 569 vdd-pex-supply = <&pci_vdd_reg>;
|
D | s5pv210-goni.dts | 364 vdd-supply = <&tsp_reg>;
|
D | exynos4210-trats.dts | 177 vdd-supply = <&tsp_reg>;
|
D | exynos5420-peach-pit.dts | 143 vdd-supply = <&ldo9_reg>; 180 vdd-supply = <&ldo8_reg>;
|
D | exynos5800-peach-pi.dts | 137 vdd-supply = <&ldo9_reg>; 167 vdd-supply = <&ldo8_reg>;
|
D | exynos4412-odroid-common.dtsi | 468 vdd-supply = <&ldo8_reg>;
|
D | omap4-panda-common.dtsi | 531 vdd-supply = <&vcxio>;
|
D | exynos4210-universal_c210.dts | 539 vdd-supply = <&ldo3_reg>;
|
D | exynos5250-arndale.dts | 155 vdd-supply = <&ldo8_reg>;
|
D | tegra124-venice2.dts | 24 vdd-supply = <&vdd_3v3_hdmi>; 41 vdd-supply = <&vdd_3v3_panel>;
|
D | tegra20-colibri-512.dtsi | 18 vdd-supply = <&hdmi_vdd_reg>;
|
D | exynos5250-spring.dts | 97 vdd-supply = <&ldo8_reg>;
|
D | tegra20-paz00.dts | 33 vdd-supply = <&hdmi_vdd_reg>;
|
D | tegra30-cardhu.dtsi | 46 vdd-pexb-supply = <&ldo1_reg>;
|
D | tegra20-whistler.dts | 24 vdd-supply = <&hdmi_vdd_reg>;
|
D | tegra30-beaver.dts | 23 vdd-pexa-supply = <&ldo1_reg>; 25 vdd-pexb-supply = <&ldo1_reg>; 51 vdd-supply = <&sys_3v3_reg>;
|
D | tegra20-ventana.dts | 32 vdd-supply = <&hdmi_vdd_reg>;
|
D | exynos5250-snow.dts | 299 vdd-supply = <&ldo8_reg>;
|
D | exynos3250-monk.dts | 121 vdd-supply = <&ldo3_reg>;
|
D | omap5-cm-t54.dts | 663 vdd-supply = <&ldo4_reg>;
|
D | exynos3250-rinato.dts | 112 vdd-supply = <&ldo3_reg>;
|
D | tegra20-seaboard.dts | 32 vdd-supply = <&hdmi_vdd_reg>;
|
D | omap3-n900.dts | 607 vdd-supply = <&vaux1>;
|
D | tegra124-jetson-tk1.dts | 48 vdd-supply = <&vdd_3v3_hdmi>;
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | hsmmc.c | 37 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
|
D | board-n8x0.c | 198 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/ |
D | adc.c | 78 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/ |
D | adt7411 | 20 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/ |
D | ak4104.txt | 11 - vdd-supply : A regulator node, providing 2.7V - 3.6V 24 vdd-supply = <&vdd_3v3_reg>;
|
D | st,sta350.txt | 16 - 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/ |
D | micrel-ks8851.txt | 16 - 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/ |
D | exynos_adc.c | 106 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/ |
D | zforce_ts.txt | 13 - vdd-supply: Regulator controlling the controller supply 24 vdd-supply = <®_zforce_vdd>;
|
/linux-4.1.27/Documentation/devicetree/bindings/net/can/ |
D | microchip,mcp251x.txt | 13 - vdd-supply: Regulator that powers the CAN controller. 23 vdd-supply = <®5v0>;
|
/linux-4.1.27/drivers/input/keyboard/ |
D | mpr121_touchkey.c | 131 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/ |
D | dpaux.c | 42 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()
|
D | dsi.c | 76 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()
|
D | hdmi.c | 51 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/ |
D | ufshcd-pltfrm.txt | 12 - 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/ |
D | nvidia,gk20a.txt | 16 - vdd-supply: regulator for supply voltage. 36 vdd-supply = <&vdd_gpu>;
|
D | nvidia,tegra20-host1x.txt | 140 - 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/ |
D | ispcsiphy.c | 269 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()
|
D | ispcsiphy.h | 30 struct regulator *vdd; member
|
D | isp.c | 2454 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/ |
D | axp20x.txt | 68 regulator-name = "vdd-cpu"; 75 regulator-name = "vdd-int-dll"; 82 regulator-name = "vdd-rtc";
|
D | as3722.txt | 206 regulator-name = "vdd-1v8";
|
/linux-4.1.27/Documentation/devicetree/bindings/iio/ |
D | iio-bindings.txt | 68 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.
|
D | st-sensors.txt | 12 - vdd-supply: an optional regulator that needs to be on to provide VDD
|
/linux-4.1.27/Documentation/devicetree/bindings/usb/ |
D | msm-hsusb.txt | 37 - 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/ |
D | exynos-adc.txt | 46 - vdd-supply VDD input supply. 65 vdd-supply = <&buck5_reg>; 81 vdd-supply = <&buck5_reg>;
|
/linux-4.1.27/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 213 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/ |
D | mdp4_kms.c | 423 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()
|
D | mdp4_kms.h | 42 struct regulator *vdd; member
|
/linux-4.1.27/drivers/media/radio/si4713/ |
D | si4713.c | 370 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()
|
D | si4713.h | 239 struct regulator *vdd; member
|
/linux-4.1.27/arch/arm/mach-omap1/ |
D | board-h3-mmc.c | 25 int vdd) in mmc_set_power() argument
|
D | board-sx1-mmc.c | 26 int vdd) in mmc_set_power() argument
|
D | board-h2-mmc.c | 25 int vdd) in mmc_set_power() argument
|
D | board-nokia770.c | 168 int vdd) in nokia770_mmc_set_power() argument
|
D | board-innovator.c | 334 int vdd) in mmc_set_power() argument
|
/linux-4.1.27/drivers/mmc/host/ |
D | omap_hsmmc.c | 259 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 …]
|
D | omap.c | 105 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()
|
D | pxamci.c | 107 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()
|
D | mxcmmc.c | 241 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()
|
D | moxart-mmc.c | 518 if (ios->vdd < MIN_POWER) in moxart_set_ios() 521 power = ios->vdd - MIN_POWER; in moxart_set_ios()
|
D | tmio_mmc_pio.c | 850 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()
|
D | sdhci.c | 1285 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()
|
D | mmc_spi.c | 1192 ios->vdd, in mmc_spi_set_ios() 1203 ios->vdd); in mmc_spi_set_ios()
|
D | via-sdmmc.c | 776 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()
|
D | s3cmci.c | 1250 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()
|
D | usdhi6rol0.c | 793 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()
|
D | sunxi-mmc.c | 697 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in sunxi_mmc_set_ios()
|
D | tifm_sd.c | 808 ios->clock, ios->vdd, ios->bus_mode, ios->chip_select, in tifm_sd_ios()
|
D | davinci_mmc.c | 738 ios->vdd); in mmc_davinci_set_ios()
|
D | sh_mmcif.c | 995 ios->power_mode ? ios->vdd : 0); in sh_mmcif_set_power()
|
D | mmci.c | 1340 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in mmci_set_ios()
|
D | atmel-mci.c | 1409 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in atmci_set_ios()
|
D | dw_mmc.c | 1194 ios->vdd); in dw_mci_set_ios()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_kms.c | 446 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()
|
D | mdp5_kms.h | 46 struct regulator *vdd; member
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | poodle.c | 263 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()
|
D | pcm990-baseboard.c | 339 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()
|
D | mainstone.c | 327 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()
|
D | em-x270.c | 602 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()
|
D | stargate2.c | 737 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()
|
D | spitz.c | 602 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/ |
D | nvidia,tegra20-pcie.txt | 70 - 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/ |
D | leds-lp5523.c | 590 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/ |
D | Kconfig | 37 compensation for vdd mpu and vdd core from user space,
|
/linux-4.1.27/Documentation/devicetree/bindings/video/ |
D | ti,omap3-dss.txt | 77 - vdd-supply: power supply for DSI
|
D | ti,omap5-dss.txt | 64 - vdd-supply: power supply for DSI
|
D | ti,omap4-dss.txt | 83 - vdd-supply: power supply for DSI
|
/linux-4.1.27/include/linux/iio/common/ |
D | st_sensors.h | 218 struct regulator *vdd; member
|
/linux-4.1.27/Documentation/devicetree/bindings/regulator/ |
D | as3722-regulator.txt | 84 regulator-name = "vdd-1v8";
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | mach-mx31_3ds.c | 338 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/ |
D | mach-n30.c | 341 static void n30_sdi_set_power(unsigned char power_mode, unsigned short vdd) in n30_sdi_set_power() argument
|
D | mach-h1940.c | 450 static void h1940_set_mmc_power(unsigned char power_mode, unsigned short vdd) in h1940_set_mmc_power() argument
|
D | mach-rx1950.c | 541 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/ |
D | sdhci-st.txt | 48 - vqmmc-supply: Phandle to the regulator dt node, mentioned as the vcc/vdd
|
/linux-4.1.27/include/linux/mmc/ |
D | host.h | 25 unsigned short vdd; member
|
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/ |
D | marvell,armada-370-pinctrl.txt | 20 mpp4 4 gpio, cpu_pd(vdd)
|
/linux-4.1.27/drivers/net/wireless/rsi/ |
D | rsi_91x_sdio.c | 178 host->ios.vdd = bit; in rsi_reset_card()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | intel_dp.c | 810 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()
|