Lines Matching refs:udl
43 struct udl_device *udl = to_udl(dev); in udl_driver_gem_prime_import() local
45 if (!udl->dmadev) in udl_driver_gem_prime_import()
48 return drm_gem_prime_import_dev(dev, dma_buf, udl->dmadev); in udl_driver_gem_prime_import()
74 struct udl_device *udl; in udl_driver_create() local
77 udl = devm_drm_dev_alloc(&interface->dev, &driver, in udl_driver_create()
79 if (IS_ERR(udl)) in udl_driver_create()
80 return udl; in udl_driver_create()
82 udl->udev = udev; in udl_driver_create()
84 r = udl_init(udl); in udl_driver_create()
88 usb_set_intfdata(interface, udl); in udl_driver_create()
90 return udl; in udl_driver_create()
97 struct udl_device *udl; in udl_usb_probe() local
99 udl = udl_driver_create(interface); in udl_usb_probe()
100 if (IS_ERR(udl)) in udl_usb_probe()
101 return PTR_ERR(udl); in udl_usb_probe()
103 r = drm_dev_register(&udl->drm, 0); in udl_usb_probe()
107 DRM_INFO("Initialized udl on minor %d\n", udl->drm.primary->index); in udl_usb_probe()
109 drm_fbdev_generic_setup(&udl->drm, 0); in udl_usb_probe()