Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/mmc/host/
Dsdhci-tegra.c146 if (gpio_is_valid(plat->cd_gpio)) { in tegra_sdhci_pltfm_init()
147 rc = gpio_request(plat->cd_gpio, "sdhci_cd"); in tegra_sdhci_pltfm_init()
153 tegra_gpio_enable(plat->cd_gpio); in tegra_sdhci_pltfm_init()
154 gpio_direction_input(plat->cd_gpio); in tegra_sdhci_pltfm_init()
156 rc = request_irq(gpio_to_irq(plat->cd_gpio), carddetect_irq, in tegra_sdhci_pltfm_init()
199 if (gpio_is_valid(plat->cd_gpio)) in tegra_sdhci_pltfm_init()
200 free_irq(gpio_to_irq(plat->cd_gpio), host); in tegra_sdhci_pltfm_init()
202 if (gpio_is_valid(plat->cd_gpio)) { in tegra_sdhci_pltfm_init()
203 tegra_gpio_disable(plat->cd_gpio); in tegra_sdhci_pltfm_init()
204 gpio_free(plat->cd_gpio); in tegra_sdhci_pltfm_init()
[all …]
Dsdhci-esdhc-imx.c74 if (boarddata && gpio_is_valid(boarddata->cd_gpio) in esdhc_readl_le()
75 && gpio_get_value(boarddata->cd_gpio)) in esdhc_readl_le()
268 err = gpio_request_one(boarddata->cd_gpio, GPIOF_IN, "ESDHC_CD"); in esdhc_pltfm_init()
279 err = request_irq(gpio_to_irq(boarddata->cd_gpio), cd_irq, in esdhc_pltfm_init()
295 gpio_free(boarddata->cd_gpio); in esdhc_pltfm_init()
297 boarddata->cd_gpio = err; in esdhc_pltfm_init()
312 if (boarddata && gpio_is_valid(boarddata->cd_gpio)) { in esdhc_pltfm_exit()
313 gpio_free(boarddata->cd_gpio); in esdhc_pltfm_exit()
316 free_irq(gpio_to_irq(boarddata->cd_gpio), host); in esdhc_pltfm_exit()
/linux-2.6.39/drivers/pcmcia/
Dpxa2xx_viper.c53 irqs[0].irq = gpio_to_irq(pdata->cd_gpio); in viper_pcmcia_hw_init()
55 if (gpio_request(pdata->cd_gpio, "CF detect")) in viper_pcmcia_hw_init()
67 gpio_direction_input(pdata->cd_gpio) || in viper_pcmcia_hw_init()
82 gpio_free(pdata->cd_gpio); in viper_pcmcia_hw_init()
98 gpio_free(pdata->cd_gpio); in viper_pcmcia_hw_shutdown()
106 state->detect = !gpio_get_value(pdata->cd_gpio); in viper_pcmcia_socket_state()
/linux-2.6.39/arch/arm/mach-tegra/
Dboard-paz00.c89 .cd_gpio = TEGRA_GPIO_SD1_CD,
95 .cd_gpio = -1,
101 .cd_gpio = TEGRA_GPIO_SD4_CD,
Dboard-harmony.c169 .cd_gpio = -1,
175 .cd_gpio = TEGRA_GPIO_SD2_CD,
181 .cd_gpio = TEGRA_GPIO_SD4_CD,
Dboard-seaboard.c119 .cd_gpio = -1,
125 .cd_gpio = TEGRA_GPIO_SD2_CD,
131 .cd_gpio = -1,
Dboard-trimslice.c63 .cd_gpio = -1,
69 .cd_gpio = TRIMSLICE_GPIO_SD4_CD,
/linux-2.6.39/arch/arm/plat-mxc/include/mach/
Desdhc.h24 unsigned int cd_gpio; member
/linux-2.6.39/arch/arm/mach-tegra/include/mach/
Dsdhci.h23 int cd_gpio; member
/linux-2.6.39/arch/arm/mach-pxa/include/mach/
Darcom-pcmcia.h5 int cd_gpio; member
/linux-2.6.39/arch/arm/mach-imx/
Deukrea_mbimxsd25-baseboard.c247 .cd_gpio = GPIO_SD1CD,
/linux-2.6.39/arch/arm/mach-mx3/
Deukrea_mbimxsd-baseboard.c262 .cd_gpio = GPIO_SD1CD,
Dmach-pcm043.c356 .cd_gpio = SD1_GPIO_CD,
/linux-2.6.39/arch/arm/mach-pxa/
Dviper.c91 .cd_gpio = VIPER_CF_CD_GPIO,
Dzeus.c482 .cd_gpio = ZEUS_CF_CD_GPIO,