Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/plat-stm32mp1/drivers/
H A Dstm32mp1_pmic.c157 struct regu_lp_config *regu_cfg = NULL; in dt_get_regu_low_power_config() local
165 regu_cfg = &state->cfg[state->cfg_count - 1]; in dt_get_regu_low_power_config()
167 memset(regu_cfg, 0, sizeof(*regu_cfg)); in dt_get_regu_low_power_config()
170 if (stpmic1_lp_cfg(regu_name, &regu_cfg->cfg)) { in dt_get_regu_low_power_config()
179 regu_cfg->flags |= REGU_LP_FLAG_LOAD_PWRCTRL; in dt_get_regu_low_power_config()
189 regu_cfg->flags |= REGU_LP_FLAG_ON_IN_SUSPEND; in dt_get_regu_low_power_config()
193 regu_cfg->flags |= REGU_LP_FLAG_OFF_IN_SUSPEND; in dt_get_regu_low_power_config()
200 if (stpmic1_lp_voltage_cfg(regu_name, mv, &regu_cfg->cfg)) { in dt_get_regu_low_power_config()
204 regu_cfg->flags |= REGU_LP_FLAG_SET_VOLTAGE; in dt_get_regu_low_power_config()
210 regu_cfg->flags |= REGU_LP_FLAG_MODE_STANDBY; in dt_get_regu_low_power_config()