Searched refs:detect_gpio (Results 1 – 1 of 1) sorted by relevance
59 const struct gpio_dt_spec detect_gpio; member155 if (gpio_pin_get_dt(&cfg->detect_gpio)) { in card_detect_gpio_cb()819 } else if (cfg->detect_gpio.port) { in imx_usdhc_get_card_present()820 data->card_present = gpio_pin_get_dt(&cfg->detect_gpio) > 0; in imx_usdhc_get_card_present()859 if (cfg->detect_gpio.port) { in imx_usdhc_enable_interrupt()860 ret = gpio_pin_interrupt_configure_dt(&cfg->detect_gpio, in imx_usdhc_enable_interrupt()878 if (cfg->detect_gpio.port) { in imx_usdhc_enable_interrupt()880 ret = gpio_pin_interrupt_configure_dt(&cfg->detect_gpio, in imx_usdhc_enable_interrupt()894 if (cfg->detect_gpio.port) { in imx_usdhc_enable_interrupt()896 ret = gpio_pin_interrupt_configure_dt(&cfg->detect_gpio, in imx_usdhc_enable_interrupt()[all …]