• Home
  • Raw
  • Download

Lines Matching refs:ldev

26 	struct lima_device *ldev = to_lima_dev(dev);  in lima_ioctl_get_param()  local
33 switch (ldev->id) { in lima_ioctl_get_param()
47 args->value = ldev->pipe[lima_pipe_pp].num_processor; in lima_ioctl_get_param()
51 args->value = ldev->gp_version; in lima_ioctl_get_param()
55 args->value = ldev->pp_version; in lima_ioctl_get_param()
91 struct lima_device *ldev = to_lima_dev(dev); in lima_ioctl_gem_submit() local
107 pipe = ldev->pipe + args->pipe; in lima_ioctl_gem_submit()
179 struct lima_device *ldev = to_lima_dev(dev); in lima_ioctl_ctx_create() local
184 return lima_ctx_create(ldev, &priv->ctx_mgr, &args->id); in lima_ioctl_ctx_create()
202 struct lima_device *ldev = to_lima_dev(dev); in lima_drm_driver_open() local
208 priv->vm = lima_vm_create(ldev); in lima_drm_driver_open()
281 struct lima_device *ldev; in lima_pdev_probe() local
289 ldev = devm_kzalloc(&pdev->dev, sizeof(*ldev), GFP_KERNEL); in lima_pdev_probe()
290 if (!ldev) { in lima_pdev_probe()
295 ldev->pdev = pdev; in lima_pdev_probe()
296 ldev->dev = &pdev->dev; in lima_pdev_probe()
297 ldev->id = (enum lima_gpu_id)of_device_get_match_data(&pdev->dev); in lima_pdev_probe()
299 platform_set_drvdata(pdev, ldev); in lima_pdev_probe()
306 ddev->dev_private = ldev; in lima_pdev_probe()
307 ldev->ddev = ddev; in lima_pdev_probe()
309 err = lima_device_init(ldev); in lima_pdev_probe()
324 lima_device_fini(ldev); in lima_pdev_probe()
334 struct lima_device *ldev = platform_get_drvdata(pdev); in lima_pdev_remove() local
335 struct drm_device *ddev = ldev->ddev; in lima_pdev_remove()
338 lima_device_fini(ldev); in lima_pdev_remove()