Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_modes.c372 #define GTF_CELL_GRAN 8 in drm_gtf_mode_complex() macro
411 hdisplay_rnd = (hdisplay + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN; in drm_gtf_mode_complex()
412 hdisplay_rnd = hdisplay_rnd * GTF_CELL_GRAN; in drm_gtf_mode_complex()
490 hblank = (hblank + GTF_CELL_GRAN) / (2 * GTF_CELL_GRAN); in drm_gtf_mode_complex()
491 hblank = hblank * 2 * GTF_CELL_GRAN; in drm_gtf_mode_complex()
502 hsync = (hsync + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN; in drm_gtf_mode_complex()
503 hsync = hsync * GTF_CELL_GRAN; in drm_gtf_mode_complex()