Lines Matching defs:in

45  * * AXE-1-16M (found in Texas Instruments AM62)
61 * * -%EINVAL if any bits in &drm_pvr_ioctl_create_bo_args.flags that are
63 * * -%EINVAL if any padding fields in &drm_pvr_ioctl_create_bo_args are not
158 * * -%EINVAL if any padding fields in &struct
197 * Allocate a fake offset which can be used in userspace calls to mmap
427 * in a struct drm_pvr_dev_query_quirks, or gets the amount of space required
435 * If the userspace pointer in the query object is NULL, or the count is
439 * The size field in the query object will be updated to the size copied.
455 * a refactor in the future to store them in a more appropriate
521 * address given in a struct drm_pvr_dev_query_enhancements, or gets the amount
529 * If the userspace pointer in the query object is NULL, or the count is
533 * The size field in the query object will be updated to the size copied.
549 * a refactor in the future to store them in a more appropriate
609 * small, the expected size of the struct type will be returned in the size
708 * * -%EINVAL if context not in context list.
788 * * -%EINVAL if free list not in object list.
874 * * -%EINVAL if HWRT dataset not in object list.
965 ���* * -%EINVAL if object not in object list.
1171 pvr_set_uobj(u64 usr_ptr, u32 usr_stride, u32 min_stride, u32 obj_size, const void *in)
1176 if (copy_to_user(u64_to_user_ptr(usr_ptr), in, min_t(u32, usr_stride, obj_size)))
1188 pvr_get_uobj_array(const struct drm_pvr_obj_array *in, u32 min_stride, u32 obj_size, void **out)
1193 if (in->stride < min_stride)
1196 if (!in->count)
1199 out_alloc = kvmalloc_array(in->count, obj_size, GFP_KERNEL);
1203 if (obj_size == in->stride) {
1204 if (copy_from_user(out_alloc, u64_to_user_ptr(in->array),
1205 (unsigned long)obj_size * in->count))
1208 void __user *in_ptr = u64_to_user_ptr(in->array);
1211 for (u32 i = 0; i < in->count; i++) {
1212 ret = copy_struct_from_user(out_ptr, obj_size, in_ptr, in->stride);
1217 in_ptr += in->stride;
1232 const void *in)
1241 if (copy_to_user(u64_to_user_ptr(out->array), in,
1247 const void *in_ptr = in;
1300 * Registered in &pvr_drm_driver.
1324 * Store reference to powervr-specific outer device struct in file
1335 * Store reference to powervr-specific file private data in DRM file
1351 * Registered in &pvr_drm_driver.