Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/clk/tegra/
Dcvb.c25 static int round_cvb_voltage(int mv, int v_scale, in round_cvb_voltage() argument
30 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage()
31 int offset = align->offset_uv * v_scale; in round_cvb_voltage()
/Linux-v5.10/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-v5.10/drivers/media/platform/davinci/
Dvpbe_display.c426 int v_scale; in vpbe_disp_calculate_scale_factor() local
487 v_scale = expected_ysize / pixfmt->height; in vpbe_disp_calculate_scale_factor()
488 if (v_scale < 2) in vpbe_disp_calculate_scale_factor()
489 v_scale = 1; in vpbe_disp_calculate_scale_factor()
490 else if (v_scale >= 4) in vpbe_disp_calculate_scale_factor()
491 v_scale = 4; in vpbe_disp_calculate_scale_factor()
493 v_scale = 2; in vpbe_disp_calculate_scale_factor()
494 cfg->ysize *= v_scale; in vpbe_disp_calculate_scale_factor()
506 if (v_scale == 2) in vpbe_disp_calculate_scale_factor()
508 else if (v_scale == 4) in vpbe_disp_calculate_scale_factor()
/Linux-v5.10/drivers/media/i2c/
Dsaa717x.c987 int prescale, h_scale, v_scale; in saa717x_set_fmt() local
1013 v_scale = 512 * 2 * SAA717X_NTSC_HEIGHT / fmt->height; in saa717x_set_fmt()
1028 set_v_scale(sd, 0, v_scale); in saa717x_set_fmt()
1029 set_v_scale(sd, 1, v_scale); in saa717x_set_fmt()