/linux-3.4.99/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-3.4.99/drivers/hwmon/ |
D | mcp3021.c | 42 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()
|
D | sht15.c | 69 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/ |
D | board-trout-mmc.c | 95 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()
|
D | acpuclock-arm11.c | 90 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()
|
D | board-qsd8x50.c | 113 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/ |
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 | 716 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/ |
D | adc.c | 78 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/ |
D | hsmmc.c | 47 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
|
D | board-n8x0.c | 223 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/ |
D | mmc.h | 138 int power_on, int vdd); 143 int power_on, int vdd); 146 int power_on, int vdd);
|
/linux-3.4.99/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-3.4.99/drivers/media/video/omap3isp/ |
D | ispcsiphy.c | 177 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()
|
D | ispcsiphy.h | 59 struct regulator *vdd; member
|
/linux-3.4.99/drivers/input/keyboard/ |
D | mpr121_touchkey.c | 132 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/ |
D | omap_hsmmc.c | 173 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/ |
D | mci.h | 40 unsigned short vdd);
|
/linux-3.4.99/arch/arm/plat-mxc/include/mach/ |
D | mmc.h | 33 void (*setpower)(struct device *, unsigned int vdd);
|
/linux-3.4.99/arch/arm/mach-omap1/ |
D | board-h3-mmc.c | 26 int vdd) in mmc_set_power() argument
|
D | board-sx1-mmc.c | 25 int vdd) in mmc_set_power() argument
|
D | board-h2-mmc.c | 26 int vdd) in mmc_set_power() argument
|
/linux-3.4.99/arch/arm/mach-pxa/ |
D | pcm990-baseboard.c | 309 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()
|
D | poodle.c | 261 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()
|