Lines Matching refs:uv
123 u32 uv; member
189 gm20b_dvfs_calc_det_coeff(struct gm20b_clk *clk, s32 uv, in gm20b_dvfs_calc_det_coeff() argument
196 s32 mv = DIV_ROUND_CLOSEST(uv, 1000); in gm20b_dvfs_calc_det_coeff()
203 dvfs->dfs_ext_cal = DIV_ROUND_CLOSEST(uv - clk->uvdet_offs, in gm20b_dvfs_calc_det_coeff()
212 __func__, uv, dvfs->dfs_coeff, dvfs->dfs_ext_cal, in gm20b_dvfs_calc_det_coeff()
234 det_delta = DIV_ROUND_CLOSEST(((s32)clk->uv) - clk->uvdet_offs, in gm20b_dvfs_calc_ndiv()
476 clk->new_uv = volt->vid[cstate->voltage].uv; in gm20b_clk_calc()
579 if (clk->uv == clk->new_uv) in gm20b_clk_prog()
605 if (clk->uv < clk->new_uv) in gm20b_clk_prog()
630 clk->uv = clk->new_uv; in gm20b_clk_prog()
791 clk->uvdet_offs = ((s32)clk->uv) - data * ADC_SLOPE_UV; in gm20b_clk_init_dvfs()
798 gm20b_dvfs_calc_det_coeff(clk, clk->uv, &clk->dvfs); in gm20b_clk_init_dvfs()
856 _clk->uv = nvkm_volt_get(volt); in gm20b_clk_init()
990 vmin = volt->vid[0].uv; in gm20b_clk_init_safe_fmax()
992 if (volt->vid[i].uv <= vmin) { in gm20b_clk_init_safe_fmax()
993 vmin = volt->vid[i].uv; in gm20b_clk_init_safe_fmax()