Home
last modified time | relevance | path

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

/linux-5.19.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()
/linux-5.19.10/drivers/gpu/drm/gma500/
Dpsb_intel_display.c384 int htot; in psb_intel_crtc_mode_get() local
393 htot = REG_READ(map->htotal); in psb_intel_crtc_mode_get()
399 htot = p->htotal; in psb_intel_crtc_mode_get()
410 mode->hdisplay = (htot & 0xffff) + 1; in psb_intel_crtc_mode_get()
411 mode->htotal = ((htot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
Dcdv_intel_display.c922 int htot; in cdv_intel_crtc_mode_get() local
928 htot = REG_READ(map->htotal); in cdv_intel_crtc_mode_get()
934 htot = p->htotal; in cdv_intel_crtc_mode_get()
945 mode->hdisplay = (htot & 0xffff) + 1; in cdv_intel_crtc_mode_get()
946 mode->htotal = ((htot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/drivers/media/i2c/
Dtda1997x.c1104 u16 htot, hact, hfront, hsync, hback; in tda1997x_detect_std() local
1121 htot = io_read16(sd, REG_FMT_H_TOT); in tda1997x_detect_std()
1136 htot, hact, hfront, hsync, hback, hsync_pos ? '+' : '-', in tda1997x_detect_std()
1155 timings->bt.pixelclock = (u64)htot * vtot * 27000000; in tda1997x_detect_std()
Dov5640.c193 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()
/linux-5.19.10/drivers/media/test-drivers/vivid/
Dvivid-core.c1277 u32 htot, vtot; in vivid_init_dv_timings() local
1281 htot = V4L2_DV_BT_FRAME_WIDTH(bt); in vivid_init_dv_timings()
1285 (u32)bt->pixelclock / (htot * vtot)); in vivid_init_dv_timings()