num_crtc 1339 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c long num_crtc; num_crtc 1346 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c &num_crtc); num_crtc 1349 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (num_crtc < 1) num_crtc 1350 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c num_crtc = 1; num_crtc 1351 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (num_crtc > 6) num_crtc 1352 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c num_crtc = 6; num_crtc 1353 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->mode_info.num_crtc = num_crtc; num_crtc 1355 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->mode_info.num_crtc = 1; num_crtc 1363 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->enable_virtual_display, adev->mode_info.num_crtc); num_crtc 896 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c if (crtc < 0 || crtc >= adev->mode_info.num_crtc) num_crtc 126 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (adev->mode_info.num_crtc && adev->mode_info.mode_config_initialized) { num_crtc 147 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (adev->mode_info.num_crtc && adev->mode_info.mode_config_initialized) { num_crtc 173 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (adev->mode_info.num_crtc && adev->mode_info.mode_config_initialized) { num_crtc 244 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c r = drm_vblank_init(adev->ddev, adev->mode_info.num_crtc); num_crtc 470 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c for (i = 0, found = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 1113 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (pipe >= adev->mode_info.num_crtc) { num_crtc 348 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h int num_crtc; /* number of crtcs */ num_crtc 2999 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->mode_info.num_crtc) num_crtc 41 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->mode_info.num_crtc = 1; num_crtc 262 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 901 drivers/gpu/drm/amd/amdgpu/cik.c if (adev->mode_info.num_crtc) { num_crtc 910 drivers/gpu/drm/amd/amdgpu/cik.c if (adev->mode_info.num_crtc) { num_crtc 927 drivers/gpu/drm/amd/amdgpu/cik.c if (adev->mode_info.num_crtc) { num_crtc 201 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (crtc >= adev->mode_info.num_crtc) num_crtc 212 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) num_crtc 221 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) num_crtc 263 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if ((crtc < 0) || (crtc >= adev->mode_info.num_crtc)) num_crtc 413 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 422 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 461 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c int num_crtc = 0; num_crtc 466 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c num_crtc = 6; num_crtc 469 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c num_crtc = 0; num_crtc 471 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c return num_crtc; num_crtc 1160 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 1164 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2561 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2732 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c adev->mode_info.num_crtc = dce_v10_0_get_num_crtc(adev); num_crtc 2755 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2792 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2958 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (crtc >= adev->mode_info.num_crtc) { num_crtc 2987 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (crtc >= adev->mode_info.num_crtc) { num_crtc 3095 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (type >= adev->mode_info.num_crtc) { num_crtc 3123 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (crtc_id >= adev->mode_info.num_crtc) { num_crtc 3184 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (crtc >= adev->mode_info.num_crtc) { num_crtc 3199 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (crtc >= adev->mode_info.num_crtc) { num_crtc 3485 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c switch (adev->mode_info.num_crtc) { num_crtc 3600 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (adev->mode_info.num_crtc > 0) num_crtc 3601 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_VLINE1 + adev->mode_info.num_crtc; num_crtc 3606 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c adev->pageflip_irq.num_types = adev->mode_info.num_crtc; num_crtc 219 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (crtc < 0 || crtc >= adev->mode_info.num_crtc) num_crtc 230 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) num_crtc 239 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) num_crtc 281 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if ((crtc < 0) || (crtc >= adev->mode_info.num_crtc)) num_crtc 429 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 438 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 477 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c int num_crtc = 0; num_crtc 481 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c num_crtc = 3; num_crtc 484 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c num_crtc = 2; num_crtc 488 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c num_crtc = 6; num_crtc 492 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c num_crtc = 5; num_crtc 495 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c num_crtc = 0; num_crtc 497 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c return num_crtc; num_crtc 1186 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 1190 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2640 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2840 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c adev->mode_info.num_crtc = dce_v11_0_get_num_crtc(adev); num_crtc 2876 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2914 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 3084 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (crtc >= adev->mode_info.num_crtc) { num_crtc 3113 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (crtc >= adev->mode_info.num_crtc) { num_crtc 3221 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (type >= adev->mode_info.num_crtc) { num_crtc 3249 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (crtc_id >= adev->mode_info.num_crtc) { num_crtc 3310 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (crtc < 0 || crtc >= adev->mode_info.num_crtc) { num_crtc 3325 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (crtc < 0 || crtc >= adev->mode_info.num_crtc) { num_crtc 3611 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c switch (adev->mode_info.num_crtc) { num_crtc 3732 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (adev->mode_info.num_crtc > 0) num_crtc 3733 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_VLINE1 + adev->mode_info.num_crtc; num_crtc 3738 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c adev->pageflip_irq.num_types = adev->mode_info.num_crtc; num_crtc 153 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (crtc >= adev->mode_info.num_crtc) num_crtc 164 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) num_crtc 173 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) num_crtc 215 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if ((crtc < 0) || (crtc >= adev->mode_info.num_crtc)) num_crtc 1065 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 1069 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c for (i = 0; i < adev->mode_info.num_crtc; i += 2) { num_crtc 2449 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2600 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c adev->mode_info.num_crtc = dce_v6_0_get_num_crtc(adev); num_crtc 2628 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2663 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2798 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (crtc >= adev->mode_info.num_crtc) { num_crtc 2972 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (type >= adev->mode_info.num_crtc) { num_crtc 3000 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (crtc_id >= adev->mode_info.num_crtc) { num_crtc 3295 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c switch (adev->mode_info.num_crtc) { num_crtc 3409 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (adev->mode_info.num_crtc > 0) num_crtc 3410 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_VLINE1 + adev->mode_info.num_crtc; num_crtc 3415 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c adev->pageflip_irq.num_types = adev->mode_info.num_crtc; num_crtc 149 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (crtc >= adev->mode_info.num_crtc) num_crtc 160 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) num_crtc 169 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) num_crtc 208 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if ((crtc < 0) || (crtc >= adev->mode_info.num_crtc)) num_crtc 347 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 355 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 394 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c int num_crtc = 0; num_crtc 399 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c num_crtc = 6; num_crtc 402 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c num_crtc = 4; num_crtc 406 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c num_crtc = 2; num_crtc 409 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c num_crtc = 0; num_crtc 411 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c return num_crtc; num_crtc 1097 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 1101 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2462 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2620 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c adev->mode_info.num_crtc = dce_v8_0_get_num_crtc(adev); num_crtc 2652 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2689 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 2846 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (crtc >= adev->mode_info.num_crtc) { num_crtc 2897 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (crtc >= adev->mode_info.num_crtc) { num_crtc 3064 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (type >= adev->mode_info.num_crtc) { num_crtc 3092 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (crtc_id >= adev->mode_info.num_crtc) { num_crtc 3373 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c switch (adev->mode_info.num_crtc) { num_crtc 3488 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (adev->mode_info.num_crtc > 0) num_crtc 3489 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_VLINE1 + adev->mode_info.num_crtc; num_crtc 3494 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c adev->pageflip_irq.num_types = adev->mode_info.num_crtc; num_crtc 388 drivers/gpu/drm/amd/amdgpu/dce_virtual.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 468 drivers/gpu/drm/amd/amdgpu/dce_virtual.c for (i = 0; i<adev->mode_info.num_crtc; i++) num_crtc 649 drivers/gpu/drm/amd/amdgpu/dce_virtual.c if (crtc_id >= adev->mode_info.num_crtc) { num_crtc 706 drivers/gpu/drm/amd/amdgpu/dce_virtual.c if (crtc >= adev->mode_info.num_crtc || !adev->mode_info.crtcs[crtc]) { num_crtc 253 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c if (adev->mode_info.num_crtc) { num_crtc 278 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c if (adev->mode_info.num_crtc) { num_crtc 469 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c if (adev->mode_info.num_crtc) { num_crtc 1481 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->mode_info.num_crtc) { num_crtc 1121 drivers/gpu/drm/amd/amdgpu/si.c if (adev->mode_info.num_crtc) { num_crtc 1130 drivers/gpu/drm/amd/amdgpu/si.c if (adev->mode_info.num_crtc) { num_crtc 1147 drivers/gpu/drm/amd/amdgpu/si.c if (adev->mode_info.num_crtc) { num_crtc 4171 drivers/gpu/drm/amd/amdgpu/si_dpm.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 4175 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (i == adev->mode_info.num_crtc) num_crtc 5785 drivers/gpu/drm/amd/amdgpu/si_dpm.c for (i = 0; i < adev->mode_info.num_crtc; i++) { num_crtc 385 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->mode_info.num_crtc) { num_crtc 394 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->mode_info.num_crtc) { num_crtc 411 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->mode_info.num_crtc) { num_crtc 161 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (crtc >= adev->mode_info.num_crtc) num_crtc 184 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if ((crtc < 0) || (crtc >= adev->mode_info.num_crtc)) num_crtc 733 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = adev->dm.display_indexes_num; num_crtc 1815 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c i <= DCN_1_0__SRCID__DC_D1_OTG_VSTARTUP + adev->mode_info.num_crtc - 1; num_crtc 1843 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c i <= DCN_1_0__SRCID__OTG0_IHC_V_UPDATE_NO_LOCK_INTERRUPT + adev->mode_info.num_crtc - 1; num_crtc 1867 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c i <= DCN_1_0__SRCID__HUBP0_FLIP_INTERRUPT + adev->mode_info.num_crtc - 1; num_crtc 2480 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 6; num_crtc 2485 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 4; num_crtc 2491 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 2; num_crtc 2497 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 6; num_crtc 2502 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 3; num_crtc 2507 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 2; num_crtc 2513 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 5; num_crtc 2519 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 6; num_crtc 2526 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 6; num_crtc 2532 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 4; num_crtc 2540 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 6; num_crtc 2545 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 5; num_crtc 2552 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.num_crtc = 4; num_crtc 5264 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c switch (adev->mode_info.num_crtc) { num_crtc 710 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c adev->crtc_irq.num_types = adev->mode_info.num_crtc; num_crtc 713 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c adev->vupdate_irq.num_types = adev->mode_info.num_crtc; num_crtc 716 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c adev->pageflip_irq.num_types = adev->mode_info.num_crtc; num_crtc 301 drivers/gpu/drm/arm/hdlcd_drv.c ret = drm_vblank_init(drm, drm->mode_config.num_crtc); num_crtc 867 drivers/gpu/drm/arm/malidp_drv.c ret = drm_vblank_init(drm, drm->mode_config.num_crtc); num_crtc 931 drivers/gpu/drm/arm/malidp_planes.c unsigned long crtcs = 1 << drm->mode_config.num_crtc; num_crtc 925 drivers/gpu/drm/armada/armada_crtc.c dcrtc->num = drm->mode_config.num_crtc; num_crtc 143 drivers/gpu/drm/armada/armada_drv.c ret = drm_vblank_init(&priv->drm, priv->drm.mode_config.num_crtc); num_crtc 131 drivers/gpu/drm/cirrus/cirrus_drv.h int num_crtc; num_crtc 91 drivers/gpu/drm/drm_atomic.c state->crtcs = kcalloc(dev->mode_config.num_crtc, num_crtc 170 drivers/gpu/drm/drm_atomic.c for (i = 0; i < config->num_crtc; i++) { num_crtc 1496 drivers/gpu/drm/drm_atomic_helper.c for (i = 0; i < dev->mode_config.num_crtc; i++) { num_crtc 35 drivers/gpu/drm/drm_client_modeset.c unsigned int num_crtc = dev->mode_config.num_crtc; num_crtc 42 drivers/gpu/drm/drm_client_modeset.c client->modesets = kcalloc(num_crtc + 1, sizeof(*client->modesets), GFP_KERNEL); num_crtc 52 drivers/gpu/drm/drm_client_modeset.c if (num_crtc == 1) num_crtc 240 drivers/gpu/drm/drm_client_modeset.c if (dev->mode_config.num_crtc > 1) num_crtc 481 drivers/gpu/drm/drm_client_modeset.c if (dev->mode_config.num_crtc > 1) num_crtc 657 drivers/gpu/drm/drm_client_modeset.c num_connectors_enabled < dev->mode_config.num_crtc) { num_crtc 783 drivers/gpu/drm/drm_client_modeset.c (dev->mode_config.num_crtc > 1 && modeset->num_connectors == 1))) { num_crtc 239 drivers/gpu/drm/drm_crtc.c if (WARN_ON(config->num_crtc >= 32)) num_crtc 280 drivers/gpu/drm/drm_crtc.c crtc->index = config->num_crtc++; num_crtc 334 drivers/gpu/drm/drm_crtc.c dev->mode_config.num_crtc--; num_crtc 415 drivers/gpu/drm/drm_mode_config.c dev->mode_config.num_crtc = 0; num_crtc 309 drivers/gpu/drm/exynos/exynos_drm_drv.c ret = drm_vblank_init(drm, drm->mode_config.num_crtc); num_crtc 192 drivers/gpu/drm/exynos/exynos_drm_fbdev.c if (!dev->mode_config.num_crtc) num_crtc 305 drivers/gpu/drm/exynos/exynos_drm_plane.c 1 << dev->mode_config.num_crtc, num_crtc 73 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c ret = drm_vblank_init(dev, dev->mode_config.num_crtc); num_crtc 294 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c ret = drm_vblank_init(dev, dev->mode_config.num_crtc); num_crtc 183 drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c ret = drm_vblank_init(dev, dev->mode_config.num_crtc); num_crtc 390 drivers/gpu/drm/i915/display/intel_display.h (__i) < (__state)->base.dev->mode_config.num_crtc && \ num_crtc 407 drivers/gpu/drm/i915/display/intel_display.h (__i) < (__state)->base.dev->mode_config.num_crtc && \ num_crtc 184 drivers/gpu/drm/mgag200/mgag200_drv.h int num_crtc; num_crtc 101 drivers/gpu/drm/mgag200/mgag200_main.c mdev->num_crtc = 1; num_crtc 212 drivers/gpu/drm/mxsfb/mxsfb_drv.c ret = drm_vblank_init(drm, drm->mode_config.num_crtc); num_crtc 191 drivers/gpu/drm/nouveau/nouveau_display.c ret = drm_vblank_init(dev, dev->mode_config.num_crtc); num_crtc 562 drivers/gpu/drm/nouveau/nouveau_display.c if (dev->mode_config.num_crtc) { num_crtc 548 drivers/gpu/drm/nouveau/nouveau_drm.c if (dev->mode_config.num_crtc) { num_crtc 606 drivers/gpu/drm/nouveau/nouveau_drm.c if (dev->mode_config.num_crtc) num_crtc 816 drivers/gpu/drm/nouveau/nouveau_drm.c if (dev->mode_config.num_crtc) { num_crtc 861 drivers/gpu/drm/nouveau/nouveau_drm.c if (dev->mode_config.num_crtc) { num_crtc 887 drivers/gpu/drm/nouveau/nouveau_drm.c if (dev->mode_config.num_crtc) { num_crtc 547 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (!dev->mode_config.num_crtc || num_crtc 465 drivers/gpu/drm/radeon/atombios_crtc.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 2188 drivers/gpu/drm/radeon/atombios_crtc.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 2750 drivers/gpu/drm/radeon/atombios_encoders.c switch (rdev->num_crtc) { num_crtc 6898 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 4) { num_crtc 6902 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 6) { num_crtc 6907 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 2) { num_crtc 6911 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 4) { num_crtc 6915 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 6) { num_crtc 7250 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 4) { num_crtc 7254 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 6) { num_crtc 7259 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 2) { num_crtc 7265 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 4) { num_crtc 7271 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 6) { num_crtc 7316 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 4) { num_crtc 7322 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 6) { num_crtc 7344 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 4) { num_crtc 7361 drivers/gpu/drm/radeon/cik.c if (rdev->num_crtc >= 6) { num_crtc 9397 drivers/gpu/drm/radeon/cik.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 9401 drivers/gpu/drm/radeon/cik.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 1140 drivers/gpu/drm/radeon/cypress_dpm.c for (i = 0; i < rdev->num_crtc; i++) num_crtc 1198 drivers/gpu/drm/radeon/cypress_dpm.c for (i = 0; i < rdev->num_crtc; i++) num_crtc 1767 drivers/gpu/drm/radeon/cypress_dpm.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 1771 drivers/gpu/drm/radeon/cypress_dpm.c if (i == rdev->num_crtc) num_crtc 1384 drivers/gpu/drm/radeon/evergreen.c if (crtc >= rdev->num_crtc) num_crtc 2333 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 2337 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i += 2) { num_crtc 2678 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 2746 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 2768 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 2785 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 2818 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 3803 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 3811 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 4452 drivers/gpu/drm/radeon/evergreen.c if (crtc >= rdev->num_crtc) num_crtc 4476 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) num_crtc 4478 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) num_crtc 4575 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 4583 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i++) num_crtc 4622 drivers/gpu/drm/radeon/evergreen.c if (i < rdev->num_crtc) num_crtc 4627 drivers/gpu/drm/radeon/evergreen.c for (i = 0; i < rdev->num_crtc; i += 2) { num_crtc 121 drivers/gpu/drm/radeon/r100.c if (crtc >= rdev->num_crtc) num_crtc 1593 drivers/gpu/drm/radeon/r600.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 1601 drivers/gpu/drm/radeon/r600.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 164 drivers/gpu/drm/radeon/r600_dpm.c if (rdev->num_crtc && rdev->mode_info.mode_config_initialized) { num_crtc 190 drivers/gpu/drm/radeon/r600_dpm.c if (rdev->num_crtc && rdev->mode_info.mode_config_initialized) { num_crtc 2414 drivers/gpu/drm/radeon/radeon.h int num_crtc; /* number of crtcs */ num_crtc 2324 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 1; num_crtc 2326 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 2; num_crtc 2426 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 4; num_crtc 2428 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 6; num_crtc 2443 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 4; num_crtc 2445 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 6; num_crtc 2452 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 6; num_crtc 2458 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 4; num_crtc 2472 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 0; num_crtc 2474 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 2; num_crtc 2476 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 6; num_crtc 2586 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 6; num_crtc 2634 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 4; num_crtc 2662 drivers/gpu/drm/radeon/radeon_asic.c rdev->num_crtc = 2; num_crtc 677 drivers/gpu/drm/radeon/radeon_device.c if (rdev->num_crtc >= 4) { num_crtc 681 drivers/gpu/drm/radeon/radeon_device.c if (rdev->num_crtc >= 6) { num_crtc 1621 drivers/gpu/drm/radeon/radeon_display.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 622 drivers/gpu/drm/radeon/radeon_dp_mst.c switch (rdev->num_crtc) { num_crtc 297 drivers/gpu/drm/radeon/radeon_irq_kms.c r = drm_vblank_init(rdev->ddev, rdev->num_crtc); num_crtc 423 drivers/gpu/drm/radeon/radeon_irq_kms.c if (crtc < 0 || crtc >= rdev->num_crtc) num_crtc 449 drivers/gpu/drm/radeon/radeon_irq_kms.c if (crtc < 0 || crtc >= rdev->num_crtc) num_crtc 260 drivers/gpu/drm/radeon/radeon_kms.c for (i = 0, found = 0; i < rdev->num_crtc; i++) { num_crtc 760 drivers/gpu/drm/radeon/radeon_kms.c if (pipe >= rdev->num_crtc) { num_crtc 829 drivers/gpu/drm/radeon/radeon_kms.c if (crtc < 0 || crtc >= rdev->num_crtc) { num_crtc 854 drivers/gpu/drm/radeon/radeon_kms.c if (crtc < 0 || crtc >= rdev->num_crtc) { num_crtc 1658 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->num_crtc && rdev->mode_info.mode_config_initialized) { num_crtc 1732 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->num_crtc && rdev->mode_info.mode_config_initialized) { num_crtc 1771 drivers/gpu/drm/radeon/radeon_pm.c for (crtc = 0; (crtc < rdev->num_crtc) && in_vbl; crtc++) { num_crtc 94 drivers/gpu/drm/radeon/rs600.c if (crtc >= rdev->num_crtc) num_crtc 62 drivers/gpu/drm/radeon/rs780_dpm.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 309 drivers/gpu/drm/radeon/rv515.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 364 drivers/gpu/drm/radeon/rv515.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 386 drivers/gpu/drm/radeon/rv515.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 408 drivers/gpu/drm/radeon/rv515.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 450 drivers/gpu/drm/radeon/rv515.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 2476 drivers/gpu/drm/radeon/si.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 2480 drivers/gpu/drm/radeon/si.c for (i = 0; i < rdev->num_crtc; i += 2) { num_crtc 5964 drivers/gpu/drm/radeon/si.c for (i = 0; i < rdev->num_crtc; i++) num_crtc 5966 drivers/gpu/drm/radeon/si.c for (i = 0; i < rdev->num_crtc; i++) num_crtc 6117 drivers/gpu/drm/radeon/si.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 6124 drivers/gpu/drm/radeon/si.c for (i = 0; i < rdev->num_crtc; i++) num_crtc 6156 drivers/gpu/drm/radeon/si.c if (i < rdev->num_crtc) num_crtc 6161 drivers/gpu/drm/radeon/si.c for (i = 0; i < rdev->num_crtc; i += 2) { num_crtc 3706 drivers/gpu/drm/radeon/si_dpm.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 3710 drivers/gpu/drm/radeon/si_dpm.c if (i == rdev->num_crtc) num_crtc 5325 drivers/gpu/drm/radeon/si_dpm.c for (i = 0; i < rdev->num_crtc; i++) { num_crtc 147 drivers/gpu/drm/rockchip/rockchip_drm_drv.c ret = drm_vblank_init(drm_dev, drm_dev->mode_config.num_crtc); num_crtc 120 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c if (!dev->mode_config.num_crtc || !dev->mode_config.num_connector) num_crtc 96 drivers/gpu/drm/sun4i/sun4i_drv.c ret = drm_vblank_init(drm, drm->mode_config.num_crtc); num_crtc 754 drivers/gpu/drm/tegra/dc.c return 1 << drm->mode_config.num_crtc; num_crtc 188 drivers/gpu/drm/tegra/drm.c err = drm_vblank_init(drm, drm->mode_config.num_crtc); num_crtc 311 drivers/gpu/drm/tegra/fb.c unsigned int num_crtc, num_crtc 393 drivers/gpu/drm/tegra/fb.c err = tegra_fbdev_init(tegra->fbdev, 32, drm->mode_config.num_crtc, num_crtc 155 drivers/gpu/drm/vc4/vc4_kms.c for (i = 0; i < dev->mode_config.num_crtc; i++) { num_crtc 528 drivers/gpu/drm/vc4/vc4_kms.c ret = drm_vblank_init(dev, dev->mode_config.num_crtc); num_crtc 1610 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c rects = kcalloc(dev->mode_config.num_crtc, sizeof(struct drm_rect), num_crtc 1674 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c ret = vmw_kms_check_display_memory(dev, dev->mode_config.num_crtc, num_crtc 81 drivers/gpu/drm/zte/zx_drm_drv.c ret = drm_vblank_init(drm, drm->mode_config.num_crtc); num_crtc 529 drivers/video/fbdev/arkfb.c par->state.num_crtc = 0x60; num_crtc 512 drivers/video/fbdev/s3fb.c par->state.num_crtc = 0x70; num_crtc 290 drivers/video/fbdev/vt8623fb.c par->state.num_crtc = 0xA2; num_crtc 238 drivers/video/vgastate.c for (i = 0; i < state->num_crtc; i++) num_crtc 287 drivers/video/vgastate.c for (i = 0; i < state->num_crtc; i++) num_crtc 375 drivers/video/vgastate.c if (state->num_crtc < 25) num_crtc 376 drivers/video/vgastate.c state->num_crtc = 25; num_crtc 381 drivers/video/vgastate.c total = state->num_attr + state->num_crtc + num_crtc 390 drivers/video/vgastate.c saved->gfx = saved->crtc + state->num_crtc; num_crtc 753 include/drm/drm_atomic.h (__i) < (__state)->dev->mode_config.num_crtc; \ num_crtc 773 include/drm/drm_atomic.h (__i) < (__state)->dev->mode_config.num_crtc; \ num_crtc 792 include/drm/drm_atomic.h (__i) < (__state)->dev->mode_config.num_crtc; \ num_crtc 497 include/drm/drm_mode_config.h int num_crtc; num_crtc 189 include/video/vga.h __u32 num_crtc; /* number of crt registers, 0 for default */