Searched refs:cd_gpio (Results 1 – 15 of 15) sorted by relevance
/linux-2.6.39/drivers/mmc/host/ |
D | sdhci-tegra.c | 146 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 …]
|
D | sdhci-esdhc-imx.c | 74 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/ |
D | pxa2xx_viper.c | 53 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/ |
D | board-paz00.c | 89 .cd_gpio = TEGRA_GPIO_SD1_CD, 95 .cd_gpio = -1, 101 .cd_gpio = TEGRA_GPIO_SD4_CD,
|
D | board-harmony.c | 169 .cd_gpio = -1, 175 .cd_gpio = TEGRA_GPIO_SD2_CD, 181 .cd_gpio = TEGRA_GPIO_SD4_CD,
|
D | board-seaboard.c | 119 .cd_gpio = -1, 125 .cd_gpio = TEGRA_GPIO_SD2_CD, 131 .cd_gpio = -1,
|
D | board-trimslice.c | 63 .cd_gpio = -1, 69 .cd_gpio = TRIMSLICE_GPIO_SD4_CD,
|
/linux-2.6.39/arch/arm/plat-mxc/include/mach/ |
D | esdhc.h | 24 unsigned int cd_gpio; member
|
/linux-2.6.39/arch/arm/mach-tegra/include/mach/ |
D | sdhci.h | 23 int cd_gpio; member
|
/linux-2.6.39/arch/arm/mach-pxa/include/mach/ |
D | arcom-pcmcia.h | 5 int cd_gpio; member
|
/linux-2.6.39/arch/arm/mach-imx/ |
D | eukrea_mbimxsd25-baseboard.c | 247 .cd_gpio = GPIO_SD1CD,
|
/linux-2.6.39/arch/arm/mach-mx3/ |
D | eukrea_mbimxsd-baseboard.c | 262 .cd_gpio = GPIO_SD1CD,
|
D | mach-pcm043.c | 356 .cd_gpio = SD1_GPIO_CD,
|
/linux-2.6.39/arch/arm/mach-pxa/ |
D | viper.c | 91 .cd_gpio = VIPER_CF_CD_GPIO,
|
D | zeus.c | 482 .cd_gpio = ZEUS_CF_CD_GPIO,
|