vgem_device 55 drivers/gpu/drm/vgem/vgem_drv.c } *vgem_device; vgem_device 355 drivers/gpu/drm/vgem/vgem_drv.c struct vgem_device *vgem = container_of(dev, typeof(*vgem), drm); vgem_device 431 drivers/gpu/drm/vgem/vgem_drv.c struct vgem_device *vgem = container_of(dev, typeof(*vgem), drm); vgem_device 475 drivers/gpu/drm/vgem/vgem_drv.c vgem_device = kzalloc(sizeof(*vgem_device), GFP_KERNEL); vgem_device 476 drivers/gpu/drm/vgem/vgem_drv.c if (!vgem_device) vgem_device 479 drivers/gpu/drm/vgem/vgem_drv.c vgem_device->platform = vgem_device 481 drivers/gpu/drm/vgem/vgem_drv.c if (IS_ERR(vgem_device->platform)) { vgem_device 482 drivers/gpu/drm/vgem/vgem_drv.c ret = PTR_ERR(vgem_device->platform); vgem_device 486 drivers/gpu/drm/vgem/vgem_drv.c dma_coerce_mask_and_coherent(&vgem_device->platform->dev, vgem_device 488 drivers/gpu/drm/vgem/vgem_drv.c ret = drm_dev_init(&vgem_device->drm, &vgem_driver, vgem_device 489 drivers/gpu/drm/vgem/vgem_drv.c &vgem_device->platform->dev); vgem_device 494 drivers/gpu/drm/vgem/vgem_drv.c ret = drm_dev_register(&vgem_device->drm, 0); vgem_device 501 drivers/gpu/drm/vgem/vgem_drv.c drm_dev_fini(&vgem_device->drm); vgem_device 503 drivers/gpu/drm/vgem/vgem_drv.c platform_device_unregister(vgem_device->platform); vgem_device 505 drivers/gpu/drm/vgem/vgem_drv.c kfree(vgem_device); vgem_device 511 drivers/gpu/drm/vgem/vgem_drv.c drm_dev_unregister(&vgem_device->drm); vgem_device 512 drivers/gpu/drm/vgem/vgem_drv.c drm_dev_put(&vgem_device->drm);