Lines Matching refs:vdd
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()
1198 if ((1 << vdd) <= MMC_VDD_23_24) in omap_hsmmc_switch_opcond()
1573 mmc_pdata(host)->set_power(host->dev, 1, ios->vdd); in omap_hsmmc_set_ios()
1591 (ios->vdd == DUAL_VOLT_OCR_BIT)) { in omap_hsmmc_set_ios()
1598 if (omap_hsmmc_switch_opcond(host, ios->vdd) != 0) in omap_hsmmc_set_ios()