Searched refs:v_scale (Results 1 – 4 of 4) sorted by relevance
34 static int round_cvb_voltage(int mv, int v_scale, in round_cvb_voltage() argument39 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage()40 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()
439 int v_scale; in vpbe_disp_calculate_scale_factor() local500 v_scale = expected_ysize / pixfmt->height; in vpbe_disp_calculate_scale_factor()501 if (v_scale < 2) in vpbe_disp_calculate_scale_factor()502 v_scale = 1; in vpbe_disp_calculate_scale_factor()503 else if (v_scale >= 4) in vpbe_disp_calculate_scale_factor()504 v_scale = 4; in vpbe_disp_calculate_scale_factor()506 v_scale = 2; in vpbe_disp_calculate_scale_factor()507 cfg->ysize *= v_scale; in vpbe_disp_calculate_scale_factor()519 if (v_scale == 2) in vpbe_disp_calculate_scale_factor()521 else if (v_scale == 4) in vpbe_disp_calculate_scale_factor()
996 int prescale, h_scale, v_scale; in saa717x_set_fmt() local1022 v_scale = 512 * 2 * SAA717X_NTSC_HEIGHT / fmt->height; in saa717x_set_fmt()1037 set_v_scale(sd, 0, v_scale); in saa717x_set_fmt()1038 set_v_scale(sd, 1, v_scale); in saa717x_set_fmt()