Lines Matching refs:arg
50 struct drm_psb_vsync_set_arg arg; in control() local
51 memset(&arg, 0, sizeof(struct drm_psb_vsync_set_arg)); in control()
54 arg.vsync.pipe = disp; in control()
57 arg.vsync_operation_mask = VSYNC_ENABLE; in control()
59 arg.vsync_operation_mask = VSYNC_DISABLE; in control()
62 return drm->writeReadIoctl(DRM_PSB_VSYNC_SET, &arg, sizeof(arg)); in control()
69 struct drm_psb_vsync_set_arg arg; in wait() local
70 memset(&arg, 0, sizeof(struct drm_psb_vsync_set_arg)); in wait()
72 arg.vsync_operation_mask = VSYNC_WAIT; in wait()
75 arg.vsync.pipe = disp; in wait()
78 bool ret = drm->writeReadIoctl(DRM_PSB_VSYNC_SET, &arg, sizeof(arg)); in wait()
79 timestamp = (int64_t)arg.vsync.timestamp; in wait()