/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 243 t1->bt.vsync == t2->bt.vsync && in v4l2_match_dv_timings() 289 bt->vsync, bt->vbackporch); in v4l2_print_dv_timings() 300 bt->vsync == 8) ? " (V2)" : "", in v4l2_print_dv_timings() 371 unsigned vsync, in v4l2_detect_cvt() argument 383 if (vsync < 4 || vsync > 8) in v4l2_detect_cvt() 393 if (reduced_blanking && vsync == 8) in v4l2_detect_cvt() 399 if (!rb_v2 && vsync > 7) in v4l2_detect_cvt() 410 v_fp -= vsync + v_bp; in v4l2_detect_cvt() 417 v_bp -= vsync + v_fp; in v4l2_detect_cvt() 424 v_bp = (CVT_MIN_VSYNC_BP * hfreq) / 1000000 + 1 - vsync; in v4l2_detect_cvt() [all …]
|
/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() 174 if (vsync) 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() 331 if (vsync) 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() 559 if (vsync) in lx_blank_display() 566 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() 280 mode->vsync_len = cvt->vsync; in fb_cvt_convert_to_mode() 362 cvt.vsync = fb_cvt_vbi_tab[cvt.aspect_ratio]; in fb_find_mode_cvt() 374 cvt.v_front_porch - cvt.vsync; in fb_find_mode_cvt()
|
/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 282 REG_WRITE(map->vsync, (adjusted_mode->crtc_vsync_start - 1) | in psb_intel_crtc_mode_set() 393 int vsync; in psb_intel_crtc_mode_get() local 402 vsync = REG_READ(map->vsync); in psb_intel_crtc_mode_get() 408 vsync = p->vsync; in psb_intel_crtc_mode_get() 422 mode->vsync_start = (vsync & 0xffff) + 1; in psb_intel_crtc_mode_get() 423 mode->vsync_end = ((vsync & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
|
D | mdfld_device.c | 205 pipe->vsync = PSB_RVDC32(map->vsync); in mdfld_save_display_registers() 331 PSB_WVDC32(pipe->vsync, map->vsync); in mdfld_restore_display_registers() 460 .vsync = VSYNC_A, 482 .vsync = VSYNC_B, 505 .vsync = VSYNC_C,
|
D | cdv_intel_display.c | 809 REG_WRITE(map->vsync, (adjusted_mode->crtc_vsync_start - 1) | in cdv_intel_crtc_mode_set() 942 int vsync; in cdv_intel_crtc_mode_get() local 948 vsync = REG_READ(map->vsync); in cdv_intel_crtc_mode_get() 954 vsync = p->vsync; in cdv_intel_crtc_mode_get() 968 mode->vsync_start = (vsync & 0xffff) + 1; in cdv_intel_crtc_mode_get() 969 mode->vsync_end = ((vsync & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
|
D | oaktrail_device.c | 218 p->vsync = PSB_RVDC32(VSYNC_A); in oaktrail_save_display_registers() 338 PSB_WVDC32(p->vsync, VSYNC_A); in oaktrail_restore_display_registers() 476 .vsync = VSYNC_A, 500 .vsync = VSYNC_B,
|
D | psb_device.c | 275 .vsync = VSYNC_A, 299 .vsync = VSYNC_B,
|
D | cdv_device.c | 538 .vsync = VSYNC_A, 563 .vsync = VSYNC_B,
|
D | oaktrail_crtc.c | 465 REG_WRITE_WITH_AUX(map->vsync, in oaktrail_crtc_mode_set() 481 REG_WRITE_WITH_AUX(map->vsync, (adjusted_mode->crtc_vsync_start - 1) | in oaktrail_crtc_mode_set()
|
/drivers/gpu/drm/ |
D | drm_modes.c | 166 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; in drm_cvt_mode() local 219 vsync = 4; in drm_cvt_mode() 221 vsync = 5; in drm_cvt_mode() 223 vsync = 6; in drm_cvt_mode() 225 vsync = 7; in drm_cvt_mode() 227 vsync = 7; in drm_cvt_mode() 229 vsync = 10; in drm_cvt_mode() 252 if (tmp1 < (vsync + CVT_MIN_V_PORCH)) in drm_cvt_mode() 253 vsyncandback_porch = vsync + CVT_MIN_V_PORCH; in drm_cvt_mode() 257 vback_porch = vsyncandback_porch - vsync; in drm_cvt_mode() [all …]
|
/drivers/gpu/drm/i915/ |
D | dvo_ns2501.c | 215 uint16_t vsync; /* manual vertical sync start, 80/81 */ member 242 .vsync = 2047, /* actually, ignored with this config */ 262 .vsync = 807, 281 .vsync = 2047, 624 ns2501_writeb(dvo, NS2501_REG80, conf->vsync & 0xff); in ns2501_mode_set() 625 ns2501_writeb(dvo, NS2501_REG81, conf->vsync >> 8); in ns2501_mode_set()
|
D | intel_dsi_pll.c | 81 u32 hactive, vactive, hfp, hsync, hbp, vfp, vsync, vbp; in dsi_rr_formula() local 98 vsync = mode->vsync_end - mode->vsync_start; in dsi_rr_formula() 120 bytes_per_frame = vsync * bytes_per_line + vbp * bytes_per_line + in dsi_rr_formula()
|
/drivers/media/usb/pwc/ |
D | pwc-if.c | 248 pdev->vsync = 0; in pwc_frame_complete() 296 pdev->vsync = 0; /* Drop the current frame */ in pwc_isoc_handler() 316 if (flen > 0 && pdev->vsync) { in pwc_isoc_handler() 319 if (pdev->vsync == 1) { in pwc_isoc_handler() 322 pdev->vsync = 2; in pwc_isoc_handler() 329 pdev->vsync = 0; /* Let's wait for an EOF */ in pwc_isoc_handler() 338 if (pdev->vsync == 2) in pwc_isoc_handler() 344 pdev->vsync = 1; in pwc_isoc_handler() 366 pdev->vsync = 0; in pwc_isoc_init()
|
/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 402 dinfo->vsync.pan_offset = offset; in intelfbhw_pan_display() 405 dinfo->vsync.pan_display = 1; in intelfbhw_pan_display() 407 dinfo->vsync.pan_display = 0; in intelfbhw_pan_display() 2030 if (dinfo->vsync.pan_display) { in intelfbhw_irq() 2031 dinfo->vsync.pan_display = 0; in intelfbhw_irq() 2032 OUTREG(DSPABASE, dinfo->vsync.pan_offset); in intelfbhw_irq() 2035 dinfo->vsync.count++; in intelfbhw_irq() 2036 wake_up_interruptible(&dinfo->vsync.wait); in intelfbhw_irq() 2075 if (dinfo->vsync.pan_display) { in intelfbhw_disable_irq() 2076 dinfo->vsync.pan_display = 0; in intelfbhw_disable_irq() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dacnv50.c | 49 args->v0.vsync, args->v0.hsync); in nv50_dac_power() 52 stat |= 0x00000004 * !args->v0.vsync; in nv50_dac_power()
|
/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/media/platform/soc_camera/ |
D | soc_mediabus.c | 486 bool hsync = true, vsync = true, pclk, data, mode; in soc_mbus_config_compatible() local 495 vsync = common_flags & (V4L2_MBUS_VSYNC_ACTIVE_HIGH | in soc_mbus_config_compatible() 503 return (!hsync || !vsync || !pclk || !data || !mode) ? in soc_mbus_config_compatible()
|
/drivers/video/fbdev/ |
D | sh7760fb.c | 47 struct completion vsync; /* vsync irq event */ member 480 "sh7760-lcdc", &par->vsync); in sh7760fb_probe() 551 free_irq(par->irq, &par->vsync); in sh7760fb_probe() 570 free_irq(par->irq, &par->vsync); in sh7760fb_remove()
|
D | nuc900fb.c | 205 int vsync = var->height + var->lower_margin; in nuc900fb_calculate_lcd_regs() local 215 regs->lcd_crtc_vr = LCM_CRTC_VR_EVAL(vsync + var->vsync_len) | in nuc900fb_calculate_lcd_regs() 216 LCM_CRTC_VR_SVAL(vsync); in nuc900fb_calculate_lcd_regs()
|
D | pxa168fb.h | 377 #define CFG_INV_VSYNC(vsync) ((vsync) << 3) argument
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_base.c | 211 minfo->crtc1.vsync.cnt++; in matrox_irq() 213 wake_up_interruptible(&minfo->crtc1.vsync.wait); in matrox_irq() 218 minfo->crtc2.vsync.cnt++; in matrox_irq() 219 wake_up_interruptible(&minfo->crtc2.vsync.wait); in matrox_irq() 276 vs = &minfo->crtc1.vsync; in matroxfb_wait_for_sync() 282 vs = &minfo->crtc2.vsync; in matroxfb_wait_for_sync() 864 vblank->count = minfo->crtc1.vsync.cnt; in matroxfb_get_vblank() 2099 init_waitqueue_head(&minfo->crtc1.vsync.wait); in matroxfb_probe() 2100 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
|