Lines Matching refs:vblwait
1620 union drm_wait_vblank *vblwait, in drm_queue_vblank_event() argument
1638 e->event.vbl.user_data = vblwait->request.signal; in drm_queue_vblank_event()
1677 vblwait->reply.sequence = seq; in drm_queue_vblank_event()
1681 vblwait->reply.sequence = req_seq; in drm_queue_vblank_event()
1696 static bool drm_wait_vblank_is_query(union drm_wait_vblank *vblwait) in drm_wait_vblank_is_query() argument
1698 if (vblwait->request.sequence) in drm_wait_vblank_is_query()
1702 (vblwait->request.type & (_DRM_VBLANK_TYPES_MASK | in drm_wait_vblank_is_query()
1754 union drm_wait_vblank *vblwait = data; in drm_wait_vblank_ioctl() local
1763 if (vblwait->request.type & _DRM_VBLANK_SIGNAL) in drm_wait_vblank_ioctl()
1766 if (vblwait->request.type & in drm_wait_vblank_ioctl()
1771 vblwait->request.type, in drm_wait_vblank_ioctl()
1777 flags = vblwait->request.type & _DRM_VBLANK_FLAGS_MASK; in drm_wait_vblank_ioctl()
1778 high_pipe = (vblwait->request.type & _DRM_VBLANK_HIGH_CRTC_MASK); in drm_wait_vblank_ioctl()
1808 drm_wait_vblank_is_query(vblwait) && in drm_wait_vblank_ioctl()
1810 drm_wait_vblank_reply(dev, pipe, &vblwait->reply); in drm_wait_vblank_ioctl()
1823 switch (vblwait->request.type & _DRM_VBLANK_TYPES_MASK) { in drm_wait_vblank_ioctl()
1825 req_seq = seq + vblwait->request.sequence; in drm_wait_vblank_ioctl()
1826 vblwait->request.sequence = req_seq; in drm_wait_vblank_ioctl()
1827 vblwait->request.type &= ~_DRM_VBLANK_RELATIVE; in drm_wait_vblank_ioctl()
1830 req_seq = widen_32_to_64(vblwait->request.sequence, seq); in drm_wait_vblank_ioctl()
1840 vblwait->request.type &= ~_DRM_VBLANK_NEXTONMISS; in drm_wait_vblank_ioctl()
1841 vblwait->request.sequence = req_seq; in drm_wait_vblank_ioctl()
1848 return drm_queue_vblank_event(dev, pipe, req_seq, vblwait, file_priv); in drm_wait_vblank_ioctl()
1877 drm_wait_vblank_reply(dev, pipe, &vblwait->reply); in drm_wait_vblank_ioctl()
1880 pipe, vblwait->reply.sequence); in drm_wait_vblank_ioctl()