Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sdhc/
Dsdhc_spi.c94 const struct gpio_dt_spec pwr_gpio; member
725 if (cfg->pwr_gpio.port) { in sdhc_spi_set_io()
726 if (gpio_pin_set_dt(&cfg->pwr_gpio, 1)) { in sdhc_spi_set_io()
745 if (cfg->pwr_gpio.port) { in sdhc_spi_set_io()
746 if (gpio_pin_set_dt(&cfg->pwr_gpio, 0)) { in sdhc_spi_set_io()
804 if (cfg->pwr_gpio.port) { in sdhc_spi_init()
805 if (!gpio_is_ready_dt(&cfg->pwr_gpio)) { in sdhc_spi_init()
808 ret = gpio_pin_configure_dt(&cfg->pwr_gpio, GPIO_OUTPUT_INACTIVE); in sdhc_spi_init()
833 .pwr_gpio = GPIO_DT_SPEC_INST_GET_OR(n, pwr_gpios, {0}), \
Dimx_usdhc.c58 const struct gpio_dt_spec pwr_gpio; member
184 if (cfg->pwr_gpio.port) { in imx_usdhc_dat3_pull()
185 ret = gpio_pin_set_dt(&cfg->pwr_gpio, 0); in imx_usdhc_dat3_pull()
191 ret = gpio_pin_set_dt(&cfg->pwr_gpio, 1); in imx_usdhc_dat3_pull()
382 if ((host_io->power_mode != ios->power_mode) && (cfg->pwr_gpio.port)) { in imx_usdhc_set_io()
384 gpio_pin_set_dt(&cfg->pwr_gpio, 0); in imx_usdhc_set_io()
386 gpio_pin_set_dt(&cfg->pwr_gpio, 1); in imx_usdhc_set_io()
1014 if (cfg->pwr_gpio.port) { in imx_usdhc_init()
1015 ret = gpio_pin_configure_dt(&cfg->pwr_gpio, GPIO_OUTPUT_INACTIVE); in imx_usdhc_init()
1098 .pwr_gpio = GPIO_DT_SPEC_INST_GET_OR(n, pwr_gpios, {0}), \
Dsdhc_esp32.c58 const struct gpio_dt_spec pwr_gpio; member
1021 if ((data->power_mode != ios->power_mode) && (cfg->pwr_gpio.port)) { in sdhc_esp32_set_io()
1023 gpio_pin_set_dt(&cfg->pwr_gpio, 0); in sdhc_esp32_set_io()
1025 gpio_pin_set_dt(&cfg->pwr_gpio, 1); in sdhc_esp32_set_io()
1290 if (cfg->pwr_gpio.port) { in sdhc_esp32_init()
1291 ret = gpio_pin_configure_dt(&cfg->pwr_gpio, GPIO_OUTPUT_ACTIVE); in sdhc_esp32_init()
1422 .pwr_gpio = GPIO_DT_SPEC_INST_GET_OR(n, pwr_gpios, {0}), \