Home
last modified time | relevance | path

Searched refs:req32 (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_ioc32.c170 drm_radeon_texture32_t req32; in compat_radeon_cp_texture() local
175 if (copy_from_user(&req32, (void __user *)arg, sizeof(req32))) in compat_radeon_cp_texture()
177 if (req32.image == 0) in compat_radeon_cp_texture()
179 if (copy_from_user(&img32, (void __user *)(unsigned long)req32.image, in compat_radeon_cp_texture()
189 if (__put_user(req32.offset, &request->offset) in compat_radeon_cp_texture()
190 || __put_user(req32.pitch, &request->pitch) in compat_radeon_cp_texture()
191 || __put_user(req32.format, &request->format) in compat_radeon_cp_texture()
192 || __put_user(req32.width, &request->width) in compat_radeon_cp_texture()
193 || __put_user(req32.height, &request->height) in compat_radeon_cp_texture()
218 drm_radeon_vertex2_32_t req32; in compat_radeon_cp_vertex2() local
[all …]
/drivers/gpu/drm/
Ddrm_ioc32.c437 drm_buf_info32_t req32; in compat_drm_infobufs() local
446 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_infobufs()
449 count = req32.count; in compat_drm_infobufs()
450 to = (drm_buf_desc32_t __user *) (unsigned long)req32.list; in compat_drm_infobufs()
502 drm_buf_map32_t req32; in compat_drm_mapbufs() local
511 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_mapbufs()
513 count = req32.count; in compat_drm_mapbufs()
514 list32 = (void __user *)(unsigned long)req32.list; in compat_drm_mapbufs()
559 drm_buf_free32_t req32; in compat_drm_freebufs() local
563 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_freebufs()
[all …]
/drivers/gpu/drm/i915/
Di915_ioc32.c51 struct drm_i915_getparam32 req32; in compat_i915_getparam() local
54 if (copy_from_user(&req32, (void __user *)arg, sizeof(req32))) in compat_i915_getparam()
59 || __put_user(req32.param, &request->param) in compat_i915_getparam()
60 || __put_user((void __user *)(unsigned long)req32.value, in compat_i915_getparam()
/drivers/scsi/
Dhptiop.c411 u32 req32; in iop_get_config_itl() local
414 req32 = readl(&hba->u.itl.iop->inbound_queue); in iop_get_config_itl()
415 if (req32 == IOPMU_QUEUE_EMPTY) in iop_get_config_itl()
419 ((unsigned long)hba->u.itl.iop + req32); in iop_get_config_itl()
432 writel(req32, &hba->u.itl.iop->outbound_queue); in iop_get_config_itl()
483 u32 req32; in iop_set_config_itl() local
486 req32 = readl(&hba->u.itl.iop->inbound_queue); in iop_set_config_itl()
487 if (req32 == IOPMU_QUEUE_EMPTY) in iop_set_config_itl()
491 ((unsigned long)hba->u.itl.iop + req32); in iop_set_config_itl()
508 writel(req32, &hba->u.itl.iop->outbound_queue); in iop_set_config_itl()