Searched refs:SDHC2_WP (Results 1 – 2 of 2) sorted by relevance
57 #define SDHC2_WP IOMUX_TO_GPIO(MX31_PIN_ATA_DIOW) macro61 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()
69 #define SDHC2_WP IOMUX_TO_GPIO(MX31_PIN_ATA_DIOW) macro73 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()