num_crtcs 1077 drivers/gpu/drm/drm_atomic_helper.c if (!(dev->irq_enabled && dev->num_crtcs)) num_crtcs 188 drivers/gpu/drm/drm_irq.c if (dev->num_crtcs) { num_crtcs 190 drivers/gpu/drm/drm_irq.c for (i = 0; i < dev->num_crtcs; i++) { num_crtcs 298 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) num_crtcs 415 drivers/gpu/drm/drm_vblank.c if (dev->num_crtcs == 0) num_crtcs 418 drivers/gpu/drm/drm_vblank.c for (pipe = 0; pipe < dev->num_crtcs; pipe++) { num_crtcs 429 drivers/gpu/drm/drm_vblank.c dev->num_crtcs = 0; num_crtcs 444 drivers/gpu/drm/drm_vblank.c int drm_vblank_init(struct drm_device *dev, unsigned int num_crtcs) num_crtcs 452 drivers/gpu/drm/drm_vblank.c dev->num_crtcs = num_crtcs; num_crtcs 454 drivers/gpu/drm/drm_vblank.c dev->vblank = kcalloc(num_crtcs, sizeof(*dev->vblank), GFP_KERNEL); num_crtcs 458 drivers/gpu/drm/drm_vblank.c for (i = 0; i < num_crtcs; i++) { num_crtcs 486 drivers/gpu/drm/drm_vblank.c dev->num_crtcs = 0; num_crtcs 526 drivers/gpu/drm/drm_vblank.c if (!dev->num_crtcs) num_crtcs 529 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) num_crtcs 616 drivers/gpu/drm/drm_vblank.c if (pipe >= dev->num_crtcs || !crtc) { num_crtcs 796 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) { num_crtcs 929 drivers/gpu/drm/drm_vblank.c if (dev->num_crtcs > 0) { num_crtcs 999 drivers/gpu/drm/drm_vblank.c if (!dev->num_crtcs) num_crtcs 1002 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) num_crtcs 1040 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) num_crtcs 1088 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) num_crtcs 1143 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) num_crtcs 1272 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) num_crtcs 1319 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) num_crtcs 1368 drivers/gpu/drm/drm_vblank.c if (!dev->num_crtcs) num_crtcs 1371 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) num_crtcs 1395 drivers/gpu/drm/drm_vblank.c if (!dev->num_crtcs) num_crtcs 1398 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) num_crtcs 1420 drivers/gpu/drm/drm_vblank.c if (!dev->num_crtcs) num_crtcs 1428 drivers/gpu/drm/drm_vblank.c if (pipe >= dev->num_crtcs) num_crtcs 1621 drivers/gpu/drm/drm_vblank.c if (pipe >= dev->num_crtcs) num_crtcs 1753 drivers/gpu/drm/drm_vblank.c if (WARN_ON_ONCE(!dev->num_crtcs)) num_crtcs 1756 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) num_crtcs 479 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c for (i = 0; i < priv->num_crtcs; i++) num_crtcs 481 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c priv->num_crtcs = 0; num_crtcs 563 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c priv->crtcs[priv->num_crtcs++] = crtc; num_crtcs 568 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c priv->encoders[i]->possible_crtcs = (1 << priv->num_crtcs) - 1; num_crtcs 84 drivers/gpu/drm/msm/disp/mdp4/mdp4_irq.c for (id = 0; id < priv->num_crtcs; id++) num_crtcs 382 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c crtc = mdp4_crtc_init(dev, plane, priv->num_crtcs, i, num_crtcs 391 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c priv->crtcs[priv->num_crtcs++] = crtc; num_crtcs 97 drivers/gpu/drm/msm/disp/mdp5/mdp5_irq.c for (id = 0; id < priv->num_crtcs; id++) num_crtcs 470 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c unsigned int num_crtcs; num_crtcs 492 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c num_crtcs = min(priv->num_encoders, mdp5_kms->num_hwmixers); num_crtcs 504 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c if (i < num_crtcs) num_crtcs 525 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c for (i = 0; i < num_crtcs; i++) { num_crtcs 534 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c priv->crtcs[priv->num_crtcs++] = crtc; num_crtcs 544 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c encoder->possible_crtcs = (1 << priv->num_crtcs) - 1; num_crtcs 664 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c if (pipe >= priv->num_crtcs) num_crtcs 106 drivers/gpu/drm/msm/msm_atomic.c int i, num_crtcs = 0; num_crtcs 118 drivers/gpu/drm/msm/msm_atomic.c if (++num_crtcs > 1) num_crtcs 239 drivers/gpu/drm/msm/msm_drv.c for (i = 0; i < priv->num_crtcs; i++) { num_crtcs 501 drivers/gpu/drm/msm/msm_drv.c for (i = 0; i < priv->num_crtcs; i++) { num_crtcs 523 drivers/gpu/drm/msm/msm_drv.c ret = drm_vblank_init(ddev, priv->num_crtcs); num_crtcs 186 drivers/gpu/drm/msm/msm_drv.h unsigned int num_crtcs; num_crtcs 281 drivers/gpu/drm/radeon/atombios_crtc.c if (dev->num_crtcs > radeon_crtc->crtc_id) num_crtcs 288 drivers/gpu/drm/radeon/atombios_crtc.c if (dev->num_crtcs > radeon_crtc->crtc_id) num_crtcs 337 drivers/gpu/drm/radeon/radeon_legacy_crtc.c if (dev->num_crtcs > radeon_crtc->crtc_id) num_crtcs 344 drivers/gpu/drm/radeon/radeon_legacy_crtc.c if (dev->num_crtcs > radeon_crtc->crtc_id) num_crtcs 83 drivers/gpu/drm/rcar-du/rcar_du_drv.h unsigned int num_crtcs; num_crtcs 91 drivers/gpu/drm/rcar-du/rcar_du_group.c unsigned int num_crtcs = 0; num_crtcs 109 drivers/gpu/drm/rcar-du/rcar_du_group.c num_crtcs = rcdu->num_crtcs; num_crtcs 110 drivers/gpu/drm/rcar-du/rcar_du_group.c } else if (rcdu->info->gen == 3 && rgrp->num_crtcs > 1) { num_crtcs 116 drivers/gpu/drm/rcar-du/rcar_du_group.c num_crtcs = rgrp->num_crtcs; num_crtcs 119 drivers/gpu/drm/rcar-du/rcar_du_group.c if (!num_crtcs) num_crtcs 123 drivers/gpu/drm/rcar-du/rcar_du_group.c for (i = 0; i < num_crtcs; ++i, ++rcrtc) { num_crtcs 275 drivers/gpu/drm/rcar-du/rcar_du_group.c index = rcdu->info->gen < 3 ? 0 : DIV_ROUND_UP(rcdu->num_crtcs, 2) - 1; num_crtcs 317 drivers/gpu/drm/rcar-du/rcar_du_group.c for (i = 0; i < rgrp->num_crtcs; ++i) { num_crtcs 40 drivers/gpu/drm/rcar-du/rcar_du_group.h unsigned int num_crtcs; num_crtcs 560 drivers/gpu/drm/rcar-du/rcar_du_kms.c cells = of_property_count_u32_elems(np, "vsps") / rcdu->num_crtcs - 1; num_crtcs 564 drivers/gpu/drm/rcar-du/rcar_du_kms.c for (i = 0; i < rcdu->num_crtcs; ++i) { num_crtcs 653 drivers/gpu/drm/rcar-du/rcar_du_kms.c rcdu->num_crtcs = hweight8(rcdu->info->channels_mask); num_crtcs 663 drivers/gpu/drm/rcar-du/rcar_du_kms.c ret = drm_vblank_init(dev, rcdu->num_crtcs); num_crtcs 668 drivers/gpu/drm/rcar-du/rcar_du_kms.c num_groups = DIV_ROUND_UP(rcdu->num_crtcs, 2); num_crtcs 681 drivers/gpu/drm/rcar-du/rcar_du_kms.c rgrp->num_crtcs = hweight8(rgrp->channels_mask); num_crtcs 689 drivers/gpu/drm/rcar-du/rcar_du_kms.c rgrp->dptsr_planes = rgrp->num_crtcs > 1 num_crtcs 708 drivers/gpu/drm/rcar-du/rcar_du_kms.c for (swindex = 0, hwindex = 0; swindex < rcdu->num_crtcs; ++hwindex) { num_crtcs 750 drivers/gpu/drm/rcar-du/rcar_du_kms.c for (i = 0; i < rcdu->num_crtcs; ++i) { num_crtcs 764 drivers/gpu/drm/rcar-du/rcar_du_plane.c rgrp->num_planes = rgrp->num_crtcs + 7; num_crtcs 766 drivers/gpu/drm/rcar-du/rcar_du_plane.c crtcs = ((1 << rcdu->num_crtcs) - 1) & (3 << (2 * rgrp->index)); num_crtcs 769 drivers/gpu/drm/rcar-du/rcar_du_plane.c enum drm_plane_type type = i < rgrp->num_crtcs num_crtcs 349 drivers/gpu/drm/rcar-du/rcar_du_vsp.c unsigned int num_crtcs = hweight32(crtcs); num_crtcs 376 drivers/gpu/drm/rcar-du/rcar_du_vsp.c enum drm_plane_type type = i < num_crtcs num_crtcs 84 drivers/gpu/drm/vboxvideo/vbox_drv.c vbox->num_crtcs); num_crtcs 67 drivers/gpu/drm/vboxvideo/vbox_drv.h u32 num_crtcs; num_crtcs 72 drivers/gpu/drm/vboxvideo/vbox_irq.c for (i = 0; i < vbox->num_crtcs; ++i) { num_crtcs 95 drivers/gpu/drm/vboxvideo/vbox_irq.c for (i = 0; i < vbox->num_crtcs; ++i) { num_crtcs 118 drivers/gpu/drm/vboxvideo/vbox_irq.c ret = hgsmi_get_mode_hints(vbox->guest_pool, vbox->num_crtcs, num_crtcs 127 drivers/gpu/drm/vboxvideo/vbox_main.c vbox->vbva_info = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, num_crtcs 133 drivers/gpu/drm/vboxvideo/vbox_main.c vbox->available_vram_size -= vbox->num_crtcs * VBVA_MIN_BUFFER_SIZE; num_crtcs 137 drivers/gpu/drm/vboxvideo/vbox_main.c vbox->num_crtcs * num_crtcs 142 drivers/gpu/drm/vboxvideo/vbox_main.c for (i = 0; i < vbox->num_crtcs; ++i) { num_crtcs 163 drivers/gpu/drm/vboxvideo/vbox_main.c for (i = 0; i < vbox->num_crtcs; ++i) num_crtcs 238 drivers/gpu/drm/vboxvideo/vbox_main.c &vbox->num_crtcs); num_crtcs 239 drivers/gpu/drm/vboxvideo/vbox_main.c vbox->num_crtcs = clamp_t(u32, vbox->num_crtcs, 1, VBOX_MAX_SCREENS); num_crtcs 246 drivers/gpu/drm/vboxvideo/vbox_main.c vbox->last_mode_hints = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, num_crtcs 914 drivers/gpu/drm/vboxvideo/vbox_mode.c for (i = 0; i < vbox->num_crtcs; ++i) { num_crtcs 276 include/drm/drm_device.h unsigned int num_crtcs; num_crtcs 197 include/drm/drm_vblank.h int drm_vblank_init(struct drm_device *dev, unsigned int num_crtcs);