Searched refs:step_uv (Results 1 – 4 of 4) sorted by relevance
30 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage()34 uv = DIV_ROUND_UP(uv, step) * align->step_uv + align->offset_uv; in round_cvb_voltage()45 if (align->step_uv) { in round_voltage()49 uv = (uv + (up ? align->step_uv - 1 : 0)) / align->step_uv; in round_voltage()50 return (uv * align->step_uv + align->offset_uv) / 1000; in round_voltage()
528 &align->step_uv)) in get_alignment_from_dt()529 align->step_uv = 0; in get_alignment_from_dt()546 align->step_uv = regulator_get_linear_step(reg); in get_alignment_from_regulator()
766 int vstep = td->soc->alignment.step_uv; in dfll_init_out_if()805 align_step = dev_pm_opp_get_voltage(opp) / td->soc->alignment.step_uv; in find_lut_index_for_rate()809 if ((td->lut_uv[i] / td->soc->alignment.step_uv) >= align_step) in find_lut_index_for_rate()1591 align_step = uV / td->soc->alignment.step_uv; in find_vdd_map_entry_exact()1598 reg_volt_id = reg_uV / td->soc->alignment.step_uv; in find_vdd_map_entry_exact()1619 align_step = uV / td->soc->alignment.step_uv; in find_vdd_map_entry_min()1626 reg_volt_id = reg_uV / td->soc->alignment.step_uv; in find_vdd_map_entry_min()1851 if (!td->soc->alignment.step_uv || !td->soc->alignment.offset_uv) { in dfll_fetch_pwm_params()1858 i * td->soc->alignment.step_uv; in dfll_fetch_pwm_params()
17 int step_uv; member