Home
last modified time | relevance | path

Searched refs:GTF_CELL_GRAN (Results 1 – 2 of 2) sorted by relevance

/drivers/media/v4l2-core/
Dv4l2-dv-timings.c672 #define GTF_CELL_GRAN 8 /* character cell granularity */ macro
751 image_width = (image_width + GTF_CELL_GRAN/2) & ~(GTF_CELL_GRAN - 1); in v4l2_detect_gtf()
761 (2 * GTF_CELL_GRAN); in v4l2_detect_gtf()
763 h_blank *= (2 * GTF_CELL_GRAN); in v4l2_detect_gtf()
771 (2 * GTF_CELL_GRAN); in v4l2_detect_gtf()
773 h_blank *= (2 * GTF_CELL_GRAN); in v4l2_detect_gtf()
782 hsync = DIV_ROUND_CLOSEST(hsync, GTF_CELL_GRAN) * GTF_CELL_GRAN; in v4l2_detect_gtf()
/drivers/gpu/drm/
Ddrm_modes.c375 #define GTF_CELL_GRAN 8 in drm_gtf_mode_complex() macro
414 hdisplay_rnd = (hdisplay + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN; in drm_gtf_mode_complex()
415 hdisplay_rnd = hdisplay_rnd * GTF_CELL_GRAN; in drm_gtf_mode_complex()
493 hblank = (hblank + GTF_CELL_GRAN) / (2 * GTF_CELL_GRAN); in drm_gtf_mode_complex()
494 hblank = hblank * 2 * GTF_CELL_GRAN; in drm_gtf_mode_complex()
505 hsync = (hsync + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN; in drm_gtf_mode_complex()
506 hsync = hsync * GTF_CELL_GRAN; in drm_gtf_mode_complex()