Home
last modified time | relevance | path

Searched refs:v_scale (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/clk/tegra/
Dcvb.c34 static int round_cvb_voltage(int mv, int v_scale, in round_cvb_voltage() argument
39 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage()
40 int offset = align->offset_uv * v_scale; in round_cvb_voltage()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
Dgk20a.c83 static const int v_scale = 1000; in gk20a_volt_calc_voltage() local
87 mv = DIV_ROUND_UP(mv, v_scale); in gk20a_volt_calc_voltage()
/Linux-v4.19/drivers/media/platform/davinci/
Dvpbe_display.c439 int v_scale; in vpbe_disp_calculate_scale_factor() local
500 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()
/Linux-v4.19/drivers/media/i2c/
Dsaa717x.c996 int prescale, h_scale, v_scale; in saa717x_set_fmt() local
1022 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()