Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Dscmi-regulator.c89 s32 volt_uV; in scmi_reg_get_voltage_sel() local
92 ret = voltage_ops->level_get(sreg->ph, sreg->id, &volt_uV); in scmi_reg_get_voltage_sel()
96 return sreg->desc.ops->map_voltage(rdev, volt_uV, volt_uV); in scmi_reg_get_voltage_sel()
102 s32 volt_uV; in scmi_reg_set_voltage_sel() local
105 volt_uV = sreg->desc.ops->list_voltage(rdev, selector); in scmi_reg_set_voltage_sel()
106 if (volt_uV <= 0) in scmi_reg_set_voltage_sel()
109 return voltage_ops->level_set(sreg->ph, sreg->id, 0x0, volt_uV); in scmi_reg_set_voltage_sel()
H A Dda9052-regulator.c156 int volt_uV; in da9052_list_voltage() local
160 volt_uV = ((DA9052_BUCK_PERI_REG_MAP_UPTO_3uV * info->step_uV) in da9052_list_voltage()
162 volt_uV += (selector - DA9052_BUCK_PERI_REG_MAP_UPTO_3uV) in da9052_list_voltage()
165 volt_uV = (selector * info->step_uV) + info->min_uV; in da9052_list_voltage()
168 if (volt_uV > info->max_uV) in da9052_list_voltage()
171 return volt_uV; in da9052_list_voltage()
/linux/drivers/firmware/arm_scmi/
H A Dvoltage.c324 s32 volt_uV) in scmi_voltage_level_set() argument
344 cmd->voltage_level = cpu_to_le32(volt_uV); in scmi_voltage_level_set()
371 u32 domain_id, s32 *volt_uV) in scmi_voltage_level_get() argument
374 domain_id, (u32 *)volt_uV); in scmi_voltage_level_get()
/linux/include/linux/
H A Dscmi_protocol.h607 enum scmi_voltage_level_mode mode, s32 volt_uV);
609 s32 *volt_uV);