Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/
H A Dpsb_intel_display.c381 int vtot; in psb_intel_crtc_mode_get() local
390 vtot = REG_READ(map->vtotal); in psb_intel_crtc_mode_get()
396 vtot = p->vtotal; in psb_intel_crtc_mode_get()
409 mode->vdisplay = (vtot & 0xffff) + 1; in psb_intel_crtc_mode_get()
410 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
H A Dcdv_intel_display.c928 int vtot; in cdv_intel_crtc_mode_get() local
934 vtot = REG_READ(map->vtotal); in cdv_intel_crtc_mode_get()
940 vtot = p->vtotal; in cdv_intel_crtc_mode_get()
953 mode->vdisplay = (vtot & 0xffff) + 1; in cdv_intel_crtc_mode_get()
954 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/hisilicon/kirin/kirin/
H A Ddw_drm_dsi.c371 int htot, vtot; in dsi_set_mode_timing() local
391 vtot = mode->vtotal; in dsi_set_mode_timing()
422 vtot, vfp, vbp, vsw); in dsi_set_mode_timing()
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dlt7911uxc.c796 u32 htot, vtot; in lt7911uxc_print_dv_timings() local
802 vtot = lt7911uxc->cur_mode->vts_def; in lt7911uxc_print_dv_timings()
804 vtot /= 2; in lt7911uxc_print_dv_timings()
806 fps = (htot * vtot) > 0 ? div_u64((100 * (u64)bt->pixelclock), in lt7911uxc_print_dv_timings()
807 (htot * vtot)) : 0; in lt7911uxc_print_dv_timings()
814 fps / 100, fps % 100, htot, vtot); in lt7911uxc_print_dv_timings()
H A Dov5640.c192 u32 vtot; member
1106 return ov5640_write_reg16(sensor, OV5640_REG_TIMING_VTS, mode->vtot); in ov5640_set_timings()
1552 rate = sensor->current_mode->vtot * sensor->current_mode->htot; in ov5640_calc_pixel_rate()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/hdmirx/
H A Drk_hdmirx.c3956 u32 htot, vtot, fps; in hdmirx_status_show() local
3998 vtot = bt->height + bt->vfrontporch + bt->vsync + bt->vbackporch + in hdmirx_status_show()
4000 vtot /= 2; in hdmirx_status_show()
4002 vtot = bt->height + bt->vfrontporch + bt->vsync + bt->vbackporch; in hdmirx_status_show()
4005 fps = (bt->pixelclock + (htot * vtot) / 2) / (htot * vtot); in hdmirx_status_show()
4045 fps, htot, vtot); in hdmirx_status_show()
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/
H A Dvivid-core.c1237 u32 htot, vtot; in vivid_init_dv_timings() local
1242 vtot = V4L2_DV_BT_FRAME_HEIGHT(bt); in vivid_init_dv_timings()
1245 (u32)bt->pixelclock / (htot * vtot)); in vivid_init_dv_timings()