/u-boot/drivers/mmc/ |
A D | pci_mmc.c | 35 struct gpio_desc cd_gpio; member 72 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, GPIOD_IS_IN); in pci_mmc_of_to_plat() 99 ret = gpio_get_acpi(&priv->cd_gpio, &gpio); in pci_mmc_acpi_fill_ssdt()
|
A D | s5p_sdhci.c | 145 if (dm_gpio_is_valid(&host->cd_gpio)) { in do_sdhci_init() 146 ret = dm_gpio_get_value(&host->cd_gpio); in do_sdhci_init() 188 &host->cd_gpio, GPIOD_IS_IN); in sdhci_get_config()
|
A D | sunxi_mmc.c | 35 struct gpio_desc cd_gpio; /* Change Detect GPIO */ member 585 if (dm_gpio_is_valid(&priv->cd_gpio)) { in sunxi_mmc_getcd() 586 int cd_state = dm_gpio_get_value(&priv->cd_gpio); in sunxi_mmc_getcd() 663 !gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, in sunxi_mmc_probe() 665 int cd_pin = gpio_get_number(&priv->cd_gpio); in sunxi_mmc_probe()
|
A D | omap_hsmmc.c | 93 struct gpio_desc cd_gpio; /* Change Detect GPIO */ member 96 int cd_gpio; member 1461 value = dm_gpio_get_value(&priv->cd_gpio); 1486 int cd_gpio; local 1489 cd_gpio = priv->cd_gpio; 1490 if (cd_gpio < 0) 1494 return !gpio_get_value(cd_gpio); 1539 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio, argument 1584 priv->cd_gpio = omap_mmc_setup_gpio_in(cd_gpio, "mmc_cd"); 1987 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, GPIOD_IS_IN);
|
A D | arm_pl180_mmci.h | 193 struct gpio_desc cd_gpio; member
|
A D | tegra_mmc.c | 34 struct gpio_desc cd_gpio; /* Change Detect GPIO */ member 668 if (dm_gpio_is_valid(&priv->cd_gpio)) in tegra_mmc_getcd() 669 return dm_gpio_get_value(&priv->cd_gpio); in tegra_mmc_getcd() 738 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, GPIOD_IS_IN); in tegra_mmc_probe()
|
A D | stm32_sdmmc2.c | 38 struct gpio_desc cd_gpio; member 625 if (dm_gpio_is_valid(&priv->cd_gpio)) in stm32_sdmmc2_getcd() 626 return dm_gpio_get_value(&priv->cd_gpio); in stm32_sdmmc2_getcd() 679 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, in stm32_sdmmc2_probe()
|
A D | davinci_mmc.c | 33 struct gpio_desc cd_gpio; /* Card Detect GPIO */ member 424 value = dm_gpio_get_value(&priv->cd_gpio); 488 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, GPIOD_IS_IN);
|
A D | octeontx_hsmmc.h | 60 struct gpio_desc cd_gpio; member
|
A D | arm_pl180_mmci.c | 463 gpio_request_by_name(dev, "cd-gpios", 0, &host->cd_gpio, GPIOD_IS_IN); in arm_pl180_mmc_probe() 514 if (dm_gpio_is_valid(&host->cd_gpio)) in dm_mmc_getcd() 515 value = dm_gpio_get_value(&host->cd_gpio); in dm_mmc_getcd()
|
A D | fsl_esdhc_imx.c | 178 struct gpio_desc cd_gpio; member 1094 if (dm_gpio_is_valid(&priv->cd_gpio)) in esdhc_getcd_common() 1095 return dm_gpio_get_value(&priv->cd_gpio); in esdhc_getcd_common() 1458 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, in fsl_esdhc_of_to_plat() 1540 dtplat->cd_gpios->arg[1], &priv->cd_gpio); in fsl_esdhc_probe()
|
A D | sdhci.c | 686 &host->cd_gpio, GPIOD_IS_IN); 759 value = dm_gpio_get_value(&host->cd_gpio);
|
A D | octeontx_hsmmc.c | 2557 if (dm_gpio_is_valid(&slot->cd_gpio)) { in octeontx_mmc_get_cd() 2558 val = dm_gpio_get_value(&slot->cd_gpio); in octeontx_mmc_get_cd() 3531 gpio_request_by_name(dev, "cd-gpios", 0, &slot->cd_gpio, GPIOD_IS_IN); in octeontx_mmc_get_config()
|
/u-boot/arch/arm/include/asm/ |
A D | omap_mmc.h | 235 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,
|
/u-boot/include/ |
A D | sdhci.h | 321 struct gpio_desc cd_gpio; /* Card Detect GPIO */ member
|