Home
last modified time | relevance | path

Searched refs:htot (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-dv-timings.c279 u32 htot, vtot; in v4l2_print_dv_timings() local
285 htot = V4L2_DV_BT_FRAME_WIDTH(bt); 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
396 htot = V4L2_DV_BT_FRAME_WIDTH(bt); in v4l2_calc_timeperframe()
404 fps = (htot * vtot) > 0 ? div_u64((100 * pclk), (htot * vtot)) : 0; in v4l2_calc_timeperframe()
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dpsb_intel_display.c379 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()
Dcdv_intel_display.c926 int htot; in cdv_intel_crtc_mode_get() local
932 htot = REG_READ(map->htotal); in cdv_intel_crtc_mode_get()
938 htot = p->htotal; in cdv_intel_crtc_mode_get()
949 mode->hdisplay = (htot & 0xffff) + 1; in cdv_intel_crtc_mode_get()
950 mode->htotal = ((htot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dgxt4500.c383 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c457 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()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dov5640.c190 u32 htot; member
1102 ret = ov5640_write_reg16(sensor, OV5640_REG_TIMING_HTS, mode->htot); in ov5640_set_timings()
1552 rate = sensor->current_mode->vtot * sensor->current_mode->htot; in ov5640_calc_pixel_rate()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-core.c1207 u32 htot, vtot; in vivid_init_dv_timings() local
1211 htot = V4L2_DV_BT_FRAME_WIDTH(bt); in vivid_init_dv_timings()
1215 (u32)bt->pixelclock / (htot * vtot)); in vivid_init_dv_timings()