Searched refs:htot (Results 1 – 7 of 7) sorted by relevance
/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 301 u32 htot, vtot; in v4l2_print_dv_timings() local 307 htot = V4L2_DV_BT_FRAME_WIDTH(bt); 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 418 htot = V4L2_DV_BT_FRAME_WIDTH(bt); in v4l2_calc_timeperframe() 426 fps = (htot * vtot) > 0 ? div_u64((100 * pclk), (htot * vtot)) : 0; in v4l2_calc_timeperframe()
|
/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 379 int htot; in psb_intel_crtc_mode_get() local 388 htot = REG_READ(map->htotal); in psb_intel_crtc_mode_get() 394 htot = p->htotal; in psb_intel_crtc_mode_get() 405 mode->hdisplay = (htot & 0xffff) + 1; in psb_intel_crtc_mode_get() 406 mode->htotal = ((htot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
|
D | cdv_intel_display.c | 917 int htot; in cdv_intel_crtc_mode_get() local 923 htot = REG_READ(map->htotal); in cdv_intel_crtc_mode_get() 929 htot = p->htotal; in cdv_intel_crtc_mode_get() 940 mode->hdisplay = (htot & 0xffff) + 1; in cdv_intel_crtc_mode_get() 941 mode->htotal = ((htot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
|
/drivers/video/fbdev/ |
D | gxt4500.c | 383 unsigned int prefetch_pix, htot; in gxt4500_set_par() local 429 htot = var->xres + var->left_margin + var->right_margin + in gxt4500_set_par() 431 writereg(par, DTG_HORIZ_EXTENT, htot - 1); in gxt4500_set_par() 446 if (prefetch_pix >= htot) in gxt4500_set_par() 447 prefetch_pix = htot - 1; in gxt4500_set_par() 448 writereg(par, DTG_VERT_SHORT, htot - prefetch_pix - 1); in gxt4500_set_par()
|
/drivers/gpu/drm/hisilicon/kirin/ |
D | dw_drm_dsi.c | 457 int htot, vtot; in dsi_set_mode_timing() local 476 htot = mode->htotal; in dsi_set_mode_timing() 491 tmp = (u64)htot * (u64)lane_byte_clk_kHz; in dsi_set_mode_timing() 506 htot, hfp, hbp, hsw); in dsi_set_mode_timing()
|
/drivers/media/i2c/ |
D | ov5640.c | 193 u32 htot; member 1128 ret = ov5640_write_reg16(sensor, OV5640_REG_TIMING_HTS, mode->htot); in ov5640_set_timings() 1578 rate = sensor->current_mode->vtot * sensor->current_mode->htot; in ov5640_calc_pixel_rate()
|
/drivers/media/test-drivers/vivid/ |
D | vivid-core.c | 1297 u32 htot, vtot; in vivid_init_dv_timings() local 1301 htot = V4L2_DV_BT_FRAME_WIDTH(bt); in vivid_init_dv_timings() 1305 (u32)bt->pixelclock / (htot * vtot)); in vivid_init_dv_timings()
|