Searched refs:out_resp (Results 1 – 3 of 3) sorted by relevance
460 struct drm_mode_get_property *out_resp = data; in drm_mode_getproperty_ioctl() local472 property = drm_property_find(dev, file_priv, out_resp->prop_id); in drm_mode_getproperty_ioctl()476 strscpy_pad(out_resp->name, property->name, DRM_PROP_NAME_LEN); in drm_mode_getproperty_ioctl()477 out_resp->flags = property->flags; in drm_mode_getproperty_ioctl()480 values_ptr = u64_to_user_ptr(out_resp->values_ptr); in drm_mode_getproperty_ioctl()483 if (i < out_resp->count_values && in drm_mode_getproperty_ioctl()488 out_resp->count_values = value_count; in drm_mode_getproperty_ioctl()491 enum_ptr = u64_to_user_ptr(out_resp->enum_blob_ptr); in drm_mode_getproperty_ioctl()497 if (out_resp->count_enum_blobs < enum_count) in drm_mode_getproperty_ioctl()509 out_resp->count_enum_blobs = enum_count; in drm_mode_getproperty_ioctl()[all …]
2620 struct drm_mode_get_connector *out_resp = data; in drm_mode_getconnector() local2638 connector = drm_connector_lookup(dev, file_priv, out_resp->connector_id); in drm_mode_getconnector()2644 if ((out_resp->count_encoders >= encoders_count) && encoders_count) { in drm_mode_getconnector()2646 encoder_ptr = (uint32_t __user *)(unsigned long)(out_resp->encoders_ptr); in drm_mode_getconnector()2656 out_resp->count_encoders = encoders_count; in drm_mode_getconnector()2658 out_resp->connector_id = connector->base.id; in drm_mode_getconnector()2659 out_resp->connector_type = connector->connector_type; in drm_mode_getconnector()2660 out_resp->connector_type_id = connector->connector_type_id; in drm_mode_getconnector()2665 if (out_resp->count_modes == 0) { in drm_mode_getconnector()2675 out_resp->mm_width = connector->display_info.width_mm; in drm_mode_getconnector()[all …]
311 goto out_resp; in main()315 goto out_resp; in main()329 goto out_resp; in main()332 out_resp: in main()