Searched refs:vtot (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/drivers/media/v4l2-core/ |
| D | v4l2-dv-timings.c | 279 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-v5.4/drivers/gpu/drm/gma500/ |
| D | psb_intel_display.c | 381 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()
|
| D | cdv_intel_display.c | 929 int vtot; in cdv_intel_crtc_mode_get() local 935 vtot = REG_READ(map->vtotal); in cdv_intel_crtc_mode_get() 941 vtot = p->vtotal; in cdv_intel_crtc_mode_get() 954 mode->vdisplay = (vtot & 0xffff) + 1; in cdv_intel_crtc_mode_get() 955 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
|
| /Linux-v5.4/drivers/gpu/drm/hisilicon/kirin/ |
| D | dw_drm_dsi.c | 456 int htot, vtot; in dsi_set_mode_timing() local 476 vtot = mode->vtotal; in dsi_set_mode_timing() 507 vtot, vfp, vbp, vsw); in dsi_set_mode_timing()
|
| /Linux-v5.4/drivers/media/platform/vivid/ |
| D | vivid-core.c | 918 u32 htot, vtot; in vivid_create_instance() local 923 vtot = V4L2_DV_BT_FRAME_HEIGHT(bt); in vivid_create_instance() 926 (u32)bt->pixelclock / (htot * vtot)); in vivid_create_instance()
|
| /Linux-v5.4/drivers/media/i2c/ |
| D | ov5640.c | 189 u32 vtot; member 1093 return ov5640_write_reg16(sensor, OV5640_REG_TIMING_VTS, mode->vtot); in ov5640_set_timings() 1821 rate = mode->vtot * mode->htot * 16; in ov5640_set_mode()
|