Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/soc/telink/tlsr/tlsr951x/
Dsoc.c40 #if DT_ENUM_IDX(DT_NODELABEL(power), power_mode) == 0
42 #elif DT_ENUM_IDX(DT_NODELABEL(power), power_mode) == 1
44 #elif DT_ENUM_IDX(DT_NODELABEL(power), power_mode) == 2
/Zephyr-Core-3.7.0/tests/drivers/sdhc/src/
Dmain.c30 io.power_mode = SDHC_POWER_ON; in sdhc_power_on()
86 io.power_mode = SDHC_POWER_ON; in ZTEST()
153 io.power_mode = SDHC_POWER_OFF; in ZTEST()
157 io.power_mode = SDHC_POWER_ON; in ZTEST()
/Zephyr-Core-3.7.0/drivers/sdhc/
Dsdhc_spi.c89 enum sdhc_power power_mode; member
690 if (data->power_mode != ios->power_mode) { in sdhc_spi_set_io()
691 if (ios->power_mode == SDHC_POWER_ON) { in sdhc_spi_set_io()
700 if (ios->power_mode == SDHC_POWER_ON) { in sdhc_spi_set_io()
710 data->power_mode = ios->power_mode; in sdhc_spi_set_io()
772 data->power_mode = SDHC_POWER_OFF; in sdhc_spi_init()
Dimx_usdhc.c298 ios->power_mode == SDHC_POWER_ON ? "ON" : "OFF", in imx_usdhc_set_io()
381 if ((host_io->power_mode != ios->power_mode) && (cfg->pwr_gpio.port)) { in imx_usdhc_set_io()
382 if (ios->power_mode == SDHC_POWER_OFF) { in imx_usdhc_set_io()
384 } else if (ios->power_mode == SDHC_POWER_ON) { in imx_usdhc_set_io()
387 host_io->power_mode = ios->power_mode; in imx_usdhc_set_io()
1031 data->host_io.power_mode = SDHC_POWER_OFF; in imx_usdhc_init()
Dsdhc_esp32.c78 enum sdhc_power power_mode; member
974 ios->power_mode == SDHC_POWER_ON ? "ON" : "OFF", in sdhc_esp32_set_io()
1027 if ((data->power_mode != ios->power_mode) && (cfg->pwr_gpio.port)) { in sdhc_esp32_set_io()
1028 if (ios->power_mode == SDHC_POWER_OFF) { in sdhc_esp32_set_io()
1030 } else if (ios->power_mode == SDHC_POWER_ON) { in sdhc_esp32_set_io()
1033 data->power_mode = ios->power_mode; in sdhc_esp32_set_io()
1447 .power_mode = SDHC_POWER_ON, \
Drcar_mmc.c331 data->host_io.power_mode = ios.power_mode; in rcar_mmc_reset()
1404 ios->bus_width, ios->clock, ios->power_mode == SDHC_POWER_ON ? "ON" : "OFF", in rcar_mmc_set_io()
1459 if (ios->power_mode && host_io->power_mode != ios->power_mode) { in rcar_mmc_set_io()
1462 switch (ios->power_mode) { in rcar_mmc_set_io()
1497 LOG_ERR("SDHC I/O: not supported power mode %d", ios->power_mode); in rcar_mmc_set_io()
1504 host_io->power_mode = ios->power_mode; in rcar_mmc_set_io()
Dintel_emmc_host.c1015 ios->clock, ios->power_mode == SDHC_POWER_ON ? "ON" : "OFF", in emmc_set_io()
1067 if (host_io->power_mode != ios->power_mode) { in emmc_set_io()
1068 LOG_DBG("power_mode: %d", ios->power_mode); in emmc_set_io()
1070 ret = emmc_set_power(dev, ios->power_mode); in emmc_set_io()
1075 host_io->power_mode = ios->power_mode; in emmc_set_io()
Dmcux_sdif.c155 SDIF_EnableCardPower(config->base, ios->power_mode == SDHC_POWER_ON); in mcux_sdif_set_io()
/Zephyr-Core-3.7.0/subsys/sd/
Dsd.c130 bus_io->power_mode = SDHC_POWER_ON; in sd_init_io()
151 bus_io->power_mode = SDHC_POWER_OFF; in sd_init_io()
158 bus_io->power_mode = SDHC_POWER_ON; in sd_init_io()
/Zephyr-Core-3.7.0/drivers/sensor/nxp/fxos8700/
Dfxos8700.c607 config->power_mode)) { in fxos8700_init()
741 .power_mode = DT_INST_PROP(n, power_mode), \
749 .power_mode = DT_INST_PROP(n, power_mode), \
Dfxos8700.h171 enum fxos8700_power_mode power_mode; member
/Zephyr-Core-3.7.0/drivers/adc/
Dadc_mcux_gau_adc.c27 adc_analog_portion_power_mode_t power_mode; member
321 adc_config.powerMode = config->power_mode; in mcux_gau_adc_init()
373 .power_mode = DT_INST_ENUM_IDX(n, nxp_power_mode), \
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2dux12/
Dlis2dux12.c412 .pm = DT_INST_PROP(inst, power_mode), \
430 .pm = DT_INST_PROP(inst, power_mode), \
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dsdhc.h213 enum sdhc_power power_mode; /*!< SD power supply mode */ member
/Zephyr-Core-3.7.0/drivers/ieee802154/
Dieee802154_mcr20a.c1231 uint8_t power_mode; in mcr20a_stop() local
1248 power_mode = MCR20A_PM_DOZE; in mcr20a_stop()
1250 power_mode = MCR20A_PM_HIBERNATE; in mcr20a_stop()
1253 if (!write_reg_pwr_modes(dev, power_mode)) { in mcr20a_stop()
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2ds12/
Dlis2ds12.c359 .pm = DT_INST_PROP(inst, power_mode), \
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2dlpc/
Diis2dlpc.c451 .pm = DT_INST_PROP(inst, power_mode), \
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2dw12/
Dlis2dw12.c548 .pm = DT_INST_PROP(inst, power_mode), \