• Home
  • Raw
  • Download

Lines Matching refs:supply

1251 	if (!IS_ERR(mmc->supply.vmmc)) {  in sdhci_set_power()
1253 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in sdhci_set_power()
1481 if (!IS_ERR(mmc->supply.vmmc) && in sdhci_do_set_ios()
1483 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in sdhci_do_set_ios()
1774 if (!IS_ERR(mmc->supply.vqmmc)) { in sdhci_do_start_signal_voltage_switch()
1775 ret = regulator_set_voltage(mmc->supply.vqmmc, 2700000, in sdhci_do_start_signal_voltage_switch()
1796 if (!IS_ERR(mmc->supply.vqmmc)) { in sdhci_do_start_signal_voltage_switch()
1797 ret = regulator_set_voltage(mmc->supply.vqmmc, in sdhci_do_start_signal_voltage_switch()
1823 if (!IS_ERR(mmc->supply.vqmmc)) { in sdhci_do_start_signal_voltage_switch()
1824 ret = regulator_set_voltage(mmc->supply.vqmmc, 1100000, in sdhci_do_start_signal_voltage_switch()
3063 if (!IS_ERR(mmc->supply.vqmmc)) { in sdhci_add_host()
3064 ret = regulator_enable(mmc->supply.vqmmc); in sdhci_add_host()
3065 if (!regulator_is_supported_voltage(mmc->supply.vqmmc, 1700000, in sdhci_add_host()
3073 mmc->supply.vqmmc = NULL; in sdhci_add_host()
3094 if (IS_ERR(mmc->supply.vqmmc) || in sdhci_add_host()
3096 (mmc->supply.vqmmc, 1100000, 1300000)) in sdhci_add_host()
3147 if (!max_current_caps && !IS_ERR(mmc->supply.vmmc)) { in sdhci_add_host()
3148 int curr = regulator_get_current_limit(mmc->supply.vmmc); in sdhci_add_host()
3385 if (!IS_ERR(mmc->supply.vmmc)) in sdhci_remove_host()
3386 regulator_disable(mmc->supply.vmmc); in sdhci_remove_host()
3388 if (!IS_ERR(mmc->supply.vqmmc)) in sdhci_remove_host()
3389 regulator_disable(mmc->supply.vqmmc); in sdhci_remove_host()