Home
last modified time | relevance | path

Searched refs:gpio_cd (Results 1 – 9 of 9) sorted by relevance

/drivers/mmc/host/
Dsdhci-sirf.c23 int gpio_cd; member
175 int gpio_cd; in sdhci_sirf_probe() local
185 gpio_cd = of_get_named_gpio(pdev->dev.of_node, "cd-gpios", 0); in sdhci_sirf_probe()
187 gpio_cd = -EINVAL; in sdhci_sirf_probe()
196 priv->gpio_cd = gpio_cd; in sdhci_sirf_probe()
212 if (gpio_is_valid(priv->gpio_cd)) { in sdhci_sirf_probe()
213 ret = mmc_gpio_request_cd(host->mmc, priv->gpio_cd, 0); in sdhci_sirf_probe()
Dpxamci.c642 int ret, irq, gpio_cd = -1, gpio_ro = -1, gpio_power = -1; in pxamci_probe() local
777 gpio_cd = host->pdata->gpio_card_detect; in pxamci_probe()
804 if (gpio_is_valid(gpio_cd)) in pxamci_probe()
805 ret = mmc_gpio_request_cd(mmc, gpio_cd, 0); in pxamci_probe()
807 dev_err(&pdev->dev, "Failed requesting gpio_cd %d\n", gpio_cd); in pxamci_probe()
838 int gpio_cd = -1, gpio_ro = -1, gpio_power = -1; in pxamci_remove() local
846 gpio_cd = host->pdata->gpio_card_detect; in pxamci_remove()
Dsdhci-acpi.c196 int gpio_cd = mmc_gpio_get_cd(mmc); in bxt_get_cd() local
201 if (!gpio_cd) in bxt_get_cd()
Domap_hsmmc.c540 } else if (gpio_is_valid(pdata->gpio_cd)) { in omap_hsmmc_gpio_init()
541 ret = mmc_gpio_request_cd(mmc, pdata->gpio_cd, 0); in omap_hsmmc_gpio_init()
1962 pdata->gpio_cd = -EINVAL; in of_get_hsmmc_pdata()
Dsdhci-pci-core.c341 int gpio_cd = mmc_gpio_get_cd(mmc); in bxt_get_cd() local
346 if (!gpio_cd) in bxt_get_cd()
Dmmci.c1674 else if (gpio_is_valid(plat->gpio_cd)) { in mmci_probe()
1675 ret = mmc_gpio_request_cd(mmc, plat->gpio_cd, 0); in mmci_probe()
Dsdhci.c1739 int gpio_cd = mmc_gpio_get_cd(mmc); in sdhci_get_cd() local
1752 if (gpio_cd >= 0) in sdhci_get_cd()
1753 return !!gpio_cd; in sdhci_get_cd()
Ddw_mmc.c1529 int gpio_cd = mmc_gpio_get_cd(mmc); in dw_mci_get_cd() local
1534 else if (gpio_cd >= 0) in dw_mci_get_cd()
1535 present = gpio_cd; in dw_mci_get_cd()
/drivers/pcmcia/
Dsa1100_nanoengine.c42 int gpio_cd; member
49 .gpio_cd = GPIO_PC_CD0,
53 .gpio_cd = GPIO_PC_CD1,
73 skt->stat[SOC_STAT_CD].gpio = nano_skts[i].gpio_cd; in nanoengine_pcmcia_hw_init()