Home
last modified time | relevance | path

Searched refs:vtot (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c301 u32 htot, vtot; in v4l2_print_dv_timings() local
308 vtot = V4L2_DV_BT_FRAME_HEIGHT(bt); in v4l2_print_dv_timings()
310 vtot /= 2; in v4l2_print_dv_timings()
312 fps = (htot * vtot) > 0 ? div_u64((100 * (u64)bt->pixelclock), in v4l2_print_dv_timings()
313 (htot * vtot)) : 0; in v4l2_print_dv_timings()
320 fps / 100, fps % 100, htot, vtot); in v4l2_print_dv_timings()
412 u32 htot, vtot, fps; in v4l2_calc_timeperframe() local
419 vtot = V4L2_DV_BT_FRAME_HEIGHT(bt); in v4l2_calc_timeperframe()
426 fps = (htot * vtot) > 0 ? div_u64((100 * pclk), (htot * vtot)) : 0; in v4l2_calc_timeperframe()
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_display.c387 int vtot; in psb_intel_crtc_mode_get() local
396 vtot = REG_READ(map->vtotal); in psb_intel_crtc_mode_get()
402 vtot = p->vtotal; in psb_intel_crtc_mode_get()
415 mode->vdisplay = (vtot & 0xffff) + 1; in psb_intel_crtc_mode_get()
416 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
H A Dcdv_intel_display.c925 int vtot; in cdv_intel_crtc_mode_get() local
931 vtot = REG_READ(map->vtotal); in cdv_intel_crtc_mode_get()
937 vtot = p->vtotal; in cdv_intel_crtc_mode_get()
950 mode->vdisplay = (vtot & 0xffff) + 1; in cdv_intel_crtc_mode_get()
951 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
/openbmc/linux/drivers/gpu/drm/hisilicon/kirin/
H A Ddw_drm_dsi.c458 int htot, vtot; in dsi_set_mode_timing() local
478 vtot = mode->vtotal; in dsi_set_mode_timing()
509 vtot, vfp, vbp, vsw); in dsi_set_mode_timing()
/openbmc/linux/drivers/media/i2c/
H A Dtda1997x.c1105 u16 vtot, vact, vfront1, vfront2, vsync, vback1, vback2; in tda1997x_detect_std() local
1127 vtot = io_read16(sd, REG_FMT_V_TOT); in tda1997x_detect_std()
1137 vtot, vact, vfront1, vfront2, vsync, vback1, vback2, vsync_pos ? '+' : '-'); in tda1997x_detect_std()
1155 timings->bt.pixelclock = (u64)htot * vtot * 27000000; in tda1997x_detect_std()
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-core.c1277 u32 htot, vtot; in vivid_init_dv_timings() local
1282 vtot = V4L2_DV_BT_FRAME_HEIGHT(bt); in vivid_init_dv_timings()
1285 (u32)bt->pixelclock / (htot * vtot)); in vivid_init_dv_timings()