Searched defs:hsync (Results 1 - 14 of 14) sorted by relevance

/drivers/video/geode/
H A Dvideo_cs5530.c117 /* Enable DACs, hsync and vsync for CRTs */
141 int blank, hsync, vsync; local
145 blank = 0; hsync = 1; vsync = 1;
148 blank = 1; hsync = 1; vsync = 1;
151 blank = 1; hsync = 1; vsync = 0;
154 blank = 1; hsync = 0; vsync = 1;
157 blank = 1; hsync = 0; vsync = 0;
172 if (hsync)
180 if (hsync && vsync)
H A Dvideo_gx.c244 /* Disable hsync and vsync */
256 /* Enable hsync and vsync. */
302 int blank, hsync, vsync, crt; local
307 blank = 0; hsync = 1; vsync = 1; crt = 1;
310 blank = 1; hsync = 1; vsync = 1; crt = 1;
313 blank = 1; hsync = 1; vsync = 0; crt = 1;
316 blank = 1; hsync = 0; vsync = 1; crt = 1;
319 blank = 1; hsync = 0; vsync = 0; crt = 0;
329 if (hsync)
H A Dlxfb_ops.c529 int blank, hsync, vsync; local
534 blank = 0; hsync = 1; vsync = 1;
537 blank = 1; hsync = 1; vsync = 1;
540 blank = 1; hsync = 1; vsync = 0;
543 blank = 1; hsync = 0; vsync = 1;
546 blank = 1; hsync = 0; vsync = 0;
557 if (hsync)
566 if (vsync && hsync)
/drivers/media/video/
H A Dsoc_mediabus.c390 bool hsync = true, vsync = true, pclk, data, mode; local
397 hsync = common_flags & (V4L2_MBUS_HSYNC_ACTIVE_HIGH |
407 return (!hsync || !vsync || !pclk || !data || !mode) ?
/drivers/video/
H A Dfbcvt.c47 u32 hsync; member in struct:fb_cvt_data
127 u32 hsync; local
130 hsync = 32;
132 hsync = (FB_CVT_CELLSIZE * cvt->htotal)/100;
134 hsync &= ~(FB_CVT_CELLSIZE - 1);
135 return hsync;
277 mode->hsync_len = cvt->hsync;
366 cvt.hsync = fb_cvt_hsync(&cvt);
370 cvt.h_front_porch = cvt.hblank - cvt.hsync - cvt.h_back_porch +
H A Dnuc900fb.c204 int hsync = var->width + var->right_margin; local
213 regs->lcd_crtc_hsync = LCM_CRTC_HSYNC_EVAL(hsync + var->hsync_len) |
214 LCM_CRTC_HSYNC_SVAL(hsync);
H A Dw100fb.c172 * Some touchscreens need hsync information from the video driver to
180 /* If display is blanked/suspended, hsync isn't active */
237 case FB_BLANK_HSYNC_SUSPEND: /* VESA blank (hsync off) */
1513 unsigned long hsync; local
1518 hsync=par->mach->xtal_freq;
1520 hsync=((par->fastpll_mode && mode->fast_pll_freq) ? mode->fast_pll_freq : mode->pll_freq)*100000;
1522 hsync /= (w100_pwr_state.pclk_cntl.f.pclk_post_div + 1);
1526 par->hsync_len = hsync / (crtc_ss.f.ss_end-crtc_ss.f.ss_start);
H A Datafb.c379 * hardware that supports disabling hsync/vsync:
380 * blank_mode == 2: suspend vsync, 3:suspend hsync, 4: powerdown.
861 int right, hsync, left; /* standard timing in clock cycles, not pixel */ member in struct:pixel_clock
862 /* hsync initialized in falcon_detect() */
878 /* Default hsync timing [mon_type] in picoseconds */
1083 hsync_len = pclock->hsync / plen;
1113 if ((plen * xres + f25.right + f25.hsync + f25.left) *
1116 else if ((plen * xres + f32.right + f32.hsync +
1119 else if ((plen * xres + fext.right + fext.hsync +
1128 hsync_len = pclock->hsync / ple
[all...]
/drivers/gpu/drm/
H A Ddrm_modes.c313 /* width of hsync as % of total line */
331 int hsync, hfront_porch, vodd_front_porch_lines; local
433 hsync = H_SYNC_PERCENT * total_pixels / 100;
434 hsync = (hsync + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN;
435 hsync = hsync * GTF_CELL_GRAN;
437 hfront_porch = hblank / 2 - hsync;
444 drm_mode->hsync_end = drm_mode->hsync_start + hsync;
589 /** drm_mode_hsync - get the hsync o
[all...]
H A Ddrm_edid.c67 /* use +hsync +vsync for detailed mode */
849 /* it is incorrect if hsync/vsync width is zero */
924 int hsync, hmin, hmax; local
932 hsync = drm_mode_hsync(mode);
934 return (hsync <= hmax && hsync >= hmin);
/drivers/gpu/drm/gma500/
H A Dcdv_intel_display.c1387 int hsync; local
1394 hsync = REG_READ((pipe == 0) ? HSYNC_A : HSYNC_B);
1402 hsync = (pipe == 0) ?
1420 mode->hsync_start = (hsync & 0xffff) + 1;
1421 mode->hsync_end = ((hsync & 0xffff0000) >> 16) + 1;
H A Dpsb_intel_display.c1201 int hsync; local
1208 hsync = REG_READ((pipe == 0) ? HSYNC_A : HSYNC_B);
1216 hsync = (pipe == 0) ?
1234 mode->hsync_start = (hsync & 0xffff) + 1;
1235 mode->hsync_end = ((hsync & 0xffff0000) >> 16) + 1;
/drivers/video/sis/
H A Dsis_main.c568 unsigned int dclock, hsync; local
606 hsync = dclock / htotal;
607 if(hsync < (monitor->hmin - 1))
609 if(hsync > (monitor->hmax + 1))
904 case FB_BLANK_HSYNC_SUSPEND: /* no hsync */
/drivers/gpu/drm/i915/
H A Dintel_display.c6971 int hsync = I915_READ(HSYNC(pipe)); local
6982 mode->hsync_start = (hsync & 0xffff) + 1;
6983 mode->hsync_end = ((hsync & 0xffff0000) >> 16) + 1;
9367 u32 hsync; member in struct:intel_display_error_state::intel_pipe_error_state
9414 error->pipe[i].hsync = I915_READ(HSYNC(i));
9436 seq_printf(m, " HSYNC: %08x\n", error->pipe[i].hsync);

Completed in 354 milliseconds