Home
last modified time | relevance | path

Searched refs:SDHC2_WP (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/arch/arm/mach-imx/
Dmx31moboard-devboard.c57 #define SDHC2_WP IOMUX_TO_GPIO(MX31_PIN_ATA_DIOW) macro
61 return !gpio_get_value(SDHC2_WP); in devboard_sdhc2_get_ro()
75 ret = gpio_request(SDHC2_WP, "sdhc-wp"); in devboard_sdhc2_init()
78 gpio_direction_input(SDHC2_WP); in devboard_sdhc2_init()
89 gpio_free(SDHC2_WP); in devboard_sdhc2_init()
99 gpio_free(SDHC2_WP); in devboard_sdhc2_exit()
Dmx31moboard-marxbot.c69 #define SDHC2_WP IOMUX_TO_GPIO(MX31_PIN_ATA_DIOW) macro
73 return !gpio_get_value(SDHC2_WP); in marxbot_sdhc2_get_ro()
87 ret = gpio_request(SDHC2_WP, "sdhc-wp"); in marxbot_sdhc2_init()
90 gpio_direction_input(SDHC2_WP); in marxbot_sdhc2_init()
101 gpio_free(SDHC2_WP); in marxbot_sdhc2_init()
111 gpio_free(SDHC2_WP); in marxbot_sdhc2_exit()