Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pmdomain/qcom/
Dcpr.c462 u32 val, error_steps, reg_mask; in cpr_scale() local
478 error_steps = val >> RBCPR_RESULT0_ERROR_STEPS_SHIFT; in cpr_scale()
479 error_steps &= RBCPR_RESULT0_ERROR_STEPS_MASK; in cpr_scale()
484 error_steps < desc->up_threshold) { in cpr_scale()
490 error_steps = max(desc->up_threshold, in cpr_scale()
509 if (error_steps > desc->vdd_apc_step_up_limit) in cpr_scale()
510 error_steps = desc->vdd_apc_step_up_limit; in cpr_scale()
513 new_uV = last_uV + error_steps * step_uV; in cpr_scale()
521 error_steps < desc->down_threshold) { in cpr_scale()
527 error_steps = max(desc->down_threshold, in cpr_scale()
[all …]