Searched refs:cd (Results 1 – 3 of 3) sorted by relevance
86 struct gpio_dt_spec cd; member634 if (!priv->cd.port) { in stm32_sdmmc_card_present()638 err = gpio_pin_get_dt(&priv->cd); in stm32_sdmmc_card_present()677 if (!priv->cd.port) { in stm32_sdmmc_card_detect_init()681 if (!gpio_is_ready_dt(&priv->cd)) { in stm32_sdmmc_card_detect_init()686 1 << priv->cd.pin); in stm32_sdmmc_card_detect_init()693 err = gpio_pin_configure_dt(&priv->cd, GPIO_INPUT); in stm32_sdmmc_card_detect_init()707 gpio_remove_callback(priv->cd.port, &priv->cd_cb); in stm32_sdmmc_card_detect_init()713 if (!priv->cd.port) { in stm32_sdmmc_card_detect_uninit()719 gpio_remove_callback(priv->cd.port, &priv->cd_cb); in stm32_sdmmc_card_detect_uninit()[all …]
105 const struct mec5_spi_devices *cd = &devcfg->child_devices[n]; in get_cs_timing_from_dt() local107 if (cd->cs == cs) { in get_cs_timing_from_dt()108 *cstm = cd->cs_timing; in get_cs_timing_from_dt()129 const struct mec5_spi_devices *cd = &devcfg->child_devices[n]; in get_taps_from_dt() local131 if (cd->cs == cs) { in get_taps_from_dt()132 *taps = (uint32_t)cd->sck_tap | ((uint32_t)cd->ctrl_tap << 8); in get_taps_from_dt()
3 # Copyright (c) 2024 Charles Dias <charlesdias.cd@outlook.com>
Completed in 12 milliseconds