Lines Matching refs:uV
204 int uV; member
216 int uV; member
780 new_uV = corner->uV; in cpr_set_performance_state()
829 int step_size_uV, steps, uV; in cpr_read_fuse_uV() local
844 uV = fdata->ref_uV + steps * step_size_uV; in cpr_read_fuse_uV()
845 return DIV_ROUND_UP(uV, step_volt) * step_volt; in cpr_read_fuse_uV()
857 int uV; in cpr_fuse_corner_init() local
882 uV = cpr_read_fuse_uV(desc, fdata, fuses->init_voltage, in cpr_fuse_corner_init()
884 if (uV < 0) in cpr_fuse_corner_init()
885 return uV; in cpr_fuse_corner_init()
889 fuse->uV = clamp(uV, fuse->min_uV, fuse->max_uV); in cpr_fuse_corner_init()
898 end->max_uV = max(end->max_uV, end->uV); in cpr_fuse_corner_init()
922 if (fuse->uV > fuse->max_uV) in cpr_fuse_corner_init()
923 fuse->uV = fuse->max_uV; in cpr_fuse_corner_init()
924 else if (fuse->uV < fuse->min_uV) in cpr_fuse_corner_init()
925 fuse->uV = fuse->min_uV; in cpr_fuse_corner_init()
949 i, fuse->min_uV, fuse->uV, fuse->max_uV, in cpr_fuse_corner_init()
991 int uV_high, uV_low, uV; in cpr_interpolate() local
1000 uV_high = fuse->uV; in cpr_interpolate()
1001 uV_low = prev_fuse->uV; in cpr_interpolate()
1010 return corner->uV; in cpr_interpolate()
1022 uV = uV_high - min(temp, temp_limit); in cpr_interpolate()
1023 return roundup(uV, step_volt); in cpr_interpolate()
1186 corner->uV = fuse->uV; in cpr_corner_init()
1205 corner->uV = cpr_interpolate(corner, step_volt, fdata); in cpr_corner_init()
1210 corner->uV = clamp(corner->uV, corner->min_uV, corner->max_uV); in cpr_corner_init()
1211 corner->last_uV = corner->uV; in cpr_corner_init()
1214 if (desc->reduce_to_corner_uV && corner->uV < corner->max_uV) in cpr_corner_init()
1215 corner->max_uV = corner->uV; in cpr_corner_init()
1216 else if (desc->reduce_to_fuse_uV && fuse->uV < corner->max_uV) in cpr_corner_init()
1217 corner->max_uV = max(corner->min_uV, fuse->uV); in cpr_corner_init()
1220 corner->min_uV, corner->uV, corner->max_uV, in cpr_corner_init()