Home
last modified time | relevance | path

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

123

/linux-3.4.99/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-3.4.99/drivers/hwmon/
Dmcp3021.c42 u32 vdd; /* device power supply */ member
69 static inline u16 volts_from_reg(u16 vdd, u16 val) in volts_from_reg() argument
76 return val * DIV_ROUND_CLOSEST(vdd, in volts_from_reg()
91 in_input = volts_from_reg(data->vdd, reg); in show_in_input()
113 data->vdd = *(u32 *)client->dev.platform_data; in mcp3021_probe()
114 if (data->vdd > MCP3021_VDD_MAX || in mcp3021_probe()
115 data->vdd < MCP3021_VDD_MIN) { in mcp3021_probe()
120 data->vdd = MCP3021_VDD_REF; in mcp3021_probe()
Dsht15.c69 int vdd; /* microvolts */ member
598 if (data->supply_uV > temppoints[i - 1].vdd) { in sht15_calc_temp()
599 d1 = (data->supply_uV - temppoints[i - 1].vdd) in sht15_calc_temp()
601 / (temppoints[i].vdd - temppoints[i - 1].vdd) in sht15_calc_temp()
/linux-3.4.99/arch/arm/mach-msm/
Dboard-trout-mmc.c95 static uint32_t trout_sdslot_switchvdd(struct device *dev, unsigned int vdd) in trout_sdslot_switchvdd() argument
101 if (vdd == sdslot_vdd) in trout_sdslot_switchvdd()
104 sdslot_vdd = vdd; in trout_sdslot_switchvdd()
106 if (vdd == 0) { in trout_sdslot_switchvdd()
129 if (mmc_vdd_table[i].mask == (1 << vdd)) { in trout_sdslot_switchvdd()
145 printk(KERN_ERR "%s: Invalid VDD %d specified\n", __func__, vdd); in trout_sdslot_switchvdd()
Dacpuclock-arm11.c90 int vdd; member
200 static int acpuclk_set_vdd_level(int vdd) in acpuclk_set_vdd_level() argument
208 current_vdd, vdd); in acpuclk_set_vdd_level()
210 writel((1 << 7) | (vdd << 3), A11S_VDD_SVS_PLEVEL_ADDR); in acpuclk_set_vdd_level()
212 if ((readl(A11S_VDD_SVS_PLEVEL_ADDR) & 0x7) != vdd) { in acpuclk_set_vdd_level()
338 if (tgt_s->vdd > cur_s->vdd) { in acpuclk_set_rate()
339 if ((rc = acpuclk_set_vdd_level(tgt_s->vdd)) < 0) { in acpuclk_set_rate()
422 if (tgt_s->vdd < strt_s->vdd) { in acpuclk_set_rate()
423 if (acpuclk_set_vdd_level(tgt_s->vdd) < 0) in acpuclk_set_rate()
Dboard-qsd8x50.c113 static uint32_t msm_sdcc_setup_power(struct device *dv, unsigned int vdd) in msm_sdcc_setup_power() argument
120 if (vdd == 0) { in msm_sdcc_setup_power()
/linux-3.4.99/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.c716 ios->power_mode, ios->chip_select, ios->vdd, in mmc_set_ios()
849 static int mmc_vdd_to_ocrbitnum(int vdd, bool low_bits) in mmc_vdd_to_ocrbitnum() argument
854 if (vdd < 1650 || vdd > 3600) in mmc_vdd_to_ocrbitnum()
857 if (vdd >= 1650 && vdd <= 1950) in mmc_vdd_to_ocrbitnum()
861 vdd -= 1; in mmc_vdd_to_ocrbitnum()
864 bit = (vdd - 2000) / 100 + 8; in mmc_vdd_to_ocrbitnum()
1034 host->ios.vdd = bit; in mmc_select_voltage()
1168 host->ios.vdd = bit; in mmc_power_up()
1205 host->ios.vdd = 0; in mmc_power_off()
/linux-3.4.99/arch/arm/plat-samsung/
Dadc.c78 struct regulator *vdd; member
358 adc->vdd = regulator_get(dev, "vdd"); in s3c_adc_probe()
359 if (IS_ERR(adc->vdd)) { in s3c_adc_probe()
361 ret = PTR_ERR(adc->vdd); in s3c_adc_probe()
399 ret = regulator_enable(adc->vdd); in s3c_adc_probe()
430 regulator_put(adc->vdd); in s3c_adc_probe()
443 regulator_disable(adc->vdd); in s3c_adc_remove()
444 regulator_put(adc->vdd); in s3c_adc_remove()
469 regulator_disable(adc->vdd); in s3c_adc_suspend()
483 ret = regulator_enable(adc->vdd); in s3c_adc_resume()
/linux-3.4.99/arch/arm/mach-omap2/
Dhsmmc.c47 int power_on, int vdd) in omap_hsmmc1_before_set_reg() argument
68 if ((1 << vdd) >= MMC_VDD_30_31) in omap_hsmmc1_before_set_reg()
100 int power_on, int vdd) in omap_hsmmc1_after_set_reg() argument
110 if ((1 << vdd) <= MMC_VDD_165_195) in omap_hsmmc1_after_set_reg()
124 int power_on, int vdd) in omap4_hsmmc1_before_set_reg() argument
141 int power_on, int vdd) in omap4_hsmmc1_after_set_reg() argument
149 if ((1 << vdd) <= MMC_VDD_165_195) in omap4_hsmmc1_after_set_reg()
187 int power_on, int vdd) in hsmmc2_before_set_reg() argument
199 int power_on, int vdd) in am35x_hsmmc2_set_power() argument
210 int vdd) in nop_mmc_set_power() argument
Dboard-n8x0.c223 int power_on, int vdd) in n8x0_mmc_set_power_menelaus() argument
229 power_on ? "on" : "off", vdd); in n8x0_mmc_set_power_menelaus()
234 switch (1 << vdd) { in n8x0_mmc_set_power_menelaus()
256 switch (1 << vdd) { in n8x0_mmc_set_power_menelaus()
310 int vdd) in n8x0_mmc_set_power() argument
313 return n8x0_mmc_set_power_menelaus(dev, slot, power_on, vdd); in n8x0_mmc_set_power()
/linux-3.4.99/arch/arm/plat-omap/include/plat/
Dmmc.h138 int power_on, int vdd);
143 int power_on, int vdd);
146 int power_on, int vdd);
/linux-3.4.99/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-3.4.99/drivers/media/video/omap3isp/
Dispcsiphy.c177 if (phy->vdd == NULL) { in omap3isp_csiphy_acquire()
185 rval = regulator_enable(phy->vdd); in omap3isp_csiphy_acquire()
196 regulator_disable(phy->vdd); in omap3isp_csiphy_acquire()
214 regulator_disable(phy->vdd); in omap3isp_csiphy_release()
Dispcsiphy.h59 struct regulator *vdd; member
/linux-3.4.99/drivers/input/keyboard/
Dmpr121_touchkey.c132 int i, t, vdd, ret; in mpr121_phys_init() local
160 vdd = pdata->vdd_uv / 1000; in mpr121_phys_init()
161 usl = ((vdd - 700) * 256) / vdd; in mpr121_phys_init()
/linux-3.4.99/drivers/mmc/host/
Domap_hsmmc.c173 int vdd; member
235 int vdd) in omap_hsmmc_set_power() argument
252 if (dev->of_node && !vdd) in omap_hsmmc_set_power()
256 mmc_slot(host).before_set_reg(dev, slot, power_on, vdd); in omap_hsmmc_set_power()
272 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, vdd); in omap_hsmmc_set_power()
292 mmc_slot(host).after_set_reg(dev, slot, power_on, vdd); in omap_hsmmc_set_power()
338 int vdd = ffs(mmc_slot(host).ocr_mask) - 1; in omap_hsmmc_reg_get() local
341 1, vdd); in omap_hsmmc_reg_get()
595 (1 << ios->vdd) <= MMC_VDD_23_24) in omap_hsmmc_context_restore()
1078 static int omap_hsmmc_switch_opcond(struct omap_hsmmc_host *host, int vdd) in omap_hsmmc_switch_opcond() argument
[all …]
/linux-3.4.99/arch/arm/plat-samsung/include/plat/
Dmci.h40 unsigned short vdd);
/linux-3.4.99/arch/arm/plat-mxc/include/mach/
Dmmc.h33 void (*setpower)(struct device *, unsigned int vdd);
/linux-3.4.99/arch/arm/mach-omap1/
Dboard-h3-mmc.c26 int vdd) in mmc_set_power() argument
Dboard-sx1-mmc.c25 int vdd) in mmc_set_power() argument
Dboard-h2-mmc.c26 int vdd) in mmc_set_power() argument
/linux-3.4.99/arch/arm/mach-pxa/
Dpcm990-baseboard.c309 static void pcm990_mci_setpower(struct device *dev, unsigned int vdd) in pcm990_mci_setpower() argument
313 if ((1 << vdd) & p_d->ocr_mask) in pcm990_mci_setpower()
Dpoodle.c261 static void poodle_mci_setpower(struct device *dev, unsigned int vdd) in poodle_mci_setpower() argument
265 if ((1 << vdd) & p_d->ocr_mask) { in poodle_mci_setpower()

123