Lines Matching defs:out_resp
1534 struct drm_mode_get_connector *out_resp = data;
1555 DRM_DEBUG_KMS("[CONNECTOR:%d:?]\n", out_resp->connector_id);
1559 obj = drm_mode_object_find(dev, out_resp->connector_id,
1575 if (out_resp->count_modes == 0) {
1585 out_resp->connector_id = connector->base.id;
1586 out_resp->connector_type = connector->connector_type;
1587 out_resp->connector_type_id = connector->connector_type_id;
1588 out_resp->mm_width = connector->display_info.width_mm;
1589 out_resp->mm_height = connector->display_info.height_mm;
1590 out_resp->subpixel = connector->display_info.subpixel_order;
1591 out_resp->connection = connector->status;
1593 out_resp->encoder_id = connector->encoder->base.id;
1595 out_resp->encoder_id = 0;
1601 if ((out_resp->count_modes >= mode_count) && mode_count) {
1603 mode_ptr = (struct drm_mode_modeinfo *)(unsigned long)out_resp->modes_ptr;
1614 out_resp->count_modes = mode_count;
1616 if ((out_resp->count_props >= props_count) && props_count) {
1618 prop_ptr = (uint32_t *)(unsigned long)(out_resp->props_ptr);
1619 prop_values = (uint64_t *)(unsigned long)(out_resp->prop_values_ptr);
1635 out_resp->count_props = props_count;
1637 if ((out_resp->count_encoders >= encoders_count) && encoders_count) {
1639 encoder_ptr = (uint32_t *)(unsigned long)(out_resp->encoders_ptr);
1651 out_resp->count_encoders = encoders_count;
2912 struct drm_mode_get_property *out_resp = data;
2930 obj = drm_mode_object_find(dev, out_resp->prop_id, DRM_MODE_OBJECT_PROPERTY);
2947 (void) strncpy(out_resp->name, property->name, DRM_PROP_NAME_LEN);
2948 out_resp->name[DRM_PROP_NAME_LEN-1] = 0;
2949 out_resp->flags = property->flags;
2951 if ((out_resp->count_values >= value_count) && value_count) {
2952 values_ptr = (uint64_t *)(unsigned long)out_resp->values_ptr;
2960 out_resp->count_values = value_count;
2963 if ((out_resp->count_enum_blobs >= enum_count) && enum_count) {
2965 enum_ptr = (struct drm_mode_property_enum *)(unsigned long)out_resp->enum_blob_ptr;
2981 out_resp->count_enum_blobs = enum_count;
2985 if ((out_resp->count_enum_blobs >= blob_count) && blob_count) {
2987 blob_id_ptr = (uint32_t *)(unsigned long)out_resp->enum_blob_ptr;
2988 blob_length_ptr = (uint32_t *)(unsigned long)out_resp->values_ptr;
3004 out_resp->count_enum_blobs = blob_count;
3050 struct drm_mode_get_blob *out_resp = data;
3059 obj = drm_mode_object_find(dev, out_resp->blob_id, DRM_MODE_OBJECT_BLOB);
3066 if (out_resp->length == blob->length) {
3067 blob_ptr = (void *)(unsigned long)out_resp->data;
3073 out_resp->length = blob->length;