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