Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/soc/riscv/riscv-privileged/telink_b91/
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.5.0/tests/drivers/sdhc/src/
Dmain.c59 io.power_mode = SDHC_POWER_ON; in ZTEST()
102 io.power_mode = SDHC_POWER_OFF; in ZTEST()
106 io.power_mode = SDHC_POWER_ON; in ZTEST()
/Zephyr-Core-3.5.0/drivers/sdhc/
Dsdhc_spi.c89 enum sdhc_power power_mode; member
674 if (data->power_mode != ios->power_mode) { in sdhc_spi_set_io()
675 if (ios->power_mode == SDHC_POWER_ON) { in sdhc_spi_set_io()
684 if (ios->power_mode == SDHC_POWER_ON) { in sdhc_spi_set_io()
694 data->power_mode = ios->power_mode; in sdhc_spi_set_io()
756 data->power_mode = SDHC_POWER_OFF; in sdhc_spi_init()
Dimx_usdhc.c252 ios->power_mode == SDHC_POWER_ON ? "ON" : "OFF", in imx_usdhc_set_io()
335 if ((host_io->power_mode != ios->power_mode) && (cfg->pwr_gpio.port)) { in imx_usdhc_set_io()
336 if (host_io->power_mode == SDHC_POWER_ON) { in imx_usdhc_set_io()
341 if (ios->power_mode == SDHC_POWER_OFF) { in imx_usdhc_set_io()
343 } else if (ios->power_mode == SDHC_POWER_ON) { in imx_usdhc_set_io()
347 host_io->power_mode = ios->power_mode; in imx_usdhc_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.5.0/subsys/sd/
Dsd.c127 bus_io->power_mode = SDHC_POWER_ON; in sd_init_io()
148 bus_io->power_mode = SDHC_POWER_OFF; in sd_init_io()
155 bus_io->power_mode = SDHC_POWER_ON; in sd_init_io()
/Zephyr-Core-3.5.0/drivers/sensor/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.5.0/include/zephyr/drivers/
Dsdhc.h211 enum sdhc_power power_mode; /*!< SD power supply mode */ member
/Zephyr-Core-3.5.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.5.0/drivers/sensor/lis2ds12/
Dlis2ds12.c357 .pm = DT_INST_PROP(inst, power_mode), \
/Zephyr-Core-3.5.0/drivers/sensor/iis2dlpc/
Diis2dlpc.c451 .pm = DT_INST_PROP(inst, power_mode), \
/Zephyr-Core-3.5.0/drivers/sensor/lis2dw12/
Dlis2dw12.c533 .pm = DT_INST_PROP(inst, power_mode), \