Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/mmc/host/
Dsdhci-tegra.c82 if (!gpio_is_valid(plat->wp_gpio)) in tegra_sdhci_get_ro()
85 return gpio_get_value(plat->wp_gpio); in tegra_sdhci_get_ro()
167 if (gpio_is_valid(plat->wp_gpio)) { in tegra_sdhci_pltfm_init()
168 rc = gpio_request(plat->wp_gpio, "sdhci_wp"); in tegra_sdhci_pltfm_init()
174 tegra_gpio_enable(plat->wp_gpio); in tegra_sdhci_pltfm_init()
175 gpio_direction_input(plat->wp_gpio); in tegra_sdhci_pltfm_init()
193 if (gpio_is_valid(plat->wp_gpio)) { in tegra_sdhci_pltfm_init()
194 tegra_gpio_disable(plat->wp_gpio); in tegra_sdhci_pltfm_init()
195 gpio_free(plat->wp_gpio); in tegra_sdhci_pltfm_init()
225 if (gpio_is_valid(plat->wp_gpio)) { in tegra_sdhci_pltfm_exit()
[all …]
Dsdhci-esdhc-imx.c198 if (boarddata && gpio_is_valid(boarddata->wp_gpio)) in esdhc_pltfm_get_ro()
199 return gpio_get_value(boarddata->wp_gpio); in esdhc_pltfm_get_ro()
261 err = gpio_request_one(boarddata->wp_gpio, GPIOF_IN, "ESDHC_WP"); in esdhc_pltfm_init()
265 boarddata->wp_gpio = err; in esdhc_pltfm_init()
309 if (boarddata && gpio_is_valid(boarddata->wp_gpio)) in esdhc_pltfm_exit()
310 gpio_free(boarddata->wp_gpio); in esdhc_pltfm_exit()
Dmxs-mmc.c173 if (!gpio_is_valid(pdata->wp_gpio)) in mxs_mmc_get_ro()
176 return gpio_get_value(pdata->wp_gpio); in mxs_mmc_get_ro()
/linux-2.6.39/arch/arm/mach-tegra/
Dboard-paz00.c90 .wp_gpio = TEGRA_GPIO_SD1_WP,
96 .wp_gpio = -1,
102 .wp_gpio = TEGRA_GPIO_SD4_WP,
Dboard-harmony.c170 .wp_gpio = -1,
176 .wp_gpio = TEGRA_GPIO_SD2_WP,
182 .wp_gpio = TEGRA_GPIO_SD4_WP,
Dboard-seaboard.c120 .wp_gpio = -1,
126 .wp_gpio = TEGRA_GPIO_SD2_WP,
132 .wp_gpio = -1,
Dboard-trimslice.c64 .wp_gpio = -1,
70 .wp_gpio = TRIMSLICE_GPIO_SD4_WP,
/linux-2.6.39/arch/arm/plat-mxc/include/mach/
Desdhc.h23 unsigned int wp_gpio; member
/linux-2.6.39/arch/arm/mach-tegra/include/mach/
Dsdhci.h24 int wp_gpio; member
/linux-2.6.39/arch/arm/mach-mxs/include/mach/
Dmmc.h13 int wp_gpio; /* write protect pin */ member
/linux-2.6.39/arch/arm/mach-mxs/
Dmach-mx28evk.c328 .wp_gpio = MX28EVK_MMC0_WRITE_PROTECT,
332 .wp_gpio = MX28EVK_MMC1_WRITE_PROTECT,
Dmach-mx23evk.c137 .wp_gpio = MX23EVK_MMC0_WRITE_PROTECT,
/linux-2.6.39/arch/arm/mach-imx/
Deukrea_mbimxsd25-baseboard.c248 .wp_gpio = -EINVAL,
/linux-2.6.39/arch/arm/mach-mx3/
Deukrea_mbimxsd-baseboard.c263 .wp_gpio = -EINVAL,
Dmach-pcm043.c355 .wp_gpio = SD1_GPIO_WP,