Lines Matching refs:prop

115 	drmModePropertyPtr prop;  in dump_prop()  local
117 prop = drmModeGetProperty(fd, prop_id); in dump_prop()
120 if (!prop) { in dump_prop()
125 printf(" %s:\n", prop->name); in dump_prop()
128 if (prop->flags & DRM_MODE_PROP_PENDING) in dump_prop()
130 if (prop->flags & DRM_MODE_PROP_IMMUTABLE) in dump_prop()
132 if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE)) in dump_prop()
134 if (drm_property_type_is(prop, DRM_MODE_PROP_RANGE)) in dump_prop()
136 if (drm_property_type_is(prop, DRM_MODE_PROP_ENUM)) in dump_prop()
138 if (drm_property_type_is(prop, DRM_MODE_PROP_BITMASK)) in dump_prop()
140 if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB)) in dump_prop()
142 if (drm_property_type_is(prop, DRM_MODE_PROP_OBJECT)) in dump_prop()
147 if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE)) { in dump_prop()
149 for (i = 0; i < prop->count_values; i++) in dump_prop()
150 printf(" %"PRId64, U642I64(prop->values[i])); in dump_prop()
154 if (drm_property_type_is(prop, DRM_MODE_PROP_RANGE)) { in dump_prop()
156 for (i = 0; i < prop->count_values; i++) in dump_prop()
157 printf(" %"PRIu64, prop->values[i]); in dump_prop()
161 if (drm_property_type_is(prop, DRM_MODE_PROP_ENUM)) { in dump_prop()
163 for (i = 0; i < prop->count_enums; i++) in dump_prop()
164 printf(" %s=%llu", prop->enums[i].name, in dump_prop()
165 prop->enums[i].value); in dump_prop()
167 } else if (drm_property_type_is(prop, DRM_MODE_PROP_BITMASK)) { in dump_prop()
169 for (i = 0; i < prop->count_enums; i++) in dump_prop()
170 printf(" %s=0x%llx", prop->enums[i].name, in dump_prop()
171 (1LL << prop->enums[i].value)); in dump_prop()
174 assert(prop->count_enums == 0); in dump_prop()
177 if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB)) { in dump_prop()
179 for (i = 0; i < prop->count_blobs; i++) in dump_prop()
180 dump_blob(prop->blob_ids[i]); in dump_prop()
183 assert(prop->count_blobs == 0); in dump_prop()
187 if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB)) in dump_prop()
192 drmModeFreeProperty(prop); in dump_prop()