Home
last modified time | relevance | path

Searched refs:SDHC2_CD (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/arm/mach-imx/
Dmx31moboard-devboard.c57 #define SDHC2_CD IOMUX_TO_GPIO(MX31_PIN_ATA_DIOR) macro
70 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()
Dmx31moboard-marxbot.c56 #define SDHC2_CD IOMUX_TO_GPIO(MX31_PIN_ATA_DIOR) macro
69 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()