/drivers/video/fbdev/geode/ |
D | video_cs5530.c | 141 int blank, hsync, vsync; in cs5530_blank_display() local 145 blank = 0; hsync = 1; vsync = 1; in cs5530_blank_display() 148 blank = 1; hsync = 1; vsync = 1; in cs5530_blank_display() 151 blank = 1; hsync = 1; vsync = 0; in cs5530_blank_display() 154 blank = 1; hsync = 0; vsync = 1; in cs5530_blank_display() 157 blank = 1; hsync = 0; vsync = 0; in cs5530_blank_display() 172 if (hsync) in cs5530_blank_display() 180 if (hsync && vsync) in cs5530_blank_display()
|
D | video_gx.c | 302 int blank, hsync, vsync, crt; in gx_blank_display() local 307 blank = 0; hsync = 1; vsync = 1; crt = 1; in gx_blank_display() 310 blank = 1; hsync = 1; vsync = 1; crt = 1; in gx_blank_display() 313 blank = 1; hsync = 1; vsync = 0; crt = 1; in gx_blank_display() 316 blank = 1; hsync = 0; vsync = 1; crt = 1; in gx_blank_display() 319 blank = 1; hsync = 0; vsync = 0; crt = 0; in gx_blank_display() 329 if (hsync) in gx_blank_display()
|
D | lxfb_ops.c | 529 int blank, hsync, vsync; in lx_blank_display() local 534 blank = 0; hsync = 1; vsync = 1; in lx_blank_display() 537 blank = 1; hsync = 1; vsync = 1; in lx_blank_display() 540 blank = 1; hsync = 1; vsync = 0; in lx_blank_display() 543 blank = 1; hsync = 0; vsync = 1; in lx_blank_display() 546 blank = 1; hsync = 0; vsync = 0; in lx_blank_display() 557 if (hsync) in lx_blank_display() 566 if (vsync && hsync) in lx_blank_display()
|
/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 250 t1->bt.hsync == t2->bt.hsync && in v4l2_match_dv_timings() 298 bt->hsync, bt->hbackporch); in v4l2_print_dv_timings() 393 int v_fp, v_bp, h_fp, h_bp, hsync; in v4l2_detect_cvt() local 496 hsync = CVT_RB_H_SYNC; in v4l2_detect_cvt() 497 h_fp = h_blank - h_bp - hsync; in v4l2_detect_cvt() 518 hsync = frame_width * CVT_HSYNC_PERCENT / 100; in v4l2_detect_cvt() 519 hsync = (hsync / CVT_CELL_GRAN) * CVT_CELL_GRAN; in v4l2_detect_cvt() 520 h_fp = h_blank - hsync - h_bp; in v4l2_detect_cvt() 529 fmt->bt.hsync = hsync; in v4l2_detect_cvt() 531 fmt->bt.hbackporch = frame_width - image_width - h_fp - hsync; in v4l2_detect_cvt() [all …]
|
/drivers/video/fbdev/core/ |
D | fbcvt.c | 47 u32 hsync; member 127 u32 hsync; in fb_cvt_hsync() local 130 hsync = 32; in fb_cvt_hsync() 132 hsync = (FB_CVT_CELLSIZE * cvt->htotal)/100; in fb_cvt_hsync() 134 hsync &= ~(FB_CVT_CELLSIZE - 1); in fb_cvt_hsync() 135 return hsync; in fb_cvt_hsync() 277 mode->hsync_len = cvt->hsync; in fb_cvt_convert_to_mode() 366 cvt.hsync = fb_cvt_hsync(&cvt); in fb_find_mode_cvt() 370 cvt.h_front_porch = cvt.hblank - cvt.hsync - cvt.h_back_porch + in fb_find_mode_cvt()
|
/drivers/gpu/drm/sun4i/ |
D | sun4i_tcon.c | 129 unsigned int bp, hsync, vsync; in sun4i_tcon0_mode_set() local 171 hsync = mode->crtc_hsync_end - mode->crtc_hsync_start; in sun4i_tcon0_mode_set() 173 DRM_DEBUG_DRIVER("Setting HSYNC %d, VSYNC %d\n", hsync, vsync); in sun4i_tcon0_mode_set() 176 SUN4I_TCON0_BASIC3_H_SYNC(hsync)); in sun4i_tcon0_mode_set() 202 unsigned int bp, hsync, vsync; in sun4i_tcon1_mode_set() local 255 hsync = mode->crtc_hsync_end - mode->crtc_hsync_start; in sun4i_tcon1_mode_set() 257 DRM_DEBUG_DRIVER("Setting HSYNC %d, VSYNC %d\n", hsync, vsync); in sun4i_tcon1_mode_set() 260 SUN4I_TCON1_BASIC5_H_SYNC(hsync)); in sun4i_tcon1_mode_set()
|
D | sun4i_rgb.c | 61 u32 hsync = mode->hsync_end - mode->hsync_start; in sun4i_rgb_mode_valid() local 68 if (hsync < 1) in sun4i_rgb_mode_valid() 71 if (hsync > 0x3ff) in sun4i_rgb_mode_valid()
|
/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 276 REG_WRITE(map->hsync, (adjusted_mode->crtc_hsync_start - 1) | in psb_intel_crtc_mode_set() 391 int hsync; in psb_intel_crtc_mode_get() local 400 hsync = REG_READ(map->hsync); in psb_intel_crtc_mode_get() 406 hsync = p->hsync; in psb_intel_crtc_mode_get() 418 mode->hsync_start = (hsync & 0xffff) + 1; in psb_intel_crtc_mode_get() 419 mode->hsync_end = ((hsync & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
|
D | mdfld_device.c | 202 pipe->hsync = PSB_RVDC32(map->hsync); in mdfld_save_display_registers() 328 PSB_WVDC32(pipe->hsync, map->hsync); in mdfld_restore_display_registers() 457 .hsync = HSYNC_A, 479 .hsync = HSYNC_B, 502 .hsync = HSYNC_C,
|
D | cdv_intel_display.c | 801 REG_WRITE(map->hsync, (adjusted_mode->crtc_hsync_start - 1) | in cdv_intel_crtc_mode_set() 938 int hsync; in cdv_intel_crtc_mode_get() local 944 hsync = REG_READ(map->hsync); in cdv_intel_crtc_mode_get() 950 hsync = p->hsync; in cdv_intel_crtc_mode_get() 962 mode->hsync_start = (hsync & 0xffff) + 1; in cdv_intel_crtc_mode_get() 963 mode->hsync_end = ((hsync & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
|
D | oaktrail_device.c | 215 p->hsync = PSB_RVDC32(HSYNC_A); in oaktrail_save_display_registers() 335 PSB_WVDC32(p->hsync, HSYNC_A); in oaktrail_restore_display_registers() 473 .hsync = HSYNC_A, 497 .hsync = HSYNC_B,
|
D | psb_device.c | 272 .hsync = HSYNC_A, 296 .hsync = HSYNC_B,
|
D | cdv_device.c | 535 .hsync = HSYNC_A, 560 .hsync = HSYNC_B,
|
/drivers/media/i2c/ |
D | ths8200.c | 225 ths8200_write(sd, THS8200_DTG1_SPEC_A, bt->hsync); in ths8200_setup() 236 (bt->hbackporch + bt->hsync) & 0xff); in ths8200_setup() 244 ((bt->hbackporch + bt->hsync) & 0x100) >> 1); in ths8200_setup() 302 ths8200_write(sd, THS8200_DTG2_HLENGTH_LSB, bt->hsync & 0xff); in ths8200_setup() 304 (bt->hsync >> 2) & 0xc0); in ths8200_setup() 358 bt->hsync, bt->vsync); in ths8200_setup()
|
/drivers/gpu/drm/i915/ |
D | intel_dsi.c | 825 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in bxt_dsi_get_pipe_config() local 864 hsync = I915_READ(MIPI_HSYNC_PADDING_COUNT(port)); in bxt_dsi_get_pipe_config() 870 hsync = pixels_from_txbyteclkhs(hsync, bpp, lane_count, in bxt_dsi_get_pipe_config() 877 hsync *= 2; in bxt_dsi_get_pipe_config() 886 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config() 888 adjusted_mode->crtc_hsync_end = hsync + adjusted_mode->crtc_hsync_start; in bxt_dsi_get_pipe_config() 1040 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in set_dsi_timings() local 1044 hsync = adjusted_mode->crtc_hsync_end - adjusted_mode->crtc_hsync_start; in set_dsi_timings() 1052 hsync /= 2; in set_dsi_timings() 1064 hsync = txbyteclkhs(hsync, bpp, lane_count, in set_dsi_timings() [all …]
|
/drivers/gpu/drm/ |
D | drm_modes.c | 397 int hsync, hfront_porch, vodd_front_porch_lines; in drm_gtf_mode_complex() local 499 hsync = H_SYNC_PERCENT * total_pixels / 100; in drm_gtf_mode_complex() 500 hsync = (hsync + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN; in drm_gtf_mode_complex() 501 hsync = hsync * GTF_CELL_GRAN; in drm_gtf_mode_complex() 503 hfront_porch = hblank / 2 - hsync; in drm_gtf_mode_complex() 510 drm_mode->hsync_end = drm_mode->hsync_start + hsync; in drm_gtf_mode_complex() 753 if (mode->hsync) in drm_mode_hsync() 754 return mode->hsync; in drm_mode_hsync()
|
D | drm_edid.c | 2019 int hsync, hmin, hmax; in mode_in_hsync_range() local 2027 hsync = drm_mode_hsync(mode); in mode_in_hsync_range() 2029 return (hsync <= hmax && hsync >= hmin); in mode_in_hsync_range() 3964 unsigned hsync = (timings->hsync[0] | (timings->hsync[1] & 0x7f) << 8) + 1; in drm_mode_displayid_detailed() local 3970 bool hsync_positive = (timings->hsync[1] >> 7) & 0x1; in drm_mode_displayid_detailed() 3978 mode->hsync_start = mode->hdisplay + hsync; in drm_mode_displayid_detailed()
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dacnv50.c | 49 args->v0.vsync, args->v0.hsync); in nv50_dac_power() 53 stat |= 0x00000001 * !args->v0.hsync; in nv50_dac_power()
|
/drivers/gpu/drm/mediatek/ |
D | mtk_dpi.c | 426 struct mtk_dpi_sync_param hsync; in mtk_dpi_set_display_mode() local 472 hsync.sync_width = mode->hsync_end - mode->hsync_start; in mtk_dpi_set_display_mode() 473 hsync.back_porch = mode->htotal - mode->hsync_end; in mtk_dpi_set_display_mode() 474 hsync.front_porch = mode->hsync_start - mode->hdisplay; in mtk_dpi_set_display_mode() 475 hsync.shift_half_line = false; in mtk_dpi_set_display_mode() 500 mtk_dpi_config_hsync(dpi, &hsync); in mtk_dpi_set_display_mode()
|
/drivers/media/platform/soc_camera/ |
D | soc_mediabus.c | 486 bool hsync = true, vsync = true, pclk, data, mode; in soc_mbus_config_compatible() local 493 hsync = common_flags & (V4L2_MBUS_HSYNC_ACTIVE_HIGH | in soc_mbus_config_compatible() 503 return (!hsync || !vsync || !pclk || !data || !mode) ? in soc_mbus_config_compatible()
|
/drivers/gpu/drm/sti/ |
D | sti_vtg.c | 117 u32 hsync; member 229 sync->hsync = (stop << 16) | start; in vtg_set_hsync_vsync_pos() 289 writel(sync[i].hsync, in vtg_set_mode()
|
/drivers/gpu/drm/nouveau/include/nvif/ |
D | cl5070.h | 49 __u8 hsync; member
|
/drivers/video/fbdev/ |
D | nuc900fb.c | 204 int hsync = var->width + var->right_margin; in nuc900fb_calculate_lcd_regs() local 213 regs->lcd_crtc_hsync = LCM_CRTC_HSYNC_EVAL(hsync + var->hsync_len) | in nuc900fb_calculate_lcd_regs() 214 LCM_CRTC_HSYNC_SVAL(hsync); in nuc900fb_calculate_lcd_regs()
|
D | pxa168fb.h | 379 #define CFG_INV_HSYNC(hsync) ((hsync) << 2) argument
|
D | atafb.c | 859 int right, hsync, left; /* standard timing in clock cycles, not pixel */ member 1081 hsync_len = pclock->hsync / plen; in falcon_decode_var() 1111 if ((plen * xres + f25.right + f25.hsync + f25.left) * in falcon_decode_var() 1114 else if ((plen * xres + f32.right + f32.hsync + in falcon_decode_var() 1117 else if ((plen * xres + fext.right + fext.hsync + in falcon_decode_var() 1126 hsync_len = pclock->hsync / plen; in falcon_decode_var() 1791 f25.hsync = h_syncs[mon_type] / f25.t; in falcon_detect() 1792 f32.hsync = h_syncs[mon_type] / f32.t; in falcon_detect() 1794 fext.hsync = h_syncs[mon_type] / fext.t; in falcon_detect()
|