Lines Matching defs:dev
52 * @dev: DRM device to be added
55 * Add a DRM device to the DRM's device model class. We use @dev's PCI device
61 struct drm_device *dev = minor->dev;
67 ret = agpmaster_attach(dev->devinfo,
69 dev->pdev->pci_cfg_acc_handle, minor->index);
79 ret = gfxp_vgatext_attach(dev->devinfo, DDI_ATTACH, gfxp);
86 ret = ddi_create_minor_node(dev->devinfo,
97 ret = ddi_create_minor_node(dev->devinfo,
111 * @dev: DRM device to remove
129 (void) gfxp_vgatext_detach(minor->dev->devinfo,
139 ddi_remove_minor_node(minor->dev->devinfo, minor->name);