Home
last modified time | relevance | path

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

/u-boot/drivers/mmc/
A Dpci_mmc.c35 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 Ds5p_sdhci.c145 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 Dsunxi_mmc.c35 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 Domap_hsmmc.c93 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 Darm_pl180_mmci.h193 struct gpio_desc cd_gpio; member
A Dtegra_mmc.c34 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 Dstm32_sdmmc2.c38 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 Ddavinci_mmc.c33 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 Docteontx_hsmmc.h60 struct gpio_desc cd_gpio; member
A Darm_pl180_mmci.c463 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 Dfsl_esdhc_imx.c178 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 Dsdhci.c686 &host->cd_gpio, GPIOD_IS_IN);
759 value = dm_gpio_get_value(&host->cd_gpio);
A Docteontx_hsmmc.c2557 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 Domap_mmc.h235 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,
/u-boot/include/
A Dsdhci.h321 struct gpio_desc cd_gpio; /* Card Detect GPIO */ member

Completed in 36 milliseconds