Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/mach-imx/
Dmx31moboard-devboard.c48 #define SDHC2_CD IOMUX_TO_GPIO(MX31_PIN_ATA_DIOR) macro
61 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()
Dmx31moboard-marxbot.c47 #define SDHC2_CD IOMUX_TO_GPIO(MX31_PIN_ATA_DIOR) macro
60 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()