Home
last modified time | relevance | path

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

123

/linux-2.6.39/arch/arm/mach-omap2/
Dvoltage.c60 static int vp_forceupdate_scale_voltage(struct omap_vdd_info *vdd,
84 static int __init _config_common_vdd_data(struct omap_vdd_info *vdd) in _config_common_vdd_data() argument
108 "various vdd_%s params\n", __func__, vdd->voltdm.name); in _config_common_vdd_data()
117 vdd->volt_scale = vp_forceupdate_scale_voltage; in _config_common_vdd_data()
118 vdd->vp_enabled = false; in _config_common_vdd_data()
120 vdd->vp_rt_data.vpconfig_erroroffset = in _config_common_vdd_data()
121 (vdd->pmic_info->vp_erroroffset << in _config_common_vdd_data()
122 vdd->vp_data->vp_common->vpconfig_erroroffset_shift); in _config_common_vdd_data()
124 timeout_val = (sys_clk_speed * vdd->pmic_info->vp_timeout_us) / 1000; in _config_common_vdd_data()
125 vdd->vp_rt_data.vlimitto_timeout = timeout_val; in _config_common_vdd_data()
[all …]
Dhsmmc.c46 int power_on, int vdd) in omap_hsmmc1_before_set_reg() argument
67 if ((1 << vdd) >= MMC_VDD_30_31) in omap_hsmmc1_before_set_reg()
99 int power_on, int vdd) in omap_hsmmc1_after_set_reg() argument
109 if ((1 << vdd) <= MMC_VDD_165_195) in omap_hsmmc1_after_set_reg()
123 int power_on, int vdd) in omap4_hsmmc1_before_set_reg() argument
145 int power_on, int vdd) in omap4_hsmmc1_after_set_reg() argument
152 if ((1 << vdd) <= MMC_VDD_165_195) in omap4_hsmmc1_after_set_reg()
181 int power_on, int vdd) in hsmmc23_before_set_reg() argument
201 int vdd) in nop_mmc_set_power() argument
Dboard-n8x0.c225 int power_on, int vdd) in n8x0_mmc_set_power_menelaus() argument
231 power_on ? "on" : "off", vdd); in n8x0_mmc_set_power_menelaus()
236 switch (1 << vdd) { in n8x0_mmc_set_power_menelaus()
258 switch (1 << vdd) { in n8x0_mmc_set_power_menelaus()
312 int vdd) in n8x0_mmc_set_power() argument
315 return n8x0_mmc_set_power_menelaus(dev, slot, power_on, vdd); in n8x0_mmc_set_power()
/linux-2.6.39/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-2.6.39/arch/arm/mach-msm/
Dboard-trout-mmc.c96 static uint32_t trout_sdslot_switchvdd(struct device *dev, unsigned int vdd) in trout_sdslot_switchvdd() argument
102 if (vdd == sdslot_vdd) in trout_sdslot_switchvdd()
105 sdslot_vdd = vdd; in trout_sdslot_switchvdd()
107 if (vdd == 0) { in trout_sdslot_switchvdd()
130 if (mmc_vdd_table[i].mask == (1 << vdd)) { in trout_sdslot_switchvdd()
146 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.c114 static uint32_t msm_sdcc_setup_power(struct device *dv, unsigned int vdd) in msm_sdcc_setup_power() argument
121 if (vdd == 0) { in msm_sdcc_setup_power()
/linux-2.6.39/drivers/mmc/core/
Ddebugfs.c49 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show()
50 if ((1 << ios->vdd) & MMC_VDD_165_195) in mmc_ios_show()
52 else if (ios->vdd < (ARRAY_SIZE(vdd_str) - 1) in mmc_ios_show()
53 && vdd_str[ios->vdd] && vdd_str[ios->vdd + 1]) in mmc_ios_show()
54 seq_printf(s, "(%s ~ %s V)\n", vdd_str[ios->vdd], in mmc_ios_show()
55 vdd_str[ios->vdd + 1]); in mmc_ios_show()
Dcore.c626 ios->power_mode, ios->chip_select, ios->vdd, in mmc_set_ios()
756 static int mmc_vdd_to_ocrbitnum(int vdd, bool low_bits) in mmc_vdd_to_ocrbitnum() argument
761 if (vdd < 1650 || vdd > 3600) in mmc_vdd_to_ocrbitnum()
764 if (vdd >= 1650 && vdd <= 1950) in mmc_vdd_to_ocrbitnum()
768 vdd -= 1; in mmc_vdd_to_ocrbitnum()
771 bit = (vdd - 2000) / 100 + 8; in mmc_vdd_to_ocrbitnum()
936 host->ios.vdd = bit; in mmc_select_voltage()
977 host->ios.vdd = bit; in mmc_power_up()
1011 host->ios.vdd = 0; in mmc_power_off()
/linux-2.6.39/arch/arm/plat-omap/include/plat/
Dmmc.h117 int power_on, int vdd);
120 int vdd, int cardsleep);
124 int power_on, int vdd);
127 int power_on, int vdd);
/linux-2.6.39/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-2.6.39/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-2.6.39/drivers/mmc/host/
Domap_hsmmc.c182 int vdd; member
243 int vdd) in omap_hsmmc_1_set_power() argument
250 mmc_slot(host).before_set_reg(dev, slot, power_on, vdd); in omap_hsmmc_1_set_power()
253 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, vdd); in omap_hsmmc_1_set_power()
258 mmc_slot(host).after_set_reg(dev, slot, power_on, vdd); in omap_hsmmc_1_set_power()
264 int vdd) in omap_hsmmc_235_set_power() argument
278 mmc_slot(host).before_set_reg(dev, slot, power_on, vdd); in omap_hsmmc_235_set_power()
294 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, vdd); in omap_hsmmc_235_set_power()
314 mmc_slot(host).after_set_reg(dev, slot, power_on, vdd); in omap_hsmmc_235_set_power()
320 int vdd) in omap_hsmmc_4_set_power() argument
[all …]
Domap.c104 unsigned int vdd; member
1184 int vdd) in mmc_omap_set_power() argument
1192 vdd); in mmc_omap_set_power()
1246 if (ios->vdd != slot->vdd) in mmc_omap_set_ios()
1247 slot->vdd = ios->vdd; in mmc_omap_set_ios()
1252 mmc_omap_set_power(slot, 0, ios->vdd); in mmc_omap_set_ios()
1256 mmc_omap_set_power(slot, 1, ios->vdd); in mmc_omap_set_ios()
/linux-2.6.39/arch/arm/plat-s3c24xx/include/plat/
Dmci.h40 unsigned short vdd);
/linux-2.6.39/arch/arm/plat-mxc/include/mach/
Dmmc.h33 void (*setpower)(struct device *, unsigned int vdd);
/linux-2.6.39/include/linux/amba/
Dmmci.h48 u32 (*vdd_handler)(struct device *, unsigned int vdd,
/linux-2.6.39/drivers/hwmon/
Dsht15.c60 int vdd; /* microvolts */ member
311 if (data->supply_uV > temppoints[i - 1].vdd) { in sht15_calc_temp()
312 d1 = (data->supply_uV - temppoints[i - 1].vdd) in sht15_calc_temp()
314 / (temppoints[i].vdd - temppoints[i - 1].vdd) in sht15_calc_temp()
/linux-2.6.39/arch/arm/mach-omap1/
Dboard-h3-mmc.c27 int vdd) in mmc_set_power() argument
Dboard-sx1-mmc.c25 int vdd) in mmc_set_power() argument
Dboard-h2-mmc.c27 int vdd) in mmc_set_power() argument
/linux-2.6.39/arch/arm/mach-pxa/
Dpcm990-baseboard.c310 static void pcm990_mci_setpower(struct device *dev, unsigned int vdd) in pcm990_mci_setpower() argument
314 if ((1 << vdd) & p_d->ocr_mask) in pcm990_mci_setpower()
Dpoodle.c256 static void poodle_mci_setpower(struct device *dev, unsigned int vdd) in poodle_mci_setpower() argument
260 if ((1 << vdd) & p_d->ocr_mask) { in poodle_mci_setpower()

123