Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_display.c386 int htot; in psb_intel_crtc_mode_get() local
395 htot = REG_READ(map->htotal); in psb_intel_crtc_mode_get()
401 htot = p->htotal; in psb_intel_crtc_mode_get()
412 mode->hdisplay = (htot & 0xffff) + 1; in psb_intel_crtc_mode_get()
413 mode->htotal = ((htot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
H A Dcdv_intel_display.c924 int htot; in cdv_intel_crtc_mode_get() local
930 htot = REG_READ(map->htotal); in cdv_intel_crtc_mode_get()
936 htot = p->htotal; in cdv_intel_crtc_mode_get()
947 mode->hdisplay = (htot & 0xffff) + 1; in cdv_intel_crtc_mode_get()
948 mode->htotal = ((htot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
/linux/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c301 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()
/linux/drivers/video/fbdev/
H A Dgxt4500.c384 unsigned int prefetch_pix, htot; in gxt4500_set_par() local
430 htot = var->xres + var->left_margin + var->right_margin + in gxt4500_set_par()
432 writereg(par, DTG_HORIZ_EXTENT, htot - 1); in gxt4500_set_par()
447 if (prefetch_pix >= htot) in gxt4500_set_par()
448 prefetch_pix = htot - 1; in gxt4500_set_par()
449 writereg(par, DTG_VERT_SHORT, htot - prefetch_pix - 1); in gxt4500_set_par()
/linux/drivers/media/i2c/
H 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()
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-core.c1321 u32 htot, vtot; in vivid_init_dv_timings() local
1325 htot = V4L2_DV_BT_FRAME_WIDTH(bt); in vivid_init_dv_timings()
1329 (u32)bt->pixelclock / (htot * vtot)); in vivid_init_dv_timings()