Searched refs:cd_gpio (Results 1 – 10 of 10) sorted by relevance
/external/u-boot/drivers/mmc/ |
D | s5p_sdhci.c | 146 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()
|
D | sunxi_mmc.c | 31 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()
|
D | omap_hsmmc.c | 84 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);
|
D | tegra_mmc.c | 27 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()
|
D | stm32_sdmmc2.c | 27 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()
|
D | arm_pl180_mmci.c | 436 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()
|
D | arm_pl180_mmci.h | 194 struct gpio_desc cd_gpio; member
|
D | fsl_esdhc.c | 145 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/ |
D | omap_mmc.h | 233 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,
|
/external/u-boot/include/ |
D | sdhci.h | 270 struct gpio_desc cd_gpio; /* Card Detect GPIO */ member
|