Home | History | Annotate | Download | only in modeprint

Lines Matching defs:props

95 static int printProperty(int fd, drmModeResPtr res, drmModePropertyPtr props, uint64_t value)
100 printf("Property: %s\n", props->name);
101 printf("\tid : %i\n", props->prop_id);
102 printf("\tflags : %i\n", props->flags);
103 printf("\tcount_values : %d\n", props->count_values);
106 if (props->count_values) {
108 for (j = 0; j < props->count_values; j++)
109 printf(" %" PRIu64, props->values[j]);
114 printf("\tcount_enums : %d\n", props->count_enums);
116 if (props->flags & DRM_MODE_PROP_BLOB) {
128 for (j = 0; j < props->count_enums; j++) {
129 printf("\t\t%lld = %s\n", props->enums[j].value, props->enums[j].name);
130 if (props->enums[j].value == value)
131 name = props->enums[j].name;
134 if (props->count_enums && name) {
167 drmModePropertyPtr props;
184 printf(" %i", connector->props[i]);
205 props = drmModeGetProperty(fd, connector->props[i]);
206 if (props) {
207 printProperty(fd, res, props, connector->prop_values[i]);
208 drmModeFreeProperty(props);
368 } else if (strcmp(argv[i], "-props") == 0) {