Searched refs:volt_uV (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/regulator/ |
D | scmi-regulator.c | 89 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()
|
D | da9052-regulator.c | 156 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-5.19.10/drivers/firmware/arm_scmi/ |
D | voltage.c | 319 s32 volt_uV) in scmi_voltage_level_set() argument 339 cmd->voltage_level = cpu_to_le32(volt_uV); in scmi_voltage_level_set() 366 u32 domain_id, s32 *volt_uV) in scmi_voltage_level_get() argument 369 domain_id, (u32 *)volt_uV); in scmi_voltage_level_get()
|
/linux-5.19.10/include/linux/ |
D | scmi_protocol.h | 558 enum scmi_voltage_level_mode mode, s32 volt_uV); 560 s32 *volt_uV);
|