Searched refs:wp_gpio (Results 1 – 15 of 15) sorted by relevance
/linux-2.6.39/drivers/mmc/host/ |
D | sdhci-tegra.c | 82 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 …]
|
D | sdhci-esdhc-imx.c | 198 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()
|
D | mxs-mmc.c | 173 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/ |
D | board-paz00.c | 90 .wp_gpio = TEGRA_GPIO_SD1_WP, 96 .wp_gpio = -1, 102 .wp_gpio = TEGRA_GPIO_SD4_WP,
|
D | board-harmony.c | 170 .wp_gpio = -1, 176 .wp_gpio = TEGRA_GPIO_SD2_WP, 182 .wp_gpio = TEGRA_GPIO_SD4_WP,
|
D | board-seaboard.c | 120 .wp_gpio = -1, 126 .wp_gpio = TEGRA_GPIO_SD2_WP, 132 .wp_gpio = -1,
|
D | board-trimslice.c | 64 .wp_gpio = -1, 70 .wp_gpio = TRIMSLICE_GPIO_SD4_WP,
|
/linux-2.6.39/arch/arm/plat-mxc/include/mach/ |
D | esdhc.h | 23 unsigned int wp_gpio; member
|
/linux-2.6.39/arch/arm/mach-tegra/include/mach/ |
D | sdhci.h | 24 int wp_gpio; member
|
/linux-2.6.39/arch/arm/mach-mxs/include/mach/ |
D | mmc.h | 13 int wp_gpio; /* write protect pin */ member
|
/linux-2.6.39/arch/arm/mach-mxs/ |
D | mach-mx28evk.c | 328 .wp_gpio = MX28EVK_MMC0_WRITE_PROTECT, 332 .wp_gpio = MX28EVK_MMC1_WRITE_PROTECT,
|
D | mach-mx23evk.c | 137 .wp_gpio = MX23EVK_MMC0_WRITE_PROTECT,
|
/linux-2.6.39/arch/arm/mach-imx/ |
D | eukrea_mbimxsd25-baseboard.c | 248 .wp_gpio = -EINVAL,
|
/linux-2.6.39/arch/arm/mach-mx3/ |
D | eukrea_mbimxsd-baseboard.c | 263 .wp_gpio = -EINVAL,
|
D | mach-pcm043.c | 355 .wp_gpio = SD1_GPIO_WP,
|