Home | History | Annotate | Download | only in netbsd32

Lines Matching defs:req64

436 	struct drm_buf_free req64;
442 req64.count = req32.count;
443 req64.list = NETBSD32PTR64(req32.list);
445 return drm_ioctl(file, DRM_IOCTL_FREE_BUFS, &req64);
457 struct drm_ctx_priv_map req64;
463 req64.ctx_id = req32.ctx_id;
464 req64.handle = NETBSD32PTR64(req32.handle);
466 error = drm_ioctl(file, DRM_IOCTL_SET_SAREA_CTX, &req64);
470 req32.ctx_id = req64.ctx_id;
471 NETBSD32PTR32(req32.handle, req64.handle);
479 struct drm_ctx_priv_map req64;
486 req64.ctx_id = req32.ctx_id;
488 error = drm_ioctl(file, DRM_IOCTL_GET_SAREA_CTX, &req64);
492 NETBSD32PTR32(req32.handle, req64.handle);
658 struct drm_agp_buffer req64;
664 req64.size = req32.size;
665 req64.type = req32.type;
667 error = drm_ioctl(file, DRM_IOCTL_AGP_ALLOC, &req64);
671 req32.handle = req64.handle;
672 req32.physical = req64.physical;
674 drm_ioctl(file, DRM_IOCTL_AGP_FREE, &req64);
683 struct drm_agp_buffer req64;
691 req64.handle = handle;
693 return drm_ioctl(file, DRM_IOCTL_AGP_FREE, &req64);
705 struct drm_agp_binding req64;
711 req64.handle = req32.handle;
712 req64.offset = req32.offset;
714 return drm_ioctl(file, DRM_IOCTL_AGP_BIND, &req64);
720 struct drm_agp_binding req64;
729 req64.handle = handle;
731 return drm_ioctl(file, DRM_IOCTL_AGP_UNBIND, &req64);
743 struct drm_scatter_gather req64;
750 req64.size = req32.size;
752 error = drm_ioctl(file, DRM_IOCTL_SG_ALLOC, &req64);
757 req32.handle = req64.handle >> PAGE_SHIFT;
765 struct drm_scatter_gather req64;
774 req64.handle = x << PAGE_SHIFT;
776 return drm_ioctl(file, DRM_IOCTL_SG_FREE, &req64);
789 update32to64(struct drm_update_draw *req64, const drm_update_draw32_t *update32)
791 req64->handle = update32->handle;
792 req64->type = update32->type;
793 req64->num = update32->num;
794 req64->data = update32->data;
800 struct drm_update_draw req64;
806 update32to64(&req64, &update32);
808 error = drm_ioctl(file, DRM_IOCTL_UPDATE_DRAW, &req64);
832 req32to64(union drm_wait_vblank *req64, const drm_wait_vblank32_t *req32)
834 req64->request.type = req32->request.type;
835 req64->request.sequence = req32->request.sequence;
836 req64->request.signal = req32->request.signal;
840 req64to32(drm_wait_vblank32_t *req32, const union drm_wait_vblank *req64)
842 req32->reply.sequence = req64->reply.sequence;
843 req32->reply.tval_sec = req64->reply.tval_sec;
844 req32->reply.tval_usec = req64->reply.tval_usec;
851 union drm_wait_vblank req64;
857 req32to64(&req64, &req32);
859 error = drm_ioctl(file, DRM_IOCTL_WAIT_VBLANK, &req64);
863 req64to32(&req32, &req64);
882 map_req32to64(struct drm_mode_fb_cmd2 *req64, struct drm_mode_fb_cmd232 *req32)
884 req64->width = req32->width;
885 req64->height = req32->height;
886 req64->pixel_format = req32->pixel_format;
887 req64->flags = req32->flags;
894 struct drm_mode_fb_cmd2 req64;
900 map_req32to64(&req64, &req32);
903 req64.handles[i] = req32.handles[i];
904 req64.pitches[i] = req32.pitches[i];
905 req64.offsets[i] = req32.offsets[i];
906 req64.modifier[i] = req32.modifier[i];
909 error = drm_ioctl(file, DRM_IOCTL_MODE_ADDFB2, &req64);
913 req32.fb_id = req64.fb_id;