Lines Matching refs:src32

56 	struct drm_map_32 src32;
58 src32.offset = src64->offset;
59 src32.size = (uint32_t)src64->size;
60 src32.type = src64->type;
61 src32.flags = src64->flags;
62 src32.handle = src64->handle;
63 src32.mtrr = src64->mtrr;
65 DRM_COPYTO_WITH_RETURN((void *)dest, &src32, sizeof(src32));
92 struct drm_buf_desc_32 src32;
94 src32.count = src64->count;
95 src32.size = (uint32_t)src64->size;
96 src32.low_mark = src64->low_mark;
97 src32.high_mark = src64->high_mark;
98 src32.flags = src64->flags;
99 src32.agp_start = (uint32_t)src64->agp_start;
101 DRM_COPYTO_WITH_RETURN((void *)dest, &src32, sizeof(src32));
140 struct drm_buf_map_32 src32;
142 src32.count = src64->count;
143 src32.virtual = (caddr32_t)(uintptr_t)src64->virtual;
145 DRM_COPYTO_WITH_RETURN((void *)dest, &src32, sizeof(src32));
168 struct drm_ctx_priv_map_32 src32;
170 src32.ctx_id = src64->ctx_id;
171 src32.handle = (caddr32_t)(uintptr_t)src64->handle;
173 DRM_COPYTO_WITH_RETURN((void *)dest, &src32, sizeof(src32));
196 struct drm_ctx_res_32 src32;
198 src32.count = src64->count;
199 src32.contexts = (caddr32_t)(uintptr_t)src64->contexts;
201 DRM_COPYTO_WITH_RETURN((void *)dest, &src32, sizeof(src32));
224 struct drm_unique_32 src32;
226 src32.unique_len = src64->unique_len;
227 src32.unique = (caddr32_t)(uintptr_t)src64->unique;
229 DRM_COPYTO_WITH_RETURN((void *)dest, &src32, sizeof(src32));
256 struct drm_client_32 src32;
258 src32.idx = src64->idx;
259 src32.auth = src64->auth;
260 src32.pid = (uint32_t)src64->pid;
261 src32.uid = (uint32_t)src64->uid;
262 src32.magic = (uint32_t)src64->magic;
263 src32.iocs = (uint32_t)src64->iocs;
265 DRM_COPYTO_WITH_RETURN((void *)dest, &src32, sizeof(src32));
274 struct drm_stats_32 src32;
277 src32.count = (uint32_t)src64->count;
279 src32.data[i].value = src64->data[i].value;
280 src32.data[i].type = src64->data[i].type;
283 DRM_COPYTO_WITH_RETURN((void *)dest, &src32, sizeof(src32));
310 struct drm_version_32 src32;
312 src32.version_major = src64->version_major;
313 src32.version_minor = src64->version_minor;
314 src32.version_patchlevel = src64->version_patchlevel;
315 src32.name_len = (uint32_t)src64->name_len;
316 src32.name = (caddr32_t)(uintptr_t)src64->name;
317 src32.date_len = (uint32_t)src64->date_len;
318 src32.date = (caddr32_t)(uintptr_t)src64->date;
319 src32.desc_len = (uint32_t)src64->desc_len;
320 src32.desc = (caddr32_t)(uintptr_t)src64->desc;
322 DRM_COPYTO_WITH_RETURN((void *)dest, &src32, sizeof(src32));
346 union drm_wait_vblank_32 src32;
348 src32.reply.type = src64->reply.type;
349 src32.reply.sequence = src64->reply.sequence;
350 src32.reply.tval_sec = (int32_t)src64->reply.tval_sec;
351 src32.reply.tval_usec = (int32_t)src64->reply.tval_usec;
353 DRM_COPYTO_WITH_RETURN((void *)dest, &src32, sizeof(src32));
376 struct drm_scatter_gather_32 src32;
378 src32.size = (uint32_t)src64->size;
379 src32.handle = (uint32_t)src64->handle;
381 DRM_COPYTO_WITH_RETURN((void *)dest, &src32, sizeof(src32));