Lines Matching refs:vcc
80 struct regulator *vcc; member
86 host->vcc = regulator_get_optional(mmc_dev(host->mmc), "vmmc"); in pxamci_init_ocr()
88 if (IS_ERR(host->vcc)) in pxamci_init_ocr()
89 host->vcc = NULL; in pxamci_init_ocr()
91 host->mmc->ocr_avail = mmc_regulator_get_ocrmask(host->vcc); in pxamci_init_ocr()
97 if (host->vcc == NULL) { in pxamci_init_ocr()
111 if (host->vcc) { in pxamci_set_power()
115 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, vdd); in pxamci_set_power()
119 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, 0); in pxamci_set_power()
124 if (!host->vcc && host->pdata && in pxamci_set_power()
130 if (!host->vcc && host->pdata && host->pdata->setpower) in pxamci_set_power()
855 if (host->vcc) in pxamci_remove()
856 regulator_put(host->vcc); in pxamci_remove()