Searched refs:mmc_helper (Results 1 – 11 of 11) sorted by relevance
/freebsd/sys/dev/mmc/ |
H A D | mmc_fdt_helpers.h | 38 #define mmc_fdt_helper mmc_helper /* For backwards compatibility */ 42 int mmc_fdt_parse(device_t dev, phandle_t node, struct mmc_helper *helper, struct mmc_host *host); 43 int mmc_fdt_gpio_setup(device_t dev, phandle_t node, struct mmc_helper *helper, mmc_fdt_cd_handler … 44 void mmc_fdt_gpio_teardown(struct mmc_helper *helper); 45 bool mmc_fdt_gpio_get_present(struct mmc_helper *helper); 46 bool mmc_fdt_gpio_get_readonly(struct mmc_helper *helper); 47 void mmc_fdt_set_power(struct mmc_helper *helper, enum mmc_power_mode power_mode);
|
H A D | mmc_fdt_helpers.c | 48 mmc_fdt_parse(device_t dev, phandle_t node, struct mmc_helper *helper, in mmc_fdt_parse() 51 struct mmc_helper mmc_helper; in mmc_fdt_parse() local 54 memset(&mmc_helper, 0, sizeof(mmc_helper)); in mmc_fdt_parse() 55 mmc_parse(dev, &mmc_helper, host); in mmc_fdt_parse() 57 helper->props = mmc_helper.props; in mmc_fdt_parse() 112 struct mmc_helper *helper = arg; in cd_intr() 121 struct mmc_helper *helper = arg; in cd_card_task() 140 cd_setup(struct mmc_helper *helper, phandle_t node) in cd_setup() 242 wp_setup(struct mmc_helper *helper, phandle_t node) in wp_setup() 264 mmc_fdt_gpio_setup(device_t dev, phandle_t node, struct mmc_helper *helper, in mmc_fdt_gpio_setup() [all …]
|
H A D | mmc_helpers.h | 35 struct mmc_helper { struct 63 int mmc_parse(device_t dev, struct mmc_helper *helper, argument
|
H A D | mmc_helpers.c | 87 mmc_parse(device_t dev, struct mmc_helper *helper, struct mmc_host *host) in mmc_parse()
|
/freebsd/sys/dev/sdhci/ |
H A D | sdhci_xenon_fdt.c | 94 struct mmc_helper mmc_helper; in sdhci_xenon_fdt_parse() local 97 memset(&mmc_helper, 0, sizeof(mmc_helper)); in sdhci_xenon_fdt_parse() 100 mmc_fdt_parse(dev, 0, &mmc_helper, &slot->host); in sdhci_xenon_fdt_parse() 103 sc->vmmc_supply = mmc_helper.vmmc_supply; in sdhci_xenon_fdt_parse() 104 sc->vqmmc_supply = mmc_helper.vqmmc_supply; in sdhci_xenon_fdt_parse() 105 sc->wp_inverted = mmc_helper.props & MMC_PROP_WP_INVERTED; in sdhci_xenon_fdt_parse() 108 if (mmc_helper.props & MMC_PROP_NON_REMOVABLE) { in sdhci_xenon_fdt_parse()
|
H A D | sdhci_xenon_acpi.c | 83 struct mmc_helper mmc_helper; in sdhci_xenon_acpi_attach() local 86 memset(&mmc_helper, 0, sizeof(mmc_helper)); in sdhci_xenon_acpi_attach() 97 if (mmc_parse(dev, &mmc_helper, &slot->host) != 0) in sdhci_xenon_acpi_attach() 100 if (mmc_helper.props & MMC_PROP_NON_REMOVABLE) { in sdhci_xenon_acpi_attach() 106 sc->wp_inverted = mmc_helper.props & MMC_PROP_WP_INVERTED; in sdhci_xenon_acpi_attach()
|
H A D | sdhci_fsl_fdt.c | 199 struct mmc_helper fdt_helper;
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_mmc.c | 131 struct mmc_helper mmc_helper; member 455 mmc_fdt_parse(dev, 0, &sc->mmc_helper, &sc->aw_host); in aw_mmc_attach() 456 mmc_fdt_gpio_setup(dev, 0, &sc->mmc_helper, aw_mmc_helper_cd_handler); in aw_mmc_attach() 489 mmc_fdt_gpio_teardown(&sc->mmc_helper); in aw_mmc_detach() 1256 if (sc->mmc_helper.vqmmc_supply == NULL) 1270 err = regulator_set_voltage(sc->mmc_helper.vqmmc_supply, uvolt, uvolt); 1318 if (sc->mmc_helper.vmmc_supply) { 1319 rv = regulator_status(sc->mmc_helper.vmmc_supply, ®_status); 1321 regulator_disable(sc->mmc_helper.vmmc_supply); 1323 if (sc->mmc_helper.vqmmc_supply) { [all …]
|
/freebsd/sys/dev/mmc/host/ |
H A D | dwmmc_var.h | 55 struct mmc_helper mmc_helper; member
|
H A D | dwmmc.c | 482 (sc->mmc_helper.props & MMC_PROP_BROKEN_CD)) { in dwmmc_card_task() 524 mmc_fdt_parse(sc->dev, node, &sc->mmc_helper, &sc->host); in parse_fdt() 891 mmc_fdt_set_power(&sc->mmc_helper, ios->power_mode); in dwmmc_update_ios()
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_sdhci.c | 158 struct mmc_helper sc_mmc_helper;
|