Searched refs:SDHC1_CD (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/arm/mach-imx/
H A Dmach-mx31moboard.c314 #define SDHC1_CD IOMUX_TO_GPIO(MX31_PIN_ATA_CS0) macro
327 ret = gpio_request(SDHC1_CD, "sdhc-detect"); moboard_sdhc1_init()
331 gpio_direction_input(SDHC1_CD); moboard_sdhc1_init()
338 ret = request_irq(gpio_to_irq(SDHC1_CD), detect_irq, moboard_sdhc1_init()
349 gpio_free(SDHC1_CD); moboard_sdhc1_init()
356 free_irq(gpio_to_irq(SDHC1_CD), data); moboard_sdhc1_exit()
358 gpio_free(SDHC1_CD); moboard_sdhc1_exit()

Completed in 49 milliseconds