Searched refs:v_scale (Results 1 – 2 of 2) sorted by relevance
25 static int round_cvb_voltage(int mv, int v_scale, in round_cvb_voltage() argument30 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage()31 int offset = align->offset_uv * v_scale; in round_cvb_voltage()
83 static const int v_scale = 1000; in gk20a_volt_calc_voltage() local87 mv = DIV_ROUND_UP(mv, v_scale); in gk20a_volt_calc_voltage()