Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
Dmeson_overlay.c228 int video_top, video_left, video_width, video_height; in meson_overlay_setup_scaler_params() local
260 video_width = state->crtc_w; in meson_overlay_setup_scaler_params()
268 video_top, video_left, video_width, video_height); in meson_overlay_setup_scaler_params()
270 ratio_x = (w_in << 18) / video_width; in meson_overlay_setup_scaler_params()
273 if (ratio_x * video_width < (w_in << 18)) in meson_overlay_setup_scaler_params()
339 start = video_left + video_width / 2 - ((w_in << 17) / ratio_x); in meson_overlay_setup_scaler_params()
351 video_left + video_width - 1, in meson_overlay_setup_scaler_params()
355 video_left + video_width - 1, in meson_overlay_setup_scaler_params()
364 video_left + video_width - 1)); in meson_overlay_setup_scaler_params()
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
Dzoran_device.c290 static void zr36057_set_vfe(struct zoran *zr, int video_width, int video_height, in zr36057_set_vfe() argument
307 pci_info(zr->pci_dev, "set_vfe() - width = %d, height = %d\n", video_width, video_height); in zr36057_set_vfe()
309 if (video_width < BUZ_MIN_WIDTH || in zr36057_set_vfe()
311 video_width > wa || video_height > ha) { in zr36057_set_vfe()
312 pci_err(zr->pci_dev, "set_vfe: w=%d h=%d not valid\n", video_width, video_height); in zr36057_set_vfe()
319 VidWinWid = video_width; in zr36057_set_vfe()
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/
Dsis.h560 int video_width; member
Dsis_main.c1315 ivideo->video_width = sisbios_mode[ivideo->sisfb_mode_idx].xres; in sisfb_do_set_var()
1323 ivideo->current_width = ivideo->video_width; in sisfb_do_set_var()
6416 ivideo->video_width = sisbios_mode[ivideo->sisfb_mode_idx].xres; in sisfb_probe()
6422 ivideo->video_width, ivideo->video_height, ivideo->video_bpp, in sisfb_probe()
6426 ivideo->default_var.xres = ivideo->default_var.xres_virtual = ivideo->video_width; in sisfb_probe()