Home
last modified time | relevance | path

Searched refs:cd_gpio (Results 1 – 10 of 10) sorted by relevance

/external/u-boot/drivers/mmc/
Ds5p_sdhci.c146 if (dm_gpio_is_valid(&host->cd_gpio)) { in do_sdhci_init()
147 ret = dm_gpio_get_value(&host->cd_gpio); in do_sdhci_init()
189 &host->cd_gpio, GPIOD_IS_IN); in sdhci_get_config()
Dsunxi_mmc.c31 struct gpio_desc cd_gpio; /* Change Detect GPIO */ member
552 if (dm_gpio_is_valid(&priv->cd_gpio)) { in sunxi_mmc_getcd()
553 int cd_state = dm_gpio_get_value(&priv->cd_gpio); in sunxi_mmc_getcd()
613 if (!gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, in sunxi_mmc_probe()
615 int cd_pin = gpio_get_number(&priv->cd_gpio); in sunxi_mmc_probe()
Domap_hsmmc.c84 struct gpio_desc cd_gpio; /* Change Detect GPIO */ member
88 int cd_gpio; member
1370 value = dm_gpio_get_value(&priv->cd_gpio);
1395 int cd_gpio; local
1398 cd_gpio = priv->cd_gpio;
1399 if (cd_gpio < 0)
1403 return !gpio_get_value(cd_gpio);
1451 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio, argument
1496 priv->cd_gpio = omap_mmc_setup_gpio_in(cd_gpio, "mmc_cd");
1905 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, GPIOD_IS_IN);
Dtegra_mmc.c27 struct gpio_desc cd_gpio; /* Change Detect GPIO */ member
577 if (dm_gpio_is_valid(&priv->cd_gpio)) in tegra_mmc_getcd()
578 return dm_gpio_get_value(&priv->cd_gpio); in tegra_mmc_getcd()
647 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, GPIOD_IS_IN); in tegra_mmc_probe()
Dstm32_sdmmc2.c27 struct gpio_desc cd_gpio; member
510 if (dm_gpio_is_valid(&priv->cd_gpio)) in stm32_sdmmc2_getcd()
511 return dm_gpio_get_value(&priv->cd_gpio); in stm32_sdmmc2_getcd()
553 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, in stm32_sdmmc2_probe()
Darm_pl180_mmci.c436 gpio_request_by_name(dev, "cd-gpios", 0, &host->cd_gpio, GPIOD_IS_IN); in arm_pl180_mmc_probe()
487 if (dm_gpio_is_valid(&host->cd_gpio)) { in dm_mmc_getcd()
488 value = dm_gpio_get_value(&host->cd_gpio); in dm_mmc_getcd()
Darm_pl180_mmci.h194 struct gpio_desc cd_gpio; member
Dfsl_esdhc.c145 struct gpio_desc cd_gpio; member
1013 if (dm_gpio_is_valid(&priv->cd_gpio)) in esdhc_getcd_common()
1014 return dm_gpio_get_value(&priv->cd_gpio); in esdhc_getcd_common()
1404 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, in fsl_esdhc_probe()
/external/u-boot/arch/arm/include/asm/
Domap_mmc.h233 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,
/external/u-boot/include/
Dsdhci.h270 struct gpio_desc cd_gpio; /* Card Detect GPIO */ member