Searched refs:resources (Results 1 – 3 of 3) sorted by relevance
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 …]