Lines Matching refs:udl
57 struct udl_device *udl; in udl_driver_create() local
60 udl = devm_drm_dev_alloc(&interface->dev, &driver, in udl_driver_create()
62 if (IS_ERR(udl)) in udl_driver_create()
63 return udl; in udl_driver_create()
65 udl->udev = udev; in udl_driver_create()
67 r = udl_init(udl); in udl_driver_create()
71 usb_set_intfdata(interface, udl); in udl_driver_create()
73 return udl; in udl_driver_create()
80 struct udl_device *udl; in udl_usb_probe() local
82 udl = udl_driver_create(interface); in udl_usb_probe()
83 if (IS_ERR(udl)) in udl_usb_probe()
84 return PTR_ERR(udl); in udl_usb_probe()
86 r = drm_dev_register(&udl->drm, 0); in udl_usb_probe()
90 DRM_INFO("Initialized udl on minor %d\n", udl->drm.primary->index); in udl_usb_probe()
92 drm_fbdev_generic_setup(&udl->drm, 0); in udl_usb_probe()