Searched refs:resources (Results 1 – 3 of 3) sorted by relevance
59 drmModeRes *resources; variable122 for (i = 0; i < resources->count_encoders; i++) { in type_name_fn()123 encoder = drmModeGetEncoder(fd, resources->encoders[i]); in type_name_fn()127 resources->encoders[i], strerror(errno)); in type_name_fn()176 for (i = 0; i < resources->count_connectors; i++) { in dump_connectors()177 connector = drmModeGetConnector(fd, resources->connectors[i]); in dump_connectors()181 resources->connectors[i], strerror(errno)); in dump_connectors()217 for (i = 0; i < resources->count_crtcs; i++) { in dump_crtcs()218 crtc = drmModeGetCrtc(fd, resources->crtcs[i]); in dump_crtcs()222 resources->crtcs[i], strerror(errno)); in dump_crtcs()[all …]
134 drmModeRes *resources; in psb_HDMIExt_init() local156 resources = drmModeGetResources(driver_data->drm_fd); in psb_HDMIExt_init()157 if (!resources) { in psb_HDMIExt_init()163 for (i = 0; i < resources->count_connectors; i++) { in psb_HDMIExt_init()164 connector = drmModeGetConnector(driver_data->drm_fd, resources->connectors[i]); in psb_HDMIExt_init()168 resources->connectors[i]); in psb_HDMIExt_init()208 if (resources) in psb_HDMIExt_init()209 drmModeFreeResources(resources); in psb_HDMIExt_init()214 if (resources) in psb_HDMIExt_init()215 drmModeFreeResources(resources); in psb_HDMIExt_init()
86 drmModeResPtr resources = drmModeGetResources(mDrmFd); in detect() local87 if (!resources) { in detect()97 for (int i = 0; i < resources->count_connectors; i++) { in detect()98 if (!resources->connectors || !resources->connectors[i]) { in detect()103 connector = drmModeGetConnector(mDrmFd, resources->connectors[i]); in detect()136 for (int j = 0; j < resources->count_encoders; j++) { in detect()137 if (!resources->encoders || !resources->encoders[j]) { in detect()142 encoder = drmModeGetEncoder(mDrmFd, resources->encoders[i]); in detect()172 for (int j = 0; j < resources->count_crtcs; j++) { in detect()173 if (!resources->crtcs || !resources->crtcs[j]) { in detect()[all …]