/drivers/gpu/drm/ |
H A D | drm_irq.c | 2 * drm_irq.c IRQ and vblank support 45 /* Access macro for slots in vblank timestamp ringbuffer. */ 47 ((dev)->vblank[crtc].time[(count) % DRM_VBLANKTIME_RBSIZE]) 55 * vblank irq in drm_handle_vblank(). 1 msec should be ok. 66 * Default to use monotonic timestamps for wait-for-vblank and page-flip 78 * drm_update_vblank_count - update the master vblank counter 82 * Call back into the driver to update the appropriate vblank counter 91 * device vblank fields. 95 struct drm_vblank_crtc *vblank = &dev->vblank[crt local 154 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local 247 struct drm_vblank_crtc *vblank = (void *)arg; local 279 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local 318 struct drm_vblank_crtc *vblank = &dev->vblank[i]; local 476 struct drm_vblank_crtc *vblank = &dev->vblank[i]; local 838 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local 862 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local 932 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local 977 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local 1030 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local 1125 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local 1200 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local 1276 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local 1310 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local 1377 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; local 1473 struct drm_vblank_crtc *vblank; local 1599 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; local [all...] |
H A D | drm_info.c | 156 * Called when "/proc/dri/.../vblank" is read. 167 crtc, atomic_read(&dev->vblank[crtc].refcount)); 171 crtc, dev->vblank[crtc].last_wait); 173 crtc, dev->vblank[crtc].inmodeset);
|
/drivers/gpu/drm/nouveau/core/engine/software/ |
H A D | nvc0.c | 47 chan->vblank.offset &= 0x00ffffffffULL; 48 chan->vblank.offset |= data << 32; 50 chan->vblank.offset &= 0xff00000000ULL; 51 chan->vblank.offset |= data; 109 container_of(notify, typeof(*chan), vblank.notify[notify->index]); 113 nv_wr32(priv, 0x001718, 0x80000000 | chan->vblank.channel); 115 nv_wr32(priv, 0x06000c, upper_32_bits(chan->vblank.offset)); 116 nv_wr32(priv, 0x060010, lower_32_bits(chan->vblank.offset)); 117 nv_wr32(priv, 0x060014, chan->vblank.value); 131 .vblank [all...] |
H A D | nv50.c | 58 chan->vblank.ctxdma = gpuobj->node->offset >> 4; 70 chan->vblank.offset = *(u32 *)args; 79 chan->vblank.value = *(u32 *)args; 89 if (head >= nouveau_disp(chan)->vblank.index_nr) 92 nvkm_notify_get(&chan->vblank.notify[head]); 130 container_of(notify, typeof(*chan), vblank.notify[notify->index]); 134 nv_wr32(priv, 0x001704, chan->vblank.channel); 135 nv_wr32(priv, 0x001710, 0x80000000 | chan->vblank.ctxdma); 139 nv_wr32(priv, 0x001570, chan->vblank.offset); 140 nv_wr32(priv, 0x001574, chan->vblank [all...] |
H A D | nv50.h | 22 int (*vblank)(struct nvkm_notify *); member in struct:nv50_software_cclass 33 } vblank; member in struct:nv50_software_chan
|
/drivers/gpu/drm/nouveau/core/include/engine/ |
H A D | disp.h | 15 struct nvkm_event vblank; member in struct:nouveau_disp
|
/drivers/gpu/drm/nouveau/core/engine/disp/ |
H A D | base.c | 39 container_of(notify->event, typeof(*disp), vblank); 47 if (ret = -ENXIO, req->v0.head <= disp->vblank.index_nr) { 61 nvkm_event_send(&disp->vblank, 1, head, &rep, sizeof(rep)); 105 *event = &disp->vblank; 172 nvkm_event_fini(&disp->vblank); 237 ret = nvkm_event_init(impl->vblank, 1, heads, &disp->vblank);
|
H A D | priv.h | 14 const struct nvkm_event_func *vblank; member in struct:nouveau_disp_impl
|
H A D | gm107.c | 100 .base.vblank = &nvd0_disp_vblank_func,
|
H A D | nva3.c | 101 .base.vblank = &nv50_disp_vblank_func,
|
H A D | nvf0.c | 100 .base.vblank = &nvd0_disp_vblank_func,
|
H A D | nv04.c | 131 struct nouveau_disp *disp = container_of(event, typeof(*disp), vblank); 138 struct nouveau_disp *disp = container_of(event, typeof(*disp), vblank); 204 .vblank = &nv04_disp_vblank_func,
|
H A D | nv94.c | 135 .base.vblank = &nv50_disp_vblank_func,
|
H A D | nva0.c | 145 .base.vblank = &nv50_disp_vblank_func,
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_crtc.h | 36 struct nvif_notify vblank; member in struct:nouveau_crtc
|
/drivers/gpu/drm/gma500/ |
H A D | mdfld_device.c | 204 pipe->vblank = PSB_RVDC32(map->vblank); 330 PSB_WVDC32(pipe->vblank, map->vblank); 459 .vblank = VBLANK_A, 481 .vblank = VBLANK_B, 504 .vblank = VBLANK_C,
|
H A D | psb_irq.c | 327 if (dev->vblank[0].enabled) 329 if (dev->vblank[1].enabled) 333 if (dev->vblank[1].enabled) 335 if (dev->vblank[2].enabled) 365 if (dev->vblank[0].enabled) 370 if (dev->vblank[1].enabled) 375 if (dev->vblank[2].enabled) 399 if (dev->vblank[0].enabled) 402 if (dev->vblank[1].enabled) 405 if (dev->vblank[ [all...] |
/drivers/media/platform/vivid/ |
H A D | vivid-osd.c | 86 struct fb_vblank vblank; local 88 vblank.flags = FB_VBLANK_HAVE_COUNT | FB_VBLANK_HAVE_VCOUNT | 90 vblank.count = 0; 91 vblank.vcount = 0; 92 vblank.hcount = 0; 93 if (copy_to_user((void __user *)arg, &vblank, sizeof(vblank)))
|
/drivers/video/fbdev/matrox/ |
H A D | matroxfb_crtc2.c | 402 static int matroxfb_dh_get_vblank(const struct matroxfb_dh_fb_info* m2info, struct fb_vblank* vblank) { argument 406 memset(vblank, 0, sizeof(*vblank)); 407 vblank->flags = FB_VBLANK_HAVE_VCOUNT | FB_VBLANK_HAVE_VBLANK; 409 vblank->vcount = mga_inl(0x3C48) & 0x000007FF; 411 if (vblank->vcount >= m2info->fbcon.var.yres) 412 vblank->flags |= FB_VBLANK_VBLANKING; 414 vblank->flags |= FB_VBLANK_HAVE_COUNT; 417 vblank->count = minfo->crtc2.vsync.cnt; 434 struct fb_vblank vblank; local [all...] |
/drivers/gpu/drm/omapdrm/ |
H A D | omap_irq.c | 135 * enable_vblank - enable vblank interrupt events 139 * Enable vblank interrupts for @crtc. If the device doesn't have 140 * a hardware vblank counter, this routine should be a no-op, since 144 * Zero on success, appropriate errno if the given @crtc's vblank 166 * disable_vblank - disable vblank interrupt events 170 * Disable vblank interrupts for @crtc. If the device doesn't have 171 * a hardware vblank counter, this routine should be a no-op, since 325 wake_up(&dev->vblank[i].queue); 326 dev->vblank[i].enabled = false; 327 dev->vblank[ [all...] |
/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_crtc.c | 57 struct mdp_irq vblank; member in struct:mdp5_crtc 73 mdp_irq_register(&get_kms(crtc)->base, &mdp5_crtc->vblank); 125 * vblank we know hw is done w/ previous scanout_fb). 135 /* enable vblank to complete flip: */ 150 /* if regular vblank case (!file) or if cancel-flip from 412 struct mdp5_crtc *mdp5_crtc = container_of(irq, struct mdp5_crtc, vblank); 417 mdp_irq_unregister(&get_kms(crtc)->base, &mdp5_crtc->vblank); 438 return mdp5_crtc->vblank.irqmask; 460 mdp5_crtc->vblank.irqmask = intf2vblank(intf); 550 mdp5_crtc->vblank [all...] |
/drivers/video/fbdev/core/ |
H A D | fbmon.c | 1098 u32 vblank; member in struct:__fb_timings 1108 * vblank = right_margin + vsync_len + left_margin 1120 u32 vblank; local 1122 vblank = (hfreq * FLYBACK)/1000; 1123 vblank = (vblank + 500)/1000; 1124 return (vblank + V_FRONTPORCH); 1227 timings->vblank = fb_get_vblank(timings->hfreq); 1228 timings->vtotal = timings->vactive + timings->vblank; 1237 timings->vblank [all...] |
/drivers/media/i2c/ |
H A D | mt9v011.c | 202 unsigned height, width, hblank, vblank, speed; local 210 vblank = mt9v011_read(sd, R06_MT9V011_VBLANK); 214 t_time = row_time * (height + vblank + 1); 232 unsigned height, width, hblank, vblank; local 243 vblank = mt9v011_read(sd, R06_MT9V011_VBLANK); 246 line_time = height + vblank + 1; 277 * hblank and vblank should be adjusted, in order to warrant that
|
/drivers/media/pci/ivtv/ |
H A D | ivtvfb.c | 466 struct fb_vblank vblank; local 469 memset(&vblank, 0, sizeof(struct fb_vblank)); 471 vblank.flags = FB_VBLANK_HAVE_COUNT |FB_VBLANK_HAVE_VCOUNT | 479 vblank.flags |= FB_VBLANK_VSYNCING; 480 vblank.count = itv->last_vsync_field; 481 vblank.vcount = trace; 482 vblank.hcount = 0; 483 if (copy_to_user((void __user *)arg, &vblank, sizeof(vblank)))
|
/drivers/video/fbdev/ |
H A D | tmiofb.c | 491 static int tmiofb_vblank(struct fb_info *fbi, struct fb_vblank *vblank) argument 498 vblank->vcount = vcount; 499 vblank->flags = FB_VBLANK_HAVE_VBLANK | FB_VBLANK_HAVE_VCOUNT 503 vblank->flags |= FB_VBLANK_VSYNCING; 506 vblank->flags |= FB_VBLANK_VBLANKING; 517 struct fb_vblank vblank = {0}; local 520 tmiofb_vblank(fbi, &vblank); 521 if (copy_to_user(argp, &vblank, sizeof vblank))
|