/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 181 bt->vsync > max_vert || bt->vbackporch > max_vert) in v4l2_valid_dv_timings() 283 t1->bt.vsync == t2->bt.vsync && in v4l2_match_dv_timings() 332 bt->vsync, bt->vbackporch); in v4l2_print_dv_timings() 344 bt->vsync == 8) ? " (V2)" : "", in v4l2_print_dv_timings() 492 unsigned vsync, in v4l2_detect_cvt() argument 504 if (vsync < 4 || vsync > 8) in v4l2_detect_cvt() 514 if (reduced_blanking && vsync == 8) in v4l2_detect_cvt() 520 if (!rb_v2 && vsync > 7) in v4l2_detect_cvt() 531 v_fp -= vsync + v_bp; in v4l2_detect_cvt() 538 v_bp -= vsync + v_fp; in v4l2_detect_cvt() [all …]
|
/drivers/video/fbdev/geode/ |
D | video_cs5530.c | 137 int blank, hsync, vsync; in cs5530_blank_display() local 141 blank = 0; hsync = 1; vsync = 1; in cs5530_blank_display() 144 blank = 1; hsync = 1; vsync = 1; in cs5530_blank_display() 147 blank = 1; hsync = 1; vsync = 0; in cs5530_blank_display() 150 blank = 1; hsync = 0; vsync = 1; in cs5530_blank_display() 153 blank = 1; hsync = 0; vsync = 0; in cs5530_blank_display() 170 if (vsync) in cs5530_blank_display() 176 if (hsync && vsync) in cs5530_blank_display()
|
D | video_gx.c | 298 int blank, hsync, vsync, crt; in gx_blank_display() local 303 blank = 0; hsync = 1; vsync = 1; crt = 1; in gx_blank_display() 306 blank = 1; hsync = 1; vsync = 1; crt = 1; in gx_blank_display() 309 blank = 1; hsync = 1; vsync = 0; crt = 1; in gx_blank_display() 312 blank = 1; hsync = 0; vsync = 1; crt = 1; in gx_blank_display() 315 blank = 1; hsync = 0; vsync = 0; crt = 0; in gx_blank_display() 327 if (vsync) in gx_blank_display()
|
D | lxfb_ops.c | 525 int blank, hsync, vsync; in lx_blank_display() local 530 blank = 0; hsync = 1; vsync = 1; in lx_blank_display() 533 blank = 1; hsync = 1; vsync = 1; in lx_blank_display() 536 blank = 1; hsync = 1; vsync = 0; in lx_blank_display() 539 blank = 1; hsync = 0; vsync = 1; in lx_blank_display() 542 blank = 1; hsync = 0; vsync = 0; in lx_blank_display() 555 if (vsync) in lx_blank_display() 562 if (vsync && hsync) in lx_blank_display()
|
/drivers/video/fbdev/core/ |
D | fbcvt.c | 46 u32 vsync; member 144 min_vbi_lines = FB_CVT_RB_V_FPORCH + cvt->vsync + in fb_cvt_vbi_lines() 150 min_vbi_lines = cvt->vsync + FB_CVT_MIN_BPORCH + in fb_cvt_vbi_lines() 269 mode->vsync_len = cvt->vsync; in fb_cvt_convert_to_mode() 351 cvt.vsync = fb_cvt_vbi_tab[cvt.aspect_ratio]; in fb_find_mode_cvt() 363 cvt.v_front_porch - cvt.vsync; in fb_find_mode_cvt()
|
/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 271 REG_WRITE(map->vsync, (adjusted_mode->crtc_vsync_start - 1) | in psb_intel_crtc_mode_set() 382 int vsync; in psb_intel_crtc_mode_get() local 391 vsync = REG_READ(map->vsync); in psb_intel_crtc_mode_get() 397 vsync = p->vsync; in psb_intel_crtc_mode_get() 411 mode->vsync_start = (vsync & 0xffff) + 1; in psb_intel_crtc_mode_get() 412 mode->vsync_end = ((vsync & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
|
D | cdv_intel_display.c | 787 REG_WRITE(map->vsync, (adjusted_mode->crtc_vsync_start - 1) | in cdv_intel_crtc_mode_set() 920 int vsync; in cdv_intel_crtc_mode_get() local 926 vsync = REG_READ(map->vsync); in cdv_intel_crtc_mode_get() 932 vsync = p->vsync; in cdv_intel_crtc_mode_get() 946 mode->vsync_start = (vsync & 0xffff) + 1; in cdv_intel_crtc_mode_get() 947 mode->vsync_end = ((vsync & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
|
D | oaktrail_device.c | 205 p->vsync = PSB_RVDC32(VSYNC_A); in oaktrail_save_display_registers() 325 PSB_WVDC32(p->vsync, VSYNC_A); in oaktrail_restore_display_registers() 463 .vsync = VSYNC_A, 487 .vsync = VSYNC_B,
|
D | psb_device.c | 263 .vsync = VSYNC_A, 287 .vsync = VSYNC_B,
|
D | psb_drv.h | 248 u32 vsync; member 282 u32 vsync; member
|
/drivers/gpu/drm/ |
D | drm_modes.c | 157 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; in drm_cvt_mode() local 214 vsync = 4; in drm_cvt_mode() 216 vsync = 5; in drm_cvt_mode() 218 vsync = 6; in drm_cvt_mode() 220 vsync = 7; in drm_cvt_mode() 222 vsync = 7; in drm_cvt_mode() 224 vsync = 10; in drm_cvt_mode() 247 if (tmp1 < (vsync + CVT_MIN_V_PORCH)) in drm_cvt_mode() 248 vsyncandback_porch = vsync + CVT_MIN_V_PORCH; in drm_cvt_mode() 252 vback_porch = vsyncandback_porch - vsync; in drm_cvt_mode() [all …]
|
/drivers/gpu/drm/sun4i/ |
D | sun4i_rgb.c | 68 u32 vsync = mode->vsync_end - mode->vsync_start; in sun4i_rgb_mode_valid() local 89 if (vsync < 1) in sun4i_rgb_mode_valid() 92 if (vsync > 0x3ff) in sun4i_rgb_mode_valid()
|
D | sun4i_tcon.c | 509 unsigned int bp, hsync, vsync; in sun4i_tcon0_mode_set_rgb() local 556 vsync = mode->crtc_vsync_end - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_rgb() 557 DRM_DEBUG_DRIVER("Setting HSYNC %d, VSYNC %d\n", hsync, vsync); in sun4i_tcon0_mode_set_rgb() 559 SUN4I_TCON0_BASIC3_V_SYNC(vsync) | in sun4i_tcon0_mode_set_rgb() 594 unsigned int bp, hsync, vsync, vtotal; in sun4i_tcon1_mode_set() local 669 vsync = mode->crtc_vsync_end - mode->crtc_vsync_start; in sun4i_tcon1_mode_set() 670 DRM_DEBUG_DRIVER("Setting HSYNC %d, VSYNC %d\n", hsync, vsync); in sun4i_tcon1_mode_set() 672 SUN4I_TCON1_BASIC5_V_SYNC(vsync) | in sun4i_tcon1_mode_set()
|
/drivers/gpu/drm/i915/display/ |
D | dvo_ns2501.c | 216 u16 vsync; /* manual vertical sync start, 80/81 */ member 243 .vsync = 2047, /* actually, ignored with this config */ 263 .vsync = 807, 282 .vsync = 2047, 625 ns2501_writeb(dvo, NS2501_REG80, conf->vsync & 0xff); in ns2501_mode_set() 626 ns2501_writeb(dvo, NS2501_REG81, conf->vsync >> 8); in ns2501_mode_set()
|
D | vlv_dsi.c | 1110 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in bxt_dsi_get_pipe_config() local 1174 vsync = intel_de_read(dev_priv, MIPI_VSYNC_PADDING_COUNT(port)); in bxt_dsi_get_pipe_config() 1184 adjusted_mode->crtc_vsync_end = vsync + adjusted_mode->crtc_vsync_start; in bxt_dsi_get_pipe_config() 1307 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in set_dsi_timings() local 1324 vsync = adjusted_mode->crtc_vsync_end - adjusted_mode->crtc_vsync_start; in set_dsi_timings() 1364 vsync); in set_dsi_timings()
|
/drivers/media/usb/pwc/ |
D | pwc-if.c | 276 pdev->vsync = 0; in pwc_frame_complete() 328 pdev->vsync = 0; /* Drop the current frame */ in pwc_isoc_handler() 353 if (flen > 0 && pdev->vsync) { in pwc_isoc_handler() 356 if (pdev->vsync == 1) { in pwc_isoc_handler() 358 pdev->vsync = 2; in pwc_isoc_handler() 365 pdev->vsync = 0; /* Let's wait for an EOF */ in pwc_isoc_handler() 374 if (pdev->vsync == 2) in pwc_isoc_handler() 380 pdev->vsync = 1; in pwc_isoc_handler() 409 pdev->vsync = 0; in pwc_isoc_init()
|
/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 404 dinfo->vsync.pan_offset = offset; in intelfbhw_pan_display() 407 dinfo->vsync.pan_display = 1; in intelfbhw_pan_display() 409 dinfo->vsync.pan_display = 0; in intelfbhw_pan_display() 2027 if (dinfo->vsync.pan_display) { in intelfbhw_irq() 2028 dinfo->vsync.pan_display = 0; in intelfbhw_irq() 2029 OUTREG(DSPABASE, dinfo->vsync.pan_offset); in intelfbhw_irq() 2032 dinfo->vsync.count++; in intelfbhw_irq() 2033 wake_up_interruptible(&dinfo->vsync.wait); in intelfbhw_irq() 2072 if (dinfo->vsync.pan_display) { in intelfbhw_disable_irq() 2073 dinfo->vsync.pan_display = 0; in intelfbhw_disable_irq() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dacnv50.c | 67 bool data, bool vsync, bool hsync) in nv50_dac_power() argument 74 0x00000004 * ! vsync | in nv50_dac_power()
|
D | sornv50.c | 48 bool data, bool vsync, bool hsync) in nv50_sor_power() argument
|
D | piornv50.c | 59 bool data, bool vsync, bool hsync) in nv50_pior_power() argument
|
/drivers/media/i2c/ |
D | ths8200.c | 217 uint16_t line_start_active_video = (bt->vsync + bt->vbackporch); in ths8200_setup() 312 ths8200_write(sd, THS8200_DTG2_VLENGTH1_LSB, (bt->vsync + 1) & 0xff); in ths8200_setup() 314 ((bt->vsync + 1) >> 2) & 0xc0); in ths8200_setup() 358 bt->hsync, bt->vsync); in ths8200_setup()
|
/drivers/video/fbdev/ |
D | sh7760fb.c | 44 struct completion vsync; /* vsync irq event */ member 477 "sh7760-lcdc", &par->vsync); in sh7760fb_probe() 548 free_irq(par->irq, &par->vsync); in sh7760fb_probe() 567 free_irq(par->irq, &par->vsync); in sh7760fb_remove()
|
D | pxa168fb.h | 378 #define CFG_INV_VSYNC(vsync) ((vsync) << 3) argument
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_base.c | 212 minfo->crtc1.vsync.cnt++; in matrox_irq() 214 wake_up_interruptible(&minfo->crtc1.vsync.wait); in matrox_irq() 219 minfo->crtc2.vsync.cnt++; in matrox_irq() 220 wake_up_interruptible(&minfo->crtc2.vsync.wait); in matrox_irq() 277 vs = &minfo->crtc1.vsync; in matroxfb_wait_for_sync() 283 vs = &minfo->crtc2.vsync; in matroxfb_wait_for_sync() 865 vblank->count = minfo->crtc1.vsync.cnt; in matroxfb_get_vblank() 2108 init_waitqueue_head(&minfo->crtc1.vsync.wait); in matroxfb_probe() 2109 init_waitqueue_head(&minfo->crtc2.vsync.wait); in matroxfb_probe()
|
D | matroxfb_base.h | 358 struct matrox_vsync vsync; member 364 struct matrox_vsync vsync; member
|