Lines Matching refs:crtcs
89 xf86CrtcPtr crtc, *crtcs; in xf86CrtcCreate() local
126 crtcs = reallocarray(xf86_config->crtc, in xf86CrtcCreate()
129 crtcs = xallocarray(xf86_config->num_crtc + 1, sizeof(xf86CrtcPtr)); in xf86CrtcCreate()
130 if (!crtcs) { in xf86CrtcCreate()
135 xf86_config->crtc = crtcs; in xf86CrtcCreate()
966 xf86CrtcPtr *crtcs; in xf86PickCrtcs() local
983 crtcs = xallocarray(config->num_output, sizeof(xf86CrtcPtr)); in xf86PickCrtcs()
984 if (!crtcs) in xf86PickCrtcs()
1027 crtcs[n] = crtc; in xf86PickCrtcs()
1028 memcpy(crtcs, best_crtcs, n * sizeof(xf86CrtcPtr)); in xf86PickCrtcs()
1030 my_score + xf86PickCrtcs(scrn, crtcs, modes, n + 1, width, height); in xf86PickCrtcs()
1033 memcpy(best_crtcs, crtcs, config->num_output * sizeof(xf86CrtcPtr)); in xf86PickCrtcs()
1036 free(crtcs); in xf86PickCrtcs()
2505 xf86CrtcPtr *crtcs; in xf86InitialConfiguration() local
2532 crtcs = xnfcalloc(config->num_output, sizeof(xf86CrtcPtr)); in xf86InitialConfiguration()
2590 if (have_outputs && !xf86PickCrtcs(scrn, crtcs, modes, 0, width, height)) in xf86InitialConfiguration()
2613 xf86CrtcPtr crtc = crtcs[o]; in xf86InitialConfiguration()
2680 free(crtcs); in xf86InitialConfiguration()