Lines Matching defs:vc4
69 struct vc4_dev *vc4 = to_vc4_dev(dev);
70 struct drm_printer p = drm_info_printer(&vc4->hvs->pdev->dev);
73 drm_print_regset32(&p, &vc4->hvs->regset);
79 readl((u32 __iomem *)vc4->hvs->dlist + i + 0),
80 readl((u32 __iomem *)vc4->hvs->dlist + i + 1),
81 readl((u32 __iomem *)vc4->hvs->dlist + i + 2),
82 readl((u32 __iomem *)vc4->hvs->dlist + i + 3));
90 struct vc4_dev *vc4 = to_vc4_dev(dev);
93 drm_printf(&p, "%d\n", atomic_read(&vc4->underrun));
163 struct vc4_dev *vc4 = to_vc4_dev(dev);
202 struct vc4_dev *vc4 = to_vc4_dev(dev);
206 if (!vc4->hvs->hvs5)
253 static int vc4_hvs_init_channel(struct vc4_dev *vc4, struct drm_crtc *crtc,
273 if (!vc4->hvs->hvs5)
294 ((!vc4->hvs->hvs5) ? SCALER_DISPBKGND_GAMMA : 0) |
307 struct vc4_dev *vc4 = to_vc4_dev(dev);
334 struct vc4_dev *vc4 = to_vc4_dev(dev);
352 spin_lock_irqsave(&vc4->hvs->mm_lock, flags);
353 ret = drm_mm_insert_node(&vc4->hvs->dlist_mm, &vc4_state->mm,
355 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags);
365 struct vc4_dev *vc4 = to_vc4_dev(dev);
397 struct vc4_dev *vc4 = to_vc4_dev(dev);
403 vc4_hvs_init_channel(vc4, crtc, mode, oneshot);
420 struct vc4_dev *vc4 = to_vc4_dev(dev);
426 u32 __iomem *dlist_start = vc4->hvs->dlist + vc4_state->mm.start;
500 struct vc4_dev *vc4 = to_vc4_dev(dev);
510 struct vc4_dev *vc4 = to_vc4_dev(dev);
522 struct vc4_dev *vc4 = to_vc4_dev(dev);
524 atomic_inc(&vc4->underrun);
531 struct vc4_dev *vc4 = to_vc4_dev(dev);
563 struct vc4_dev *vc4 = to_vc4_dev(drm);
637 vc4->hvs = hvs;
694 vc4_hvs_irq_handler, 0, "vc4 hvs", drm);
709 struct vc4_dev *vc4 = to_vc4_dev(drm);
710 struct vc4_hvs *hvs = vc4->hvs;
712 if (drm_mm_node_allocated(&vc4->hvs->mitchell_netravali_filter))
713 drm_mm_remove_node(&vc4->hvs->mitchell_netravali_filter);
715 drm_mm_takedown(&vc4->hvs->dlist_mm);
716 drm_mm_takedown(&vc4->hvs->lbm_mm);
720 vc4->hvs = NULL;