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

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

Completed in 131 milliseconds