Lines Matching refs:vblwait
1257 union drm_wait_vblank *vblwait,
1276 e->event.user_data = vblwait->request.signal;
1291 if ((vblwait->request.type & _DRM_VBLANK_NEXTONMISS) &&
1292 (seq - vblwait->request.sequence) <= (1 << 23)) {
1293 vblwait->request.sequence = seq + 1;
1294 vblwait->reply.sequence = vblwait->request.sequence;
1298 vblwait->request.sequence, seq, pipe);
1300 e->event.sequence = vblwait->request.sequence;
1301 if ((seq - vblwait->request.sequence) <= (1 << 23)) {
1305 vblwait->reply.sequence = seq;
1309 vblwait->reply.sequence = vblwait->request.sequence;
1340 union drm_wait_vblank *vblwait = data;
1347 if (vblwait->request.type & _DRM_VBLANK_SIGNAL)
1350 if (vblwait->request.type &
1354 vblwait->request.type,
1360 flags = vblwait->request.type & _DRM_VBLANK_FLAGS_MASK;
1361 high_crtc = (vblwait->request.type & _DRM_VBLANK_HIGH_CRTC_MASK);
1376 switch (vblwait->request.type & _DRM_VBLANK_TYPES_MASK) {
1378 vblwait->request.sequence += seq;
1379 vblwait->request.type &= ~_DRM_VBLANK_RELATIVE;
1392 return drm_queue_vblank_event(dev, crtc, vblwait, file);
1396 (seq - vblwait->request.sequence) <= (1<<23)) {
1397 vblwait->request.sequence = seq + 1;
1401 vblwait->request.sequence, crtc);
1402 dev->last_vblank_wait[crtc] = vblwait->request.sequence;
1405 vblwait->request.sequence) <= (1 << 23)) ||
1411 vblwait->reply.sequence = drm_vblank_count_and_time(dev, crtc, &now);
1413 vblwait->reply.tval_sec = now.tv_sec;
1414 vblwait->reply.tval_usec = now.tv_usec;
1416 vblwait->reply.sequence);