Lines Matching full:vc4

8  * DOC: Broadcom VC4 Graphics Driver
46 #define DRIVER_NAME "vc4"
47 #define DRIVER_DESC "Broadcom VC4 graphics"
94 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_get_param_ioctl() local
101 if (WARN_ON_ONCE(vc4->is_vc5)) in vc4_get_param_ioctl()
104 if (!vc4->v3d) in vc4_get_param_ioctl()
109 ret = vc4_v3d_pm_get(vc4); in vc4_get_param_ioctl()
113 vc4_v3d_pm_put(vc4); in vc4_get_param_ioctl()
116 ret = vc4_v3d_pm_get(vc4); in vc4_get_param_ioctl()
120 vc4_v3d_pm_put(vc4); in vc4_get_param_ioctl()
123 ret = vc4_v3d_pm_get(vc4); in vc4_get_param_ioctl()
127 vc4_v3d_pm_put(vc4); in vc4_get_param_ioctl()
147 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_open() local
150 if (WARN_ON_ONCE(vc4->is_vc5)) in vc4_open()
156 vc4file->dev = vc4; in vc4_open()
165 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_close() local
168 if (WARN_ON_ONCE(vc4->is_vc5)) in vc4_close()
172 vc4_v3d_bin_bo_put(vc4); in vc4_close()
271 struct vc4_dev *vc4 = ptr; in vc4_component_unbind_all() local
273 component_unbind_all(vc4->dev, &vc4->base); in vc4_component_unbind_all()
281 { .compatible = "brcm,vc4-v3d" },
291 struct vc4_dev *vc4; in vc4_drm_bind() local
315 vc4 = devm_drm_dev_alloc(dev, driver, struct vc4_dev, base); in vc4_drm_bind()
316 if (IS_ERR(vc4)) in vc4_drm_bind()
317 return PTR_ERR(vc4); in vc4_drm_bind()
318 vc4->is_vc5 = is_vc5; in vc4_drm_bind()
319 vc4->dev = dev; in vc4_drm_bind()
321 drm = &vc4->base; in vc4_drm_bind()
325 ret = drmm_mutex_init(drm, &vc4->bin_bo_lock); in vc4_drm_bind()
373 ret = devm_add_action_or_reset(dev, vc4_component_unbind_all, vc4); in vc4_drm_bind()
458 { .compatible = "brcm,bcm2835-vc4", },
459 { .compatible = "brcm,cygnus-vc4", },
469 .name = "vc4-drm",
504 MODULE_ALIAS("platform:vc4-drm");
506 MODULE_DESCRIPTION("Broadcom VC4 DRM Driver");