Lines Matching refs:has_primary
328 #define update_arrays(gpuscreen, pScrPriv, primary_crtc, has_primary) do { \ argument
330 if (has_primary && \
332 has_primary = 0; \
381 int has_primary = 0; in rrGetMultiScreenResources() local
447 has_primary = 1; in rrGetMultiScreenResources()
454 update_arrays(pScreen, pScrPriv, primary_crtc, has_primary); in rrGetMultiScreenResources()
462 update_arrays(iter, pScrPriv, primary_crtc, has_primary); in rrGetMultiScreenResources()
494 int i, rc, has_primary = 0; in rrGetScreenResources() local
576 has_primary = 1; in rrGetScreenResources()
583 if (has_primary && in rrGetScreenResources()
585 has_primary = 0; in rrGetScreenResources()
588 crtcs[i + has_primary] = pScrPriv->crtcs[i]->id; in rrGetScreenResources()
590 swapl(&crtcs[i + has_primary]); in rrGetScreenResources()