Lines Matching refs:vc4
51 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_get_param_ioctl() local
60 ret = pm_runtime_get_sync(&vc4->v3d->pdev->dev); in vc4_get_param_ioctl()
64 pm_runtime_mark_last_busy(&vc4->v3d->pdev->dev); in vc4_get_param_ioctl()
65 pm_runtime_put_autosuspend(&vc4->v3d->pdev->dev); in vc4_get_param_ioctl()
68 ret = pm_runtime_get_sync(&vc4->v3d->pdev->dev); in vc4_get_param_ioctl()
72 pm_runtime_mark_last_busy(&vc4->v3d->pdev->dev); in vc4_get_param_ioctl()
73 pm_runtime_put_autosuspend(&vc4->v3d->pdev->dev); in vc4_get_param_ioctl()
76 ret = pm_runtime_get_sync(&vc4->v3d->pdev->dev); in vc4_get_param_ioctl()
80 pm_runtime_mark_last_busy(&vc4->v3d->pdev->dev); in vc4_get_param_ioctl()
81 pm_runtime_put_autosuspend(&vc4->v3d->pdev->dev); in vc4_get_param_ioctl()
96 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_lastclose() local
98 drm_fbdev_cma_restore_mode(vc4->fbdev); in vc4_lastclose()
229 struct vc4_dev *vc4; in vc4_drm_bind() local
234 vc4 = devm_kzalloc(dev, sizeof(*vc4), GFP_KERNEL); in vc4_drm_bind()
235 if (!vc4) in vc4_drm_bind()
242 vc4->dev = drm; in vc4_drm_bind()
243 drm->dev_private = vc4; in vc4_drm_bind()
278 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_drm_unbind() local
280 if (vc4->fbdev) in vc4_drm_unbind()
281 drm_fbdev_cma_fini(vc4->fbdev); in vc4_drm_unbind()