Searched refs:voltage_index (Results 1 – 1 of 1) sorted by relevance
678 size_t voltage_index = voltage_to_index(name, millivolts); in stpmic1_regulator_voltage_set() local682 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() local925 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() local947 assert(voltage_index != VOLTAGE_INDEX_INVALID && in stpmic1_lp_voltage_cfg()950 cfg->value = voltage_index << 2; in stpmic1_lp_voltage_cfg()