Home
last modified time | relevance | path

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

/drivers/media/v4l2-core/
Dv4l2-dv-timings.c258 u32 htot, vtot; in v4l2_print_dv_timings() local
265 vtot = V4L2_DV_BT_FRAME_HEIGHT(bt); in v4l2_print_dv_timings()
267 vtot /= 2; in v4l2_print_dv_timings()
269 fps = (htot * vtot) > 0 ? div_u64((100 * (u64)bt->pixelclock), in v4l2_print_dv_timings()
270 (htot * vtot)) : 0; in v4l2_print_dv_timings()
277 fps / 100, fps % 100, htot, vtot); in v4l2_print_dv_timings()
/drivers/gpu/drm/gma500/
Dpsb_intel_display.c392 int vtot; in psb_intel_crtc_mode_get() local
401 vtot = REG_READ(map->vtotal); in psb_intel_crtc_mode_get()
407 vtot = p->vtotal; in psb_intel_crtc_mode_get()
420 mode->vdisplay = (vtot & 0xffff) + 1; in psb_intel_crtc_mode_get()
421 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
Dcdv_intel_display.c941 int vtot; in cdv_intel_crtc_mode_get() local
947 vtot = REG_READ(map->vtotal); in cdv_intel_crtc_mode_get()
953 vtot = p->vtotal; in cdv_intel_crtc_mode_get()
966 mode->vdisplay = (vtot & 0xffff) + 1; in cdv_intel_crtc_mode_get()
967 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
/drivers/media/platform/vivid/
Dvivid-core.c868 u32 htot, vtot; in vivid_create_instance() local
874 vtot = V4L2_DV_BT_FRAME_HEIGHT(bt); in vivid_create_instance()
877 (u32)bt->pixelclock / (htot * vtot)); in vivid_create_instance()
/drivers/gpu/drm/i915/
Dintel_display.c10705 int vtot = I915_READ(VTOTAL(cpu_transcoder)); in intel_crtc_mode_get() local
10732 mode->vdisplay = (vtot & 0xffff) + 1; in intel_crtc_mode_get()
10733 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in intel_crtc_mode_get()