Lines Matching refs:fdata

824 			    const struct fuse_corner_data *fdata,  in cpr_read_fuse_uV()  argument
844 uV = fdata->ref_uV + steps * step_size_uV; in cpr_read_fuse_uV()
855 struct fuse_corner_data *fdata; in cpr_fuse_corner_init() local
870 fdata = desc->cpr_fuses.fuse_corner_data; in cpr_fuse_corner_init()
872 for (i = 0; fuse <= end; fuse++, fuses++, i++, fdata++) { in cpr_fuse_corner_init()
878 fdata->min_uV = roundup(fdata->min_uV, step_volt); in cpr_fuse_corner_init()
879 fdata->max_uV = roundup(fdata->max_uV, step_volt); in cpr_fuse_corner_init()
882 uV = cpr_read_fuse_uV(desc, fdata, fuses->init_voltage, in cpr_fuse_corner_init()
887 fuse->min_uV = fdata->min_uV; in cpr_fuse_corner_init()
888 fuse->max_uV = fdata->max_uV; in cpr_fuse_corner_init()
906 fuse->quot *= fdata->quot_scale; in cpr_fuse_corner_init()
907 fuse->quot += fdata->quot_offset; in cpr_fuse_corner_init()
908 fuse->quot += fdata->quot_adjust; in cpr_fuse_corner_init()
958 const struct fuse_corner_data *fdata, in cpr_calculate_scaling() argument
975 quot_diff *= fdata->quot_offset_scale; in cpr_calculate_scaling()
976 quot_diff += fdata->quot_offset_adjust; in cpr_calculate_scaling()
984 return min(scaling, fdata->max_quot_scale); in cpr_calculate_scaling()
988 const struct fuse_corner_data *fdata) in cpr_interpolate() argument
1019 temp_limit = f_diff * fdata->max_volt_scale; in cpr_interpolate()
1086 const struct fuse_corner_data *fdata; in cpr_corner_init() local
1176 fdata = &desc->cpr_fuses.fuse_corner_data[fnum]; in cpr_corner_init()
1190 fdata, corner); in cpr_corner_init()
1205 corner->uV = cpr_interpolate(corner, step_volt, fdata); in cpr_corner_init()