| /xsrc/external/mit/libdrm/dist/tests/modeprint/ |
| H A D | modeprint.c | 54 int crtcs; variable in typeref:typename:int 278 if (crtcs) { 280 crtc = drmModeGetCrtc(fd, res->crtcs[i]); 283 printf("Could not get crtc %i\n", res->crtcs[i]); 285 printCrtc(fd, res, crtc, res->crtcs[i]); 315 crtcs = 0; 329 } else if (strcmp(argv[i], "-crtcs") == 0) { 330 crtcs = 1; 359 crtcs = 1; 374 crtcs [all...] |
| /xsrc/external/mit/xorg-server.old/dist/randr/ |
| H A D | rroutput.c | 90 output->crtcs = NULL; 260 RRCrtcPtr *crtcs, 269 if (output->crtcs[i] != crtcs[i]) 282 free(output->crtcs); 283 memcpy (newCrtcs, crtcs, numCrtcs * sizeof (RRCrtcPtr)); 284 output->crtcs = newCrtcs; 405 free(output->crtcs); 446 RRCrtc *crtcs; local in function:ProcRRGetOutputInfo 488 crtcs 259 RROutputSetCrtcs(RROutputPtr output,RRCrtcPtr * crtcs,int numCrtcs) argument [all...] |
| H A D | rrpointer.c | 65 RRCrtcPtr crtc = pScrPriv->crtcs[c]; 117 RRCrtcPtr crtc = pScrPriv->crtcs[c];
|
| H A D | randr.c | 95 RRCrtcDestroy (pScrPriv->crtcs[j]); 99 free(pScrPriv->crtcs); 276 pScrPriv->crtcs = NULL; 394 RRCrtcPtr crtc = pScrPriv->crtcs[i]; 435 pScrPriv->crtcs[i]->changed = FALSE; 469 RRCrtcPtr crtc = pScrPriv->crtcs[i];
|
| H A D | rrscreen.c | 99 RRCrtcPtr crtc = pScrPriv->numCrtcs ? pScrPriv->crtcs[0] : NULL; 277 RRCrtcPtr crtc = pScrPriv->crtcs[i]; 322 RRCrtc *crtcs; local in function:rrGetScreenResources 394 crtcs = (RRCrtc *) extra; 395 outputs = (RROutput *) (crtcs + pScrPriv->numCrtcs); 402 crtcs[0] = pScrPriv->primaryOutput->crtc->id; 404 swapl (&crtcs[0], n); 410 pScrPriv->primaryOutput->crtc == pScrPriv->crtcs[i]) 415 crtcs[i + has_primary] = pScrPriv->crtcs[ [all...] |
| H A D | rrcrtc.c | 57 RRCrtcPtr *crtcs; local in function:RRCrtcCreate 67 crtcs = realloc(pScrPriv->crtcs, 70 crtcs = malloc(sizeof (RRCrtcPtr)); 71 if (!crtcs) 73 pScrPriv->crtcs = crtcs; 102 pScrPriv->crtcs[pScrPriv->numCrtcs++] = crtc; 433 if (pScrPriv->crtcs[i] == crtc) 435 memmove (pScrPriv->crtcs [all...] |
| /xsrc/external/mit/xorg-server/dist/randr/ |
| H A D | rroutput.c | 98 output->crtcs = NULL; 265 RROutputSetCrtcs(RROutputPtr output, RRCrtcPtr * crtcs, int numCrtcs) argument 272 if (output->crtcs[i] != crtcs[i]) 284 free(output->crtcs); 285 memcpy(newCrtcs, crtcs, numCrtcs * sizeof(RRCrtcPtr)); 286 output->crtcs = newCrtcs; 418 free(output->crtcs); 459 RRCrtc *crtcs; local in function:ProcRRGetOutputInfo 534 crtcs [all...] |
| H A D | rrpointer.c | 65 RRCrtcPtr crtc = pScrPriv->crtcs[c]; 117 RRCrtcPtr crtc = pScrPriv->crtcs[c];
|
| H A D | rrscreen.c | 95 RRCrtcPtr crtc = pScrPriv->numCrtcs ? pScrPriv->crtcs[0] : NULL; 267 RRCrtcPtr crtc = pScrPriv->crtcs[i]; 331 primary_crtc == pScrPriv->crtcs[j]) { \ 335 crtcs[crtc_count] = pScrPriv->crtcs[j]->id; \ 337 swapl(&crtcs[crtc_count]); \ 376 RRCrtc *crtcs; local in function:rrGetMultiScreenResources 436 crtcs = (RRCrtc *)extra; 437 outputs = (RROutput *)(crtcs + total_crtcs); 449 crtcs[ 495 RRCrtc *crtcs; local in function:rrGetScreenResources [all...] |
| H A D | rrlease.c | 93 lease->crtcs = (RRCrtcPtr *) (lease + 1); 94 lease->outputs = (RROutputPtr *) (lease->crtcs + numCrtcs); 111 if (lease->crtcs[c] == crtc) 251 /* Look up all of the crtcs */ 270 lease->crtcs[c] = crtc;
|
| H A D | rrprovider.c | 144 RRCrtc *crtcs; local in function:ProcRRGetProviderInfo 194 crtcs = (RRCrtc *)extra; 195 outputs = (RROutput *)(crtcs + rep.nCrtcs); 201 crtcs[i] = pScrPriv->crtcs[i]->id; 203 swapl(&crtcs[i]);
|
| H A D | rrcrtc.c | 60 RRCrtcPtr *crtcs; local in function:RRCrtcCreate 69 crtcs = reallocarray(pScrPriv->crtcs, 71 if (!crtcs) 73 pScrPriv->crtcs = crtcs; 102 pScrPriv->crtcs[pScrPriv->numCrtcs++] = crtc; 337 if (crtcs_adjacent(pScrPriv->crtcs[cur], pScrPriv->crtcs[i])) 356 if (pScrPriv->crtcs[ [all...] |
| H A D | randr.c | 99 RRCrtcDestroy(pScrPriv->crtcs[j]); 108 free(pScrPriv->crtcs); 361 pScrPriv->crtcs = NULL; 507 RRCrtcPtr crtc = pScrPriv->crtcs[i]; 519 RRCrtcPtr crtc = pSecondaryScrPriv->crtcs[i]; 650 pScrPriv->crtcs[i]->changed = FALSE; 659 pSecondaryScrPriv->crtcs[i]->changed = FALSE; 689 RRCrtcPtr crtc = pScrPriv->crtcs[i]; 715 RRCrtcPtr crtc = pScrPriv->crtcs[i];
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/test/ |
| H A D | dri2-test.c | 204 original_crtc[i] = XRRGetCrtcInfo(dpy, res, res->crtcs[i]); 209 XRRSetCrtcConfig(dpy, res, res->crtcs[i], CurrentTime, 231 i, c, (long)res->outputs[i], (long)output->crtcs[c]); 233 XRRSetCrtcConfig(dpy, res, output->crtcs[c], CurrentTime, 244 XRRSetCrtcConfig(dpy, res, output->crtcs[c], CurrentTime, 253 XRRSetCrtcConfig(dpy, res, res->crtcs[i], CurrentTime,
|
| H A D | present-test.c | 280 original_crtc[i] = XRRGetCrtcInfo(dpy, res, res->crtcs[i]); 298 i, j, (long)res->outputs[i], (long)output->crtcs[j]); 299 XRRSetCrtcConfig(dpy, res, output->crtcs[j], CurrentTime, 303 err += func(dpy, output->crtcs[j], mode->width, mode->height, closure); 305 XRRSetCrtcConfig(dpy, res, output->crtcs[j], CurrentTime, 314 XRRSetCrtcConfig(dpy, res, res->crtcs[i], CurrentTime,
|
| /xsrc/external/mit/xf86-video-qxl/dist/src/ |
| H A D | qxl_ums_mode.c | 79 if (qxl->crtcs == NULL) { 85 crtc = qxl->crtcs[i]; 123 crtc = qxl->crtcs[i]; 162 if (crtc == qxl->crtcs[0] && mode == NULL) 472 qxl->crtcs = xnfcalloc (sizeof (xf86CrtcPtr), qxl->num_heads); 477 qxl->crtcs[i] = xf86CrtcCreate (pScrn, &qxl_crtc_funcs); 478 if (!qxl->crtcs[i]) 482 qxl->crtcs[i]->driver_private = qxl_crtc; 504 /* all crtcs are enabled here, but their mode is 0,
|
| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| H A D | dri2-speed.c | 222 original_crtc[i] = XRRGetCrtcInfo(dpy, res, res->crtcs[i]); 226 XRRSetCrtcConfig(dpy, res, res->crtcs[i], CurrentTime, 252 i, c, (long)res->outputs[i], (long)output->crtcs[c], 254 XRRSetCrtcConfig(dpy, res, output->crtcs[c], CurrentTime, 323 XRRSetCrtcConfig(dpy, res, output->crtcs[c], CurrentTime, 331 XRRSetCrtcConfig(dpy, res, res->crtcs[i], CurrentTime,
|
| H A D | dri2-test.c | 292 original_crtc[i] = XRRGetCrtcInfo(dpy, res, res->crtcs[i]); 297 XRRSetCrtcConfig(dpy, res, res->crtcs[i], CurrentTime, 319 i, c, (long)res->outputs[i], (long)output->crtcs[c]); 321 XRRSetCrtcConfig(dpy, res, output->crtcs[c], CurrentTime, 332 XRRSetCrtcConfig(dpy, res, output->crtcs[c], CurrentTime, 341 XRRSetCrtcConfig(dpy, res, res->crtcs[i], CurrentTime,
|
| /xsrc/external/mit/libdrm/dist/man/ |
| H A D | drmModeGetResources.3.rst | 36 uint32_t *crtcs; 52 The *count_crtcs* and *crtcs* fields list the available CRTCs in the
|
| /xsrc/external/mit/libXrandr/dist/src/ |
| H A D | XrrOutput.c | 108 xoi->crtcs = (RRCrtc *) (xoi + 1); 111 xoi->modes = (RRMode *) (xoi->crtcs + rep.nCrtcs); 116 _XRead32 (dpy, (long *) xoi->crtcs, rep.nCrtcs << 2);
|
| H A D | XrrProvider.c | 165 xpi->crtcs = (RRCrtc *)(xpi + 1); 166 xpi->outputs = (RROutput *)(xpi->crtcs + rep.nCrtcs); 171 _XRead32(dpy, (long *) xpi->crtcs, rep.nCrtcs << 2);
|
| H A D | XrrScreen.c | 152 xrsr->crtcs = (RRCrtc *) (xrsr + 1); 154 xrsr->outputs = (RROutput *) (xrsr->crtcs + rep.nCrtcs); 159 _XRead32 (dpy, (long *) xrsr->crtcs, rep.nCrtcs << 2);
|
| /xsrc/external/mit/xrandr/dist/ |
| H A D | xrandr.c | 430 static crtc_t *crtcs; variable in typeref:typename:crtc_t * 798 crtc = &crtcs[c]; 952 if (output_info->crtcs[c] == crtc->crtc.xid) 993 * Report only rotations that are supported by all crtcs 1004 crtc_t *crtc = find_crtc_by_xid (output_info->crtcs[c]); 1022 /* make sure all of the crtcs can use this rotation. 1029 crtc_t *crtc = find_crtc_by_xid (output_info->crtcs[c]); 1316 crtcs = calloc (num_crtcs, sizeof (crtc_t)); 1317 if (!crtcs) fatal ("out of memory\n"); 1321 XRRCrtcInfo *crtc_info = XRRGetCrtcInfo (dpy, res, res->crtcs[ [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| H A D | sna_display_fake.c | 234 RRCrtcPtr crtcs[32]; local in function:add_fake_output 281 crtcs[i - sna->mode.num_real_crtc] = xf86_config->crtc[i]->randr_crtc; 287 if (!RROutputSetCrtcs(rr_output, crtcs, sna->mode.num_fake + 1) ||
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| H A D | sna_display_fake.c | 241 RRCrtcPtr crtcs[32]; local in function:add_fake_output 287 crtcs[i - sna->mode.num_real_crtc] = xf86_config->crtc[i]->randr_crtc; 293 if (!RROutputSetCrtcs(rr_output, crtcs, sna->mode.num_fake + 1) ||
|