Lines Matching refs:vdd
255 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in omap_hsmmc_enable_supply()
313 int vdd) in omap_hsmmc_set_pbias() argument
321 if (vdd <= VDD_165_195) in omap_hsmmc_set_pbias()
354 static int omap_hsmmc_set_power(struct device *dev, int power_on, int vdd) in omap_hsmmc_set_power() argument
362 return mmc_pdata(host)->set_power(dev, power_on, vdd); in omap_hsmmc_set_power()
372 mmc_pdata(host)->before_set_reg(dev, power_on, vdd); in omap_hsmmc_set_power()
396 ret = omap_hsmmc_set_pbias(host, true, vdd); in omap_hsmmc_set_power()
406 mmc_pdata(host)->after_set_reg(dev, power_on, vdd); in omap_hsmmc_set_power()
741 (1 << ios->vdd) <= MMC_VDD_23_24) in omap_hsmmc_context_restore()
1244 static int omap_hsmmc_switch_opcond(struct omap_hsmmc_host *host, int vdd) in omap_hsmmc_switch_opcond() argument
1259 ret = omap_hsmmc_set_power(host->dev, 1, vdd); in omap_hsmmc_switch_opcond()
1286 if ((1 << vdd) <= MMC_VDD_23_24) in omap_hsmmc_switch_opcond()
1661 omap_hsmmc_set_power(host->dev, 1, ios->vdd); in omap_hsmmc_set_ios()
1679 (ios->vdd == DUAL_VOLT_OCR_BIT)) { in omap_hsmmc_set_ios()
1686 if (omap_hsmmc_switch_opcond(host, ios->vdd) != 0) in omap_hsmmc_set_ios()