Home
last modified time | relevance | path

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

/optee_os/core/drivers/
H A Dstpmic1.c678 size_t voltage_index = voltage_to_index(name, millivolts); in stpmic1_regulator_voltage_set() local
682 if (voltage_index == VOLTAGE_INDEX_INVALID) in stpmic1_regulator_voltage_set()
690 voltage_index << LDO_BUCK_VOLTAGE_SHIFT, in stpmic1_regulator_voltage_set()
921 size_t voltage_index = voltage_to_index(name, millivolts); in stpmic1_lp_set_voltage() local
925 assert(voltage_index != VOLTAGE_INDEX_INVALID); in stpmic1_lp_set_voltage()
931 return stpmic1_register_update(regul->low_power_reg, voltage_index << 2, in stpmic1_lp_set_voltage()
940 size_t voltage_index = voltage_to_index(name, millivolts); in stpmic1_lp_voltage_cfg() local
947 assert(voltage_index != VOLTAGE_INDEX_INVALID && in stpmic1_lp_voltage_cfg()
950 cfg->value = voltage_index << 2; in stpmic1_lp_voltage_cfg()