Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sdhc/
Dsam_hsmci.c69 struct gpio_dt_spec carrier_detect; member
206 if (config->carrier_detect.port != NULL) { in sam_hsmci_init()
207 if (!gpio_is_ready_dt(&config->carrier_detect)) { in sam_hsmci_init()
211 ret = gpio_pin_configure_dt(&config->carrier_detect, GPIO_INPUT); in sam_hsmci_init()
239 if (config->carrier_detect.port == NULL) { in sam_hsmci_get_card_present()
243 return gpio_pin_get_dt(&config->carrier_detect); in sam_hsmci_get_card_present()
678 .carrier_detect = GPIO_DT_SPEC_INST_GET_OR(N, cd_gpios, {0})}; \