Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/mach-imx/
Dmx31moboard-devboard.c49 #define SDHC2_WP IOMUX_TO_GPIO(MX31_PIN_ATA_DIOW) macro
53 return !gpio_get_value(SDHC2_WP); in devboard_sdhc2_get_ro()
67 ret = gpio_request(SDHC2_WP, "sdhc-wp"); in devboard_sdhc2_init()
70 gpio_direction_input(SDHC2_WP); in devboard_sdhc2_init()
81 gpio_free(SDHC2_WP); in devboard_sdhc2_init()
91 gpio_free(SDHC2_WP); in devboard_sdhc2_exit()
Dmx31moboard-marxbot.c48 #define SDHC2_WP IOMUX_TO_GPIO(MX31_PIN_ATA_DIOW) macro
52 return !gpio_get_value(SDHC2_WP); in marxbot_sdhc2_get_ro()
66 ret = gpio_request(SDHC2_WP, "sdhc-wp"); in marxbot_sdhc2_init()
69 gpio_direction_input(SDHC2_WP); in marxbot_sdhc2_init()
80 gpio_free(SDHC2_WP); in marxbot_sdhc2_init()
90 gpio_free(SDHC2_WP); in marxbot_sdhc2_exit()