Lines Matching refs:vblwait
213 drm_wait_vblank_t vblwait;
226 vblwait.request.type = vblwait32.request.type;
227 vblwait.request.sequence = vblwait32.request.sequence;
228 vblwait.request.signal = vblwait32.request.signal;
231 DRM_COPYFROM_WITH_RETURN(&vblwait, (void *)data,
232 sizeof (vblwait));
237 if (vblwait.request.type &
240 vblwait.request.type);
244 flags = vblwait.request.type & _DRM_VBLANK_FLAGS_MASK;
256 if (vblwait.request.type & _DRM_VBLANK_RELATIVE) {
257 vblwait.request.sequence += sequence;
258 vblwait.request.type &= ~_DRM_VBLANK_RELATIVE;
261 else if ((vblwait.request.type & _DRM_VBLANK_ABSOLUTE) == 0) {
268 (sequence - vblwait.request.sequence) <= (1<<23)) {
269 vblwait.request.sequence = sequence + 1;
284 &vblwait.request.sequence);
287 &vblwait.request.sequence);
291 vblwait.reply.tval_sec = now.tv_sec;
292 vblwait.reply.tval_usec = now.tv_usec;
298 vblwait32.reply.type = vblwait.reply.type;
299 vblwait32.reply.sequence = vblwait.reply.sequence;
300 vblwait32.reply.tval_sec = (int32_t)vblwait.reply.tval_sec;
301 vblwait32.reply.tval_usec = (int32_t)vblwait.reply.tval_usec;
306 DRM_COPYTO_WITH_RETURN((void *)data, &vblwait,
307 sizeof (vblwait));