Lines Matching refs:xf86_config

88     xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn);  in xf86CrtcCreate()  local
125 if (xf86_config->crtc) in xf86CrtcCreate()
126 crtcs = reallocarray(xf86_config->crtc, in xf86CrtcCreate()
127 xf86_config->num_crtc + 1, sizeof(xf86CrtcPtr)); in xf86CrtcCreate()
129 crtcs = xallocarray(xf86_config->num_crtc + 1, sizeof(xf86CrtcPtr)); in xf86CrtcCreate()
135 xf86_config->crtc = crtcs; in xf86CrtcCreate()
136 xf86_config->crtc[xf86_config->num_crtc++] = crtc; in xf86CrtcCreate()
143 xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(crtc->scrn); in xf86CrtcDestroy() local
147 for (c = 0; c < xf86_config->num_crtc; c++) in xf86CrtcDestroy()
148 if (xf86_config->crtc[c] == crtc) { in xf86CrtcDestroy()
149 memmove(&xf86_config->crtc[c], in xf86CrtcDestroy()
150 &xf86_config->crtc[c + 1], in xf86CrtcDestroy()
151 ((xf86_config->num_crtc - (c + 1)) * sizeof(void *))); in xf86CrtcDestroy()
152 xf86_config->num_crtc--; in xf86CrtcDestroy()
168 xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn); in xf86CrtcInUse() local
171 for (o = 0; o < xf86_config->num_output; o++) in xf86CrtcInUse()
172 if (xf86_config->output[o]->crtc == crtc) in xf86CrtcInUse()
209 xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); in xf86CrtcSetScreenSubpixelOrder() local
212 for (icrtc = 0; icrtc < xf86_config->num_crtc; icrtc++) { in xf86CrtcSetScreenSubpixelOrder()
213 xf86CrtcPtr crtc = xf86_config->crtc[icrtc]; in xf86CrtcSetScreenSubpixelOrder()
215 for (o = 0; o < xf86_config->num_output; o++) { in xf86CrtcSetScreenSubpixelOrder()
216 xf86OutputPtr output = xf86_config->output[o]; in xf86CrtcSetScreenSubpixelOrder()
272 xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); in xf86CrtcSetModeTransform() local
328 for (i = 0; i < xf86_config->num_output; i++) { in xf86CrtcSetModeTransform()
329 xf86OutputPtr output = xf86_config->output[i]; in xf86CrtcSetModeTransform()
347 for (i = 0; i < xf86_config->num_output; i++) { in xf86CrtcSetModeTransform()
348 xf86OutputPtr output = xf86_config->output[i]; in xf86CrtcSetModeTransform()
363 for (i = 0; i < xf86_config->num_output; i++) { in xf86CrtcSetModeTransform()
364 xf86OutputPtr output = xf86_config->output[i]; in xf86CrtcSetModeTransform()
377 for (i = 0; i < xf86_config->num_output; i++) { in xf86CrtcSetModeTransform()
378 xf86OutputPtr output = xf86_config->output[i]; in xf86CrtcSetModeTransform()
397 if (!xf86_config->cursor_on) in xf86CrtcSetModeTransform()
622 xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); in xf86OutputCreate() local
644 output->use_screen_monitor = (xf86_config->num_output == 0); in xf86OutputCreate()
656 if (xf86_config->output) in xf86OutputCreate()
657 outputs = reallocarray(xf86_config->output, in xf86OutputCreate()
658 xf86_config->num_output + 1, in xf86OutputCreate()
661 outputs = xallocarray(xf86_config->num_output + 1, in xf86OutputCreate()
668 xf86_config->output = outputs; in xf86OutputCreate()
671 memmove(xf86_config->output + 1, xf86_config->output, in xf86OutputCreate()
672 xf86_config->num_output * sizeof(xf86OutputPtr)); in xf86OutputCreate()
673 xf86_config->output[0] = output; in xf86OutputCreate()
676 xf86_config->output[xf86_config->num_output] = output; in xf86OutputCreate()
679 xf86_config->num_output++; in xf86OutputCreate()
714 xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); in xf86OutputDestroy() local
720 for (o = 0; o < xf86_config->num_output; o++) in xf86OutputDestroy()
721 if (xf86_config->output[o] == output) { in xf86OutputDestroy()
722 memmove(&xf86_config->output[o], in xf86OutputDestroy()
723 &xf86_config->output[o + 1], in xf86OutputDestroy()
724 ((xf86_config->num_output - (o + 1)) * sizeof(void *))); in xf86OutputDestroy()
725 xf86_config->num_output--; in xf86OutputDestroy()
3045 xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn); in xf86DisableUnusedFunctions() local
3048 for (o = 0; o < xf86_config->num_output; o++) { in xf86DisableUnusedFunctions()
3049 xf86OutputPtr output = xf86_config->output[o]; in xf86DisableUnusedFunctions()
3055 for (c = 0; c < xf86_config->num_crtc; c++) { in xf86DisableUnusedFunctions()
3056 xf86CrtcPtr crtc = xf86_config->crtc[c]; in xf86DisableUnusedFunctions()
3349 xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn); in xf86_covering_crtc() local
3361 for (c = 0; c < xf86_config->num_crtc; c++) { in xf86_covering_crtc()
3362 crtc = xf86_config->crtc[c]; in xf86_covering_crtc()
3465 xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn); in xf86_crtc_supports_gamma() local
3469 if (!xf86_config) in xf86_crtc_supports_gamma()
3471 if (xf86_config->num_crtc == 0) in xf86_crtc_supports_gamma()
3473 crtc = xf86_config->crtc[0]; in xf86_crtc_supports_gamma()
3485 xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); in xf86ProviderSetup() local
3487 assert(!xf86_config->name); in xf86ProviderSetup()
3490 xf86_config->name = strdup(name); in xf86ProviderSetup()
3491 xf86_config->provider_funcs = funcs; in xf86ProviderSetup()
3493 xf86_config->randr_provider = NULL; in xf86ProviderSetup()
3500 xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); in xf86DetachAllCrtc() local
3503 for (i = 0; i < xf86_config->num_crtc; i++) { in xf86DetachAllCrtc()
3504 xf86CrtcPtr crtc = xf86_config->crtc[i]; in xf86DetachAllCrtc()