Searched refs:SDHC2_WP (Results 1 – 2 of 2) sorted by relevance
49 #define SDHC2_WP IOMUX_TO_GPIO(MX31_PIN_ATA_DIOW) macro53 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()
48 #define SDHC2_WP IOMUX_TO_GPIO(MX31_PIN_ATA_DIOW) macro52 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()