Searched refs:SDHC2_CD (Results 1 – 2 of 2) sorted by relevance
57 #define SDHC2_CD IOMUX_TO_GPIO(MX31_PIN_ATA_DIOR) macro70 ret = gpio_request(SDHC2_CD, "sdhc-detect"); in devboard_sdhc2_init()74 gpio_direction_input(SDHC2_CD); in devboard_sdhc2_init()81 ret = request_irq(gpio_to_irq(SDHC2_CD), detect_irq, in devboard_sdhc2_init()92 gpio_free(SDHC2_CD); in devboard_sdhc2_init()99 free_irq(gpio_to_irq(SDHC2_CD), data); in devboard_sdhc2_exit()101 gpio_free(SDHC2_CD); in devboard_sdhc2_exit()
56 #define SDHC2_CD IOMUX_TO_GPIO(MX31_PIN_ATA_DIOR) macro69 ret = gpio_request(SDHC2_CD, "sdhc-detect"); in marxbot_sdhc2_init()73 gpio_direction_input(SDHC2_CD); in marxbot_sdhc2_init()80 ret = request_irq(gpio_to_irq(SDHC2_CD), detect_irq, in marxbot_sdhc2_init()91 gpio_free(SDHC2_CD); in marxbot_sdhc2_init()98 free_irq(gpio_to_irq(SDHC2_CD), data); in marxbot_sdhc2_exit()100 gpio_free(SDHC2_CD); in marxbot_sdhc2_exit()