Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/v4l2-core/
Dv4l2-dv-timings.c279 u32 htot, vtot; in v4l2_print_dv_timings() local
286 vtot = V4L2_DV_BT_FRAME_HEIGHT(bt); in v4l2_print_dv_timings()
288 vtot /= 2; in v4l2_print_dv_timings()
290 fps = (htot * vtot) > 0 ? div_u64((100 * (u64)bt->pixelclock), in v4l2_print_dv_timings()
291 (htot * vtot)) : 0; in v4l2_print_dv_timings()
298 fps / 100, fps % 100, htot, vtot); in v4l2_print_dv_timings()
390 u32 htot, vtot, fps; in v4l2_calc_timeperframe() local
397 vtot = V4L2_DV_BT_FRAME_HEIGHT(bt); in v4l2_calc_timeperframe()
404 fps = (htot * vtot) > 0 ? div_u64((100 * pclk), (htot * vtot)) : 0; in v4l2_calc_timeperframe()
/linux-5.19.10/drivers/gpu/drm/gma500/
Dpsb_intel_display.c386 int vtot; in psb_intel_crtc_mode_get() local
395 vtot = REG_READ(map->vtotal); in psb_intel_crtc_mode_get()
401 vtot = p->vtotal; in psb_intel_crtc_mode_get()
414 mode->vdisplay = (vtot & 0xffff) + 1; in psb_intel_crtc_mode_get()
415 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
Dcdv_intel_display.c924 int vtot; in cdv_intel_crtc_mode_get() local
930 vtot = REG_READ(map->vtotal); in cdv_intel_crtc_mode_get()
936 vtot = p->vtotal; in cdv_intel_crtc_mode_get()
949 mode->vdisplay = (vtot & 0xffff) + 1; in cdv_intel_crtc_mode_get()
950 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
/linux-5.19.10/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c457 int htot, vtot; in dsi_set_mode_timing() local
477 vtot = mode->vtotal; in dsi_set_mode_timing()
508 vtot, vfp, vbp, vsw); in dsi_set_mode_timing()
/linux-5.19.10/drivers/media/i2c/
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()
Dov5640.c195 u32 vtot; member
1132 return ov5640_write_reg16(sensor, OV5640_REG_TIMING_VTS, mode->vtot); in ov5640_set_timings()
1578 rate = sensor->current_mode->vtot * sensor->current_mode->htot; in ov5640_calc_pixel_rate()
/linux-5.19.10/drivers/media/test-drivers/vivid/
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()