Lines Matching refs:connector
142 int printConnector(int fd, drmModeResPtr res, drmModeConnectorPtr connector, uint32_t id) in printConnector() argument
148 printf("Connector: %d-%d\n", connector->connector_type, connector->connector_type_id); in printConnector()
150 printf("\tencoder id : %i\n", connector->encoder_id); in printConnector()
151 printf("\tconn : %s\n", getConnectionText(connector->connection)); in printConnector()
152 printf("\tsize : %ix%i (mm)\n", connector->mmWidth, connector->mmHeight); in printConnector()
153 printf("\tcount_modes : %i\n", connector->count_modes); in printConnector()
154 printf("\tcount_props : %i\n", connector->count_props); in printConnector()
155 if (connector->count_props) { in printConnector()
157 for (i = 0; i < connector->count_props; i++) in printConnector()
158 printf(" %i", connector->props[i]); in printConnector()
162 printf("\tcount_encoders : %i\n", connector->count_encoders); in printConnector()
163 if (connector->count_encoders) { in printConnector()
165 for (i = 0; i < connector->count_encoders; i++) in printConnector()
166 printf(" %i", connector->encoders[i]); in printConnector()
171 for (i = 0; i < connector->count_modes; i++) { in printConnector()
172 mode = &connector->modes[i]; in printConnector()
178 for (i = 0; i < connector->count_props; i++) { in printConnector()
179 props = drmModeGetProperty(fd, connector->props[i]); in printConnector()
181 printProperty(fd, res, props, connector->prop_values[i]); in printConnector()
235 drmModeConnectorPtr connector; in printRes() local
248 connector = drmModeGetConnector(fd, res->connectors[i]); in printRes()
250 if (!connector) in printRes()
253 printConnector(fd, res, connector, res->connectors[i]); in printRes()
254 drmModeFreeConnector(connector); in printRes()