Lines Matching refs:vcc
83 struct regulator *vcc; member
89 host->vcc = regulator_get_optional(mmc_dev(host->mmc), "vmmc"); in pxamci_init_ocr()
91 if (IS_ERR(host->vcc)) in pxamci_init_ocr()
92 host->vcc = NULL; in pxamci_init_ocr()
94 host->mmc->ocr_avail = mmc_regulator_get_ocrmask(host->vcc); in pxamci_init_ocr()
100 if (host->vcc == NULL) { in pxamci_init_ocr()
114 if (host->vcc) { in pxamci_set_power()
118 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, vdd); in pxamci_set_power()
122 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, 0); in pxamci_set_power()
127 if (!host->vcc && host->pdata && in pxamci_set_power()
133 if (!host->vcc && host->pdata && host->pdata->setpower) in pxamci_set_power()
862 if (host->vcc) in pxamci_remove()
863 regulator_put(host->vcc); in pxamci_remove()