Lines Matching refs:hsync
312 /* width of hsync as % of total line */
330 int hsync, hfront_porch, vodd_front_porch_lines;
432 hsync = H_SYNC_PERCENT * total_pixels / 100;
433 hsync = (hsync + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN;
434 hsync = hsync * GTF_CELL_GRAN;
436 hfront_porch = hblank / 2 - hsync;
443 drm_mode->hsync_end = drm_mode->hsync_start + hsync;
588 /** drm_mode_hsync - get the hsync of a mode
594 * Return @modes's hsync rate in kHz, rounded to the nearest int.
600 if (mode->hsync)
601 return mode->hsync;
606 calc_val = (mode->clock * 1000) / mode->htotal; /* hsync in Hz */