• Home
  • Raw
  • Download

Lines Matching refs:out_resp

462 	struct drm_mode_get_property *out_resp = data;  in drm_mode_getproperty_ioctl()  local
474 property = drm_property_find(dev, file_priv, out_resp->prop_id); in drm_mode_getproperty_ioctl()
478 strncpy(out_resp->name, property->name, DRM_PROP_NAME_LEN); in drm_mode_getproperty_ioctl()
479 out_resp->name[DRM_PROP_NAME_LEN-1] = 0; in drm_mode_getproperty_ioctl()
480 out_resp->flags = property->flags; in drm_mode_getproperty_ioctl()
483 values_ptr = u64_to_user_ptr(out_resp->values_ptr); in drm_mode_getproperty_ioctl()
486 if (i < out_resp->count_values && in drm_mode_getproperty_ioctl()
491 out_resp->count_values = value_count; in drm_mode_getproperty_ioctl()
494 enum_ptr = u64_to_user_ptr(out_resp->enum_blob_ptr); in drm_mode_getproperty_ioctl()
500 if (out_resp->count_enum_blobs < enum_count) in drm_mode_getproperty_ioctl()
512 out_resp->count_enum_blobs = enum_count; in drm_mode_getproperty_ioctl()
524 out_resp->count_enum_blobs = 0; in drm_mode_getproperty_ioctl()
760 struct drm_mode_get_blob *out_resp = data; in drm_mode_getblob_ioctl() local
767 blob = drm_property_lookup_blob(dev, out_resp->blob_id); in drm_mode_getblob_ioctl()
771 if (out_resp->length == blob->length) { in drm_mode_getblob_ioctl()
772 if (copy_to_user(u64_to_user_ptr(out_resp->data), in drm_mode_getblob_ioctl()
779 out_resp->length = blob->length; in drm_mode_getblob_ioctl()
789 struct drm_mode_create_blob *out_resp = data; in drm_mode_createblob_ioctl() local
796 blob = drm_property_create_blob(dev, out_resp->length, NULL); in drm_mode_createblob_ioctl()
801 u64_to_user_ptr(out_resp->data), in drm_mode_createblob_ioctl()
802 out_resp->length)) { in drm_mode_createblob_ioctl()
811 out_resp->blob_id = blob->base.id; in drm_mode_createblob_ioctl()
825 struct drm_mode_destroy_blob *out_resp = data; in drm_mode_destroyblob_ioctl() local
833 blob = drm_property_lookup_blob(dev, out_resp->blob_id); in drm_mode_destroyblob_ioctl()