Home
last modified time | relevance | path

Searched refs:vmmc_supply (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/dev/mmc/
H A Dmmc_fdt_helpers.c64 &helper->vmmc_supply) == 0) { in mmc_fdt_parse()
348 if (helper->vmmc_supply) { in mmc_fdt_set_power()
349 rv = regulator_status(helper->vmmc_supply, &reg_status); in mmc_fdt_set_power()
351 regulator_disable(helper->vmmc_supply); in mmc_fdt_set_power()
362 if (helper->vmmc_supply) { in mmc_fdt_set_power()
363 rv = regulator_status(helper->vmmc_supply, &reg_status); in mmc_fdt_set_power()
365 regulator_enable(helper->vmmc_supply); in mmc_fdt_set_power()
H A Dmmc_helpers.h57 regulator_t vmmc_supply; member
/freebsd/sys/dev/sdhci/
H A Dsdhci_xenon_fdt.c103 sc->vmmc_supply = mmc_helper.vmmc_supply; in sdhci_xenon_fdt_parse()
H A Dsdhci_xenon.c346 if (sc->vmmc_supply) in sdhci_xenon_update_ios()
347 regulator_disable(sc->vmmc_supply); in sdhci_xenon_update_ios()
355 if (sc->vmmc_supply) in sdhci_xenon_update_ios()
356 regulator_enable(sc->vmmc_supply); in sdhci_xenon_update_ios()
H A Dsdhci_xenon.h120 regulator_t vmmc_supply; member
H A Dsdhci_fsl_fdt.c620 if (sc->fdt_helper.vmmc_supply) in sdhci_fsl_fdt_update_ios()
621 regulator_disable(sc->fdt_helper.vmmc_supply); in sdhci_fsl_fdt_update_ios()
629 if (sc->fdt_helper.vmmc_supply) in sdhci_fsl_fdt_update_ios()
630 regulator_enable(sc->fdt_helper.vmmc_supply); in sdhci_fsl_fdt_update_ios()
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_sdhci.c404 if (sc->sc_mmc_helper.vmmc_supply) in bcm_sdhci_update_ios()
405 regulator_enable(sc->sc_mmc_helper.vmmc_supply); in bcm_sdhci_update_ios()
415 if (sc->sc_mmc_helper.vmmc_supply) in bcm_sdhci_update_ios()
416 regulator_disable(sc->sc_mmc_helper.vmmc_supply); in bcm_sdhci_update_ios()
/freebsd/sys/contrib/device-tree/src/arm64/arm/
H A Dcorstone1000-fvp.dts26 regulator-name = "vmmc_supply";
/freebsd/sys/arm/allwinner/
H A Daw_mmc.c1318 if (sc->mmc_helper.vmmc_supply) {
1319 rv = regulator_status(sc->mmc_helper.vmmc_supply, &reg_status);
1321 regulator_disable(sc->mmc_helper.vmmc_supply);
1338 if (sc->mmc_helper.vmmc_supply) {
1339 rv = regulator_status(sc->mmc_helper.vmmc_supply, &reg_status);
1341 regulator_enable(sc->mmc_helper.vmmc_supply);