Home
last modified time | relevance | path

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

/linux/drivers/media/v4l2-core/
A 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/drivers/gpu/drm/gma500/
A 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()
A Dcdv_intel_display.c917 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()
/linux/drivers/video/fbdev/
A 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/drivers/gpu/drm/hisilicon/kirin/
A 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/drivers/media/i2c/
A 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()
A 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/drivers/media/test-drivers/vivid/
A 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()

Completed in 28 milliseconds