Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/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-latest/subsys/sd/
Dsd.c132 bus_io->power_mode = SDHC_POWER_ON; in sd_init_io()
153 bus_io->power_mode = SDHC_POWER_OFF; in sd_init_io()
160 bus_io->power_mode = SDHC_POWER_ON; in sd_init_io()
Dsd_ops.c805 card->bus_io.power_mode = SDHC_POWER_OFF; in card_ioctl()
/Zephyr-latest/drivers/sdhc/
Dsdhc_spi.c100 enum sdhc_power power_mode; member
723 if (data->power_mode != ios->power_mode) { in sdhc_spi_set_io()
724 if (ios->power_mode == SDHC_POWER_ON) { in sdhc_spi_set_io()
752 data->power_mode = ios->power_mode; in sdhc_spi_set_io()
814 data->power_mode = SDHC_POWER_OFF; in sdhc_spi_init()
Dimx_usdhc.c299 ios->power_mode == SDHC_POWER_ON ? "ON" : "OFF", in imx_usdhc_set_io()
382 if ((host_io->power_mode != ios->power_mode) && (cfg->pwr_gpio.port)) { in imx_usdhc_set_io()
383 if (ios->power_mode == SDHC_POWER_OFF) { in imx_usdhc_set_io()
385 } else if (ios->power_mode == SDHC_POWER_ON) { in imx_usdhc_set_io()
388 host_io->power_mode = ios->power_mode; in imx_usdhc_set_io()
1040 data->host_io.power_mode = SDHC_POWER_OFF; in imx_usdhc_init()
Dsdhc_esp32.c83 enum sdhc_power power_mode; member
968 ios->power_mode == SDHC_POWER_ON ? "ON" : "OFF", in sdhc_esp32_set_io()
1021 if ((data->power_mode != ios->power_mode) && (cfg->pwr_gpio.port)) { in sdhc_esp32_set_io()
1022 if (ios->power_mode == SDHC_POWER_OFF) { in sdhc_esp32_set_io()
1024 } else if (ios->power_mode == SDHC_POWER_ON) { in sdhc_esp32_set_io()
1027 data->power_mode = ios->power_mode; in sdhc_esp32_set_io()
1456 .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()
Dsdhc_renesas_ra.c61 enum sdhc_power power_mode; member
682 .power_mode = SDHC_POWER_ON, \
Dmcux_sdif.c155 SDIF_EnableCardPower(config->base, ios->power_mode == SDHC_POWER_ON); in mcux_sdif_set_io()
/Zephyr-latest/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-latest/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-latest/include/zephyr/drivers/
Dsdhc.h213 enum sdhc_power power_mode; /*!< SD power supply mode */ member
/Zephyr-latest/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-latest/drivers/sensor/st/lis2dux12/
Dlis2dux12.c257 .pm = DT_INST_PROP(inst, power_mode), \
/Zephyr-latest/drivers/sensor/st/lis2ds12/
Dlis2ds12.c358 .pm = DT_INST_PROP(inst, power_mode), \
/Zephyr-latest/drivers/sensor/st/iis2dlpc/
Diis2dlpc.c450 .pm = DT_INST_PROP(inst, power_mode), \
/Zephyr-latest/drivers/sensor/st/lis2dw12/
Dlis2dw12.c651 .pm = DT_INST_PROP(inst, power_mode), \
/Zephyr-latest/drivers/sensor/tdk/icm42670/
Dicm42670.c1049 .accel_pwr_mode = DT_INST_ENUM_IDX(inst, power_mode), \