Lines Matching refs:error_steps
462 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()
546 if (error_steps > desc->vdd_apc_step_down_limit) in cpr_scale()
547 error_steps = desc->vdd_apc_step_down_limit; in cpr_scale()
550 new_uV = last_uV - error_steps * step_uV; in cpr_scale()
1558 u32 gcnt, ro_sel, ctl, irq_status, reg, error_steps; in cpr_debug_info_show() local
1589 error_steps = (reg >> RBCPR_RESULT0_ERROR_STEPS_SHIFT) in cpr_debug_info_show()
1591 seq_printf(s, ", error_steps = %u", error_steps); in cpr_debug_info_show()