Lines Matching refs:out_resp

461 	struct drm_mode_get_property *out_resp = data;  in drm_mode_getproperty_ioctl()  local
473 property = drm_property_find(dev, file_priv, out_resp->prop_id); in drm_mode_getproperty_ioctl()
477 strscpy_pad(out_resp->name, property->name, DRM_PROP_NAME_LEN); in drm_mode_getproperty_ioctl()
478 out_resp->flags = property->flags; in drm_mode_getproperty_ioctl()
481 values_ptr = u64_to_user_ptr(out_resp->values_ptr); in drm_mode_getproperty_ioctl()
484 if (i < out_resp->count_values && in drm_mode_getproperty_ioctl()
489 out_resp->count_values = value_count; in drm_mode_getproperty_ioctl()
492 enum_ptr = u64_to_user_ptr(out_resp->enum_blob_ptr); in drm_mode_getproperty_ioctl()
498 if (out_resp->count_enum_blobs < enum_count) in drm_mode_getproperty_ioctl()
510 out_resp->count_enum_blobs = enum_count; in drm_mode_getproperty_ioctl()
522 out_resp->count_enum_blobs = 0; in drm_mode_getproperty_ioctl()
827 struct drm_mode_get_blob *out_resp = data; in drm_mode_getblob_ioctl() local
834 blob = drm_property_lookup_blob(dev, out_resp->blob_id); in drm_mode_getblob_ioctl()
838 if (out_resp->length == blob->length) { in drm_mode_getblob_ioctl()
839 if (copy_to_user(u64_to_user_ptr(out_resp->data), in drm_mode_getblob_ioctl()
846 out_resp->length = blob->length; in drm_mode_getblob_ioctl()
856 struct drm_mode_create_blob *out_resp = data; in drm_mode_createblob_ioctl() local
863 blob = drm_property_create_blob(dev, out_resp->length, NULL); in drm_mode_createblob_ioctl()
868 u64_to_user_ptr(out_resp->data), in drm_mode_createblob_ioctl()
869 out_resp->length)) { in drm_mode_createblob_ioctl()
878 out_resp->blob_id = blob->base.id; in drm_mode_createblob_ioctl()
892 struct drm_mode_destroy_blob *out_resp = data; in drm_mode_destroyblob_ioctl() local
900 blob = drm_property_lookup_blob(dev, out_resp->blob_id); in drm_mode_destroyblob_ioctl()