Symbol: mmc_helper
sys/arm/allwinner/aw_mmc.c
1297
if (sc->mmc_helper.vqmmc_supply == NULL)
sys/arm/allwinner/aw_mmc.c
1311
err = regulator_set_voltage(sc->mmc_helper.vqmmc_supply, uvolt, uvolt);
sys/arm/allwinner/aw_mmc.c
1359
if (sc->mmc_helper.vmmc_supply) {
sys/arm/allwinner/aw_mmc.c
1360
rv = regulator_status(sc->mmc_helper.vmmc_supply, &reg_status);
sys/arm/allwinner/aw_mmc.c
1362
regulator_disable(sc->mmc_helper.vmmc_supply);
sys/arm/allwinner/aw_mmc.c
1364
if (sc->mmc_helper.vqmmc_supply) {
sys/arm/allwinner/aw_mmc.c
1365
rv = regulator_status(sc->mmc_helper.vqmmc_supply, &reg_status);
sys/arm/allwinner/aw_mmc.c
1367
regulator_disable(sc->mmc_helper.vqmmc_supply);
sys/arm/allwinner/aw_mmc.c
1370
if (sc->mmc_helper.mmc_pwrseq)
sys/arm/allwinner/aw_mmc.c
1371
MMC_PWRSEQ_SET_POWER(sc->mmc_helper.mmc_pwrseq, false);
sys/arm/allwinner/aw_mmc.c
1379
if (sc->mmc_helper.vmmc_supply) {
sys/arm/allwinner/aw_mmc.c
1380
rv = regulator_status(sc->mmc_helper.vmmc_supply, &reg_status);
sys/arm/allwinner/aw_mmc.c
1382
regulator_enable(sc->mmc_helper.vmmc_supply);
sys/arm/allwinner/aw_mmc.c
1384
if (sc->mmc_helper.vqmmc_supply) {
sys/arm/allwinner/aw_mmc.c
1385
rv = regulator_status(sc->mmc_helper.vqmmc_supply, &reg_status);
sys/arm/allwinner/aw_mmc.c
1387
regulator_enable(sc->mmc_helper.vqmmc_supply);
sys/arm/allwinner/aw_mmc.c
1390
if (sc->mmc_helper.mmc_pwrseq)
sys/arm/allwinner/aw_mmc.c
1391
MMC_PWRSEQ_SET_POWER(sc->mmc_helper.mmc_pwrseq, true);
sys/arm/allwinner/aw_mmc.c
1471
return (mmc_fdt_gpio_get_readonly(&sc->mmc_helper));
sys/arm/allwinner/aw_mmc.c
162
struct mmc_helper mmc_helper;
sys/arm/allwinner/aw_mmc.c
486
mmc_fdt_parse(dev, 0, &sc->mmc_helper, &sc->aw_host);
sys/arm/allwinner/aw_mmc.c
487
mmc_fdt_gpio_setup(dev, 0, &sc->mmc_helper, aw_mmc_helper_cd_handler);
sys/arm/allwinner/aw_mmc.c
520
mmc_fdt_gpio_teardown(&sc->mmc_helper);
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
158
struct mmc_helper sc_mmc_helper;
sys/dev/mmc/host/dwmmc.c
476
(sc->mmc_helper.props & MMC_PROP_BROKEN_CD)) {
sys/dev/mmc/host/dwmmc.c
518
mmc_fdt_parse(sc->dev, node, &sc->mmc_helper, &sc->host);
sys/dev/mmc/host/dwmmc.c
885
mmc_fdt_set_power(&sc->mmc_helper, ios->power_mode);
sys/dev/mmc/host/dwmmc_var.h
55
struct mmc_helper mmc_helper;
sys/dev/mmc/mmc_fdt_helpers.c
112
struct mmc_helper *helper = arg;
sys/dev/mmc/mmc_fdt_helpers.c
121
struct mmc_helper *helper = arg;
sys/dev/mmc/mmc_fdt_helpers.c
140
cd_setup(struct mmc_helper *helper, phandle_t node)
sys/dev/mmc/mmc_fdt_helpers.c
253
wp_setup(struct mmc_helper *helper, phandle_t node)
sys/dev/mmc/mmc_fdt_helpers.c
275
mmc_fdt_gpio_setup(device_t dev, phandle_t node, struct mmc_helper *helper,
sys/dev/mmc/mmc_fdt_helpers.c
300
mmc_fdt_gpio_teardown(struct mmc_helper *helper)
sys/dev/mmc/mmc_fdt_helpers.c
319
mmc_fdt_gpio_get_present(struct mmc_helper *helper)
sys/dev/mmc/mmc_fdt_helpers.c
334
mmc_fdt_gpio_get_readonly(struct mmc_helper *helper)
sys/dev/mmc/mmc_fdt_helpers.c
350
mmc_fdt_set_power(struct mmc_helper *helper, enum mmc_power_mode power_mode)
sys/dev/mmc/mmc_fdt_helpers.c
48
mmc_fdt_parse(device_t dev, phandle_t node, struct mmc_helper *helper,
sys/dev/mmc/mmc_fdt_helpers.c
51
struct mmc_helper mmc_helper;
sys/dev/mmc/mmc_fdt_helpers.c
54
memset(&mmc_helper, 0, sizeof(mmc_helper));
sys/dev/mmc/mmc_fdt_helpers.c
55
mmc_parse(dev, &mmc_helper, host);
sys/dev/mmc/mmc_fdt_helpers.c
57
helper->props = mmc_helper.props;
sys/dev/mmc/mmc_fdt_helpers.h
38
#define mmc_fdt_helper mmc_helper /* For backwards compatibility */
sys/dev/mmc/mmc_fdt_helpers.h
42
int mmc_fdt_parse(device_t dev, phandle_t node, struct mmc_helper *helper, struct mmc_host *host);
sys/dev/mmc/mmc_fdt_helpers.h
43
int mmc_fdt_gpio_setup(device_t dev, phandle_t node, struct mmc_helper *helper, mmc_fdt_cd_handler handler);
sys/dev/mmc/mmc_fdt_helpers.h
44
void mmc_fdt_gpio_teardown(struct mmc_helper *helper);
sys/dev/mmc/mmc_fdt_helpers.h
45
bool mmc_fdt_gpio_get_present(struct mmc_helper *helper);
sys/dev/mmc/mmc_fdt_helpers.h
46
bool mmc_fdt_gpio_get_readonly(struct mmc_helper *helper);
sys/dev/mmc/mmc_fdt_helpers.h
47
void mmc_fdt_set_power(struct mmc_helper *helper, enum mmc_power_mode power_mode);
sys/dev/mmc/mmc_helpers.c
87
mmc_parse(device_t dev, struct mmc_helper *helper, struct mmc_host *host)
sys/dev/mmc/mmc_helpers.h
63
int mmc_parse(device_t dev, struct mmc_helper *helper,
sys/dev/sdhci/sdhci_fsl_fdt.c
199
struct mmc_helper fdt_helper;
sys/dev/sdhci/sdhci_xenon_acpi.c
100
if (mmc_helper.props & MMC_PROP_NON_REMOVABLE) {
sys/dev/sdhci/sdhci_xenon_acpi.c
106
sc->wp_inverted = mmc_helper.props & MMC_PROP_WP_INVERTED;
sys/dev/sdhci/sdhci_xenon_acpi.c
83
struct mmc_helper mmc_helper;
sys/dev/sdhci/sdhci_xenon_acpi.c
86
memset(&mmc_helper, 0, sizeof(mmc_helper));
sys/dev/sdhci/sdhci_xenon_acpi.c
97
if (mmc_parse(dev, &mmc_helper, &slot->host) != 0)
sys/dev/sdhci/sdhci_xenon_fdt.c
100
mmc_fdt_parse(dev, 0, &mmc_helper, &slot->host);
sys/dev/sdhci/sdhci_xenon_fdt.c
103
sc->vmmc_supply = mmc_helper.vmmc_supply;
sys/dev/sdhci/sdhci_xenon_fdt.c
104
sc->vqmmc_supply = mmc_helper.vqmmc_supply;
sys/dev/sdhci/sdhci_xenon_fdt.c
105
sc->wp_inverted = mmc_helper.props & MMC_PROP_WP_INVERTED;
sys/dev/sdhci/sdhci_xenon_fdt.c
108
if (mmc_helper.props & MMC_PROP_NON_REMOVABLE) {
sys/dev/sdhci/sdhci_xenon_fdt.c
94
struct mmc_helper mmc_helper;
sys/dev/sdhci/sdhci_xenon_fdt.c
97
memset(&mmc_helper, 0, sizeof(mmc_helper));