| /OK3568_Linux_fs/external/xserver/randr/ |
| H A D | rroutput.c | 97 output->numCrtcs = 0; in RROutputCreate() 265 RROutputSetCrtcs(RROutputPtr output, RRCrtcPtr * crtcs, int numCrtcs) in RROutputSetCrtcs() argument 270 if (numCrtcs == output->numCrtcs) { in RROutputSetCrtcs() 271 for (i = 0; i < numCrtcs; i++) in RROutputSetCrtcs() 274 if (i == numCrtcs) in RROutputSetCrtcs() 277 if (numCrtcs) { in RROutputSetCrtcs() 278 newCrtcs = xallocarray(numCrtcs, sizeof(RRCrtcPtr)); in RROutputSetCrtcs() 285 memcpy(newCrtcs, crtcs, numCrtcs * sizeof(RRCrtcPtr)); in RROutputSetCrtcs() 287 output->numCrtcs = numCrtcs; in RROutputSetCrtcs() 515 .nCrtcs = output->numCrtcs, in ProcRRGetOutputInfo() [all …]
|
| H A D | rrlease.c | 78 RRLeaseAlloc(ScreenPtr screen, RRLease lid, int numCrtcs, int numOutputs) in RRLeaseAlloc() argument 83 numCrtcs * sizeof (RRCrtcPtr) + in RRLeaseAlloc() 91 lease->numCrtcs = numCrtcs; in RRLeaseAlloc() 94 lease->outputs = (RROutputPtr *) (lease->crtcs + numCrtcs); in RRLeaseAlloc() 110 for (c = 0; c < lease->numCrtcs; c++) in RRCrtcIsLeased()
|
| H A D | rrmonitor.c | 131 for (c = 0; !in_use && c < pScrPriv->numCrtcs; c++) { in RRMonitorGetGeometry() 197 int numCrtcs; in RRMonitorInitList() local 204 numCrtcs = pScrPriv->numCrtcs; in RRMonitorInitList() 212 numCrtcs += pSlavePriv->numCrtcs; in RRMonitorInitList() 214 mon_list->num_crtcs = numCrtcs; in RRMonitorInitList() 216 mon_list->server_crtc = calloc(numCrtcs * 2, sizeof (RRCrtcPtr)); in RRMonitorInitList() 222 for (sc = 0; sc < pScrPriv->numCrtcs; sc++, c++) { in RRMonitorInitList() 234 for (sc = 0; sc < pSlavePriv->numCrtcs; sc++, c++) { in RRMonitorInitList() 262 for (c = 0; c < numCrtcs; c++) { in RRMonitorInitList()
|
| H A D | rrcrtc.c | 70 pScrPriv->numCrtcs + 1, sizeof(RRCrtcPtr)); in RRCrtcCreate() 102 pScrPriv->crtcs[pScrPriv->numCrtcs++] = crtc; in RRCrtcCreate() 334 for (i = 0; i < pScrPriv->numCrtcs; ++i) { in mark_crtcs() 347 int i, n = pScrPriv->numCrtcs; in RRComputeContiguity() 646 for (c = 0; c < pScrPriv->numCrtcs; c++) { in rrCheckPixmapBounding() 675 for (c = 0; c < slave_priv->numCrtcs; c++) { in rrCheckPixmapBounding() 884 for (c = 0; c < lease->numCrtcs; c++) { in RRCrtcDestroyResource() 892 for (i = 0; i < pScrPriv->numCrtcs; i++) { in RRCrtcDestroyResource() 895 (pScrPriv->numCrtcs - (i + 1)) * sizeof(RRCrtcPtr)); in RRCrtcDestroyResource() 896 --pScrPriv->numCrtcs; in RRCrtcDestroyResource() [all …]
|
| H A D | randr.c | 98 for (j = pScrPriv->numCrtcs - 1; j >= 0; j--) in RRCloseScreen() 360 pScrPriv->numCrtcs = 0; in RRScreenInit() 506 for (i = 0; i < pScrPriv->numCrtcs; i++) { in TellChanged() 518 for (i = 0; i < pSlaveScrPriv->numCrtcs; i++) { in TellChanged() 645 for (i = 0; i < pScrPriv->numCrtcs; i++) in RRTellChanged() 654 for (i = 0; i < pSlaveScrPriv->numCrtcs; i++) in RRTellChanged() 684 for (i = 0; i < pScrPriv->numCrtcs; i++) { in RRFirstOutput()
|
| H A D | rrpointer.c | 64 for (c = 0; c < pScrPriv->numCrtcs; c++) { in RRPointerToNearestCrtc() 116 for (c = 0; c < pScrPriv->numCrtcs; c++) { in RRPointerMoved()
|
| H A D | rrscreen.c | 95 RRCrtcPtr crtc = pScrPriv->numCrtcs ? pScrPriv->crtcs[0] : NULL; in RRDeliverScreenEvent() 266 for (i = 0; i < pScrPriv->numCrtcs; i++) { in ProcRRSetScreenSize() 300 total_crtcs += pScrPriv->numCrtcs; \ 329 for (j = 0; j < pScrPriv->numCrtcs; j++) { \ 544 .nCrtcs = pScrPriv->numCrtcs, in rrGetScreenResources() 554 rep.length = (pScrPriv->numCrtcs + in rrGetScreenResources() 571 outputs = (RROutput *) (crtcs + pScrPriv->numCrtcs); in rrGetScreenResources() 582 for (i = 0; i < pScrPriv->numCrtcs; i++) { in rrGetScreenResources() 1080 for (c = 0; c < pScrPriv->numCrtcs; c++) { in ProcRRSetScreenConfig()
|
| H A D | rrinfo.c | 91 if (pScrPriv->numOutputs == 0 && pScrPriv->numCrtcs == 0) { in RRScanOldConfig() 183 if (pScrPriv->numCrtcs != 0 || pScrPriv->numOutputs != 0) in RRGetInfo() 189 for (i = 0; i < pScrPriv->numCrtcs; i++) in RRGetInfo()
|
| H A D | rrprovider.c | 165 .nCrtcs = pScrPriv->numCrtcs, in ProcRRGetProviderInfo() 181 rep.length = (pScrPriv->numCrtcs + pScrPriv->numOutputs + in ProcRRGetProviderInfo() 199 for (i = 0; i < pScrPriv->numCrtcs; i++) { in ProcRRGetProviderInfo()
|
| H A D | randrstr.h | 148 int numCrtcs; member 201 int numCrtcs; member 381 int numCrtcs; member 918 RROutputSetCrtcs(RROutputPtr output, RRCrtcPtr * crtcs, int numCrtcs);
|
| H A D | rrdispatch.c | 162 for (i = 0; i < pScrPriv->numCrtcs; i++) { in ProcRRSelectInput()
|
| H A D | rrmode.c | 196 for (c = 0; c < pScrPriv->numCrtcs; c++) { in RRModesForScreen()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/ |
| H A D | vblank.c | 136 for (i = 0; i < pScrPriv->numCrtcs; i++) { in ms_first_output() 241 for (c = 0; c < pScrPriv->numCrtcs; c++) { in ms_covering_randr_crtc()
|
| H A D | drmmode_display.c | 3800 int ncrtc = lease->numCrtcs; in drmmode_create_lease()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/modes/ |
| H A D | xf86RandR12.c | 2063 for (i = 0; i < rp->numCrtcs; i++) in xf86RandR12EnterVT() 2076 for (i = 0; i < rp->numCrtcs; i++) in xf86DetachOutputGPU() 2241 for (c = 0; c < lease->numCrtcs; c++) { in xf86CrtcLeaseTerminated() 2257 for (c = 0; c < lease->numCrtcs; c++) in xf86CrtcLeaseTerminated() 2260 if (c != lease->numCrtcs) in xf86CrtcLeaseTerminated() 2294 for (c = 0; c < lease->numCrtcs; c++) { in xf86CrtcLeaseStarted()
|
| /OK3568_Linux_fs/external/xserver/hw/xwayland/ |
| H A D | xwayland-present.c | 321 if (rr_private->numCrtcs == 0) in xwl_present_get_crtc()
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 3904 invalid when `numCrtcs` is 0. 3923 check for `numCrtcs` being 0 and return `NULL` in that case. 11711 where the private's numCrtcs (resp. numOutputs) field is zero, but the 11712 associated memory is still allocated. Just checking if numCrtcs (resp. 11717 numCrtcs (resp. numOutputs) is actually unnecessary, because
|