Searched refs:SDHC2_CD (Results 1 – 2 of 2) sorted by relevance
48 #define SDHC2_CD IOMUX_TO_GPIO(MX31_PIN_ATA_DIOR) macro61 ret = gpio_request(SDHC2_CD, "sdhc-detect"); in devboard_sdhc2_init()65 gpio_direction_input(SDHC2_CD); in devboard_sdhc2_init()72 ret = request_irq(gpio_to_irq(SDHC2_CD), detect_irq, in devboard_sdhc2_init()83 gpio_free(SDHC2_CD); in devboard_sdhc2_init()90 free_irq(gpio_to_irq(SDHC2_CD), data); in devboard_sdhc2_exit()92 gpio_free(SDHC2_CD); in devboard_sdhc2_exit()
47 #define SDHC2_CD IOMUX_TO_GPIO(MX31_PIN_ATA_DIOR) macro60 ret = gpio_request(SDHC2_CD, "sdhc-detect"); in marxbot_sdhc2_init()64 gpio_direction_input(SDHC2_CD); in marxbot_sdhc2_init()71 ret = request_irq(gpio_to_irq(SDHC2_CD), detect_irq, in marxbot_sdhc2_init()82 gpio_free(SDHC2_CD); in marxbot_sdhc2_init()89 free_irq(gpio_to_irq(SDHC2_CD), data); in marxbot_sdhc2_exit()91 gpio_free(SDHC2_CD); in marxbot_sdhc2_exit()