Lines Matching refs:out_resp

457 	struct drm_mode_get_property *out_resp = data;  in drm_mode_getproperty_ioctl()  local
469 property = drm_property_find(dev, file_priv, out_resp->prop_id); in drm_mode_getproperty_ioctl()
473 strncpy(out_resp->name, property->name, DRM_PROP_NAME_LEN); in drm_mode_getproperty_ioctl()
474 out_resp->name[DRM_PROP_NAME_LEN-1] = 0; in drm_mode_getproperty_ioctl()
475 out_resp->flags = property->flags; in drm_mode_getproperty_ioctl()
478 values_ptr = u64_to_user_ptr(out_resp->values_ptr); in drm_mode_getproperty_ioctl()
481 if (i < out_resp->count_values && in drm_mode_getproperty_ioctl()
486 out_resp->count_values = value_count; in drm_mode_getproperty_ioctl()
489 enum_ptr = u64_to_user_ptr(out_resp->enum_blob_ptr); in drm_mode_getproperty_ioctl()
495 if (out_resp->count_enum_blobs < enum_count) in drm_mode_getproperty_ioctl()
507 out_resp->count_enum_blobs = enum_count; in drm_mode_getproperty_ioctl()
519 out_resp->count_enum_blobs = 0; in drm_mode_getproperty_ioctl()
755 struct drm_mode_get_blob *out_resp = data; in drm_mode_getblob_ioctl() local
762 blob = drm_property_lookup_blob(dev, out_resp->blob_id); in drm_mode_getblob_ioctl()
766 if (out_resp->length == blob->length) { in drm_mode_getblob_ioctl()
767 if (copy_to_user(u64_to_user_ptr(out_resp->data), in drm_mode_getblob_ioctl()
774 out_resp->length = blob->length; in drm_mode_getblob_ioctl()
784 struct drm_mode_create_blob *out_resp = data; in drm_mode_createblob_ioctl() local
791 blob = drm_property_create_blob(dev, out_resp->length, NULL); in drm_mode_createblob_ioctl()
796 u64_to_user_ptr(out_resp->data), in drm_mode_createblob_ioctl()
797 out_resp->length)) { in drm_mode_createblob_ioctl()
806 out_resp->blob_id = blob->base.id; in drm_mode_createblob_ioctl()
820 struct drm_mode_destroy_blob *out_resp = data; in drm_mode_destroyblob_ioctl() local
828 blob = drm_property_lookup_blob(dev, out_resp->blob_id); in drm_mode_destroyblob_ioctl()