Home
last modified time | relevance | path

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

/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()
/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_display.c388 int vtot; in psb_intel_crtc_mode_get() local
397 vtot = REG_READ(map->vtotal); in psb_intel_crtc_mode_get()
403 vtot = p->vtotal; in psb_intel_crtc_mode_get()
416 mode->vdisplay = (vtot & 0xffff) + 1; in psb_intel_crtc_mode_get()
417 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
H A Dcdv_intel_display.c926 int vtot; in cdv_intel_crtc_mode_get() local
932 vtot = REG_READ(map->vtotal); in cdv_intel_crtc_mode_get()
938 vtot = p->vtotal; in cdv_intel_crtc_mode_get()
951 mode->vdisplay = (vtot & 0xffff) + 1; in cdv_intel_crtc_mode_get()
952 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
/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()
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-core.c1321 u32 htot, vtot; in vivid_init_dv_timings() local
1326 vtot = V4L2_DV_BT_FRAME_HEIGHT(bt); in vivid_init_dv_timings()
1329 (u32)bt->pixelclock / (htot * vtot)); in vivid_init_dv_timings()