Lines Matching refs:instance
110 /* initialize the instance list lock */
138 int instance = ddi_get_instance(dip);
172 (void) sprintf(buf, "%s%d", GFX_NAME, instance);
174 INST2NODE0(instance), DDI_NT_DISPLAY, NULL);
194 pci_cfg_handle, INST2NODE1(instance));
212 (void) sprintf(buf, "%s%d", DRM_DEVNODE, instance);
214 INST2NODE2(instance), DDI_NT_DISPLAY_DRM, 0)) {
282 int instance;
295 * the mid 3 bits are used for instance number. All minor numbers
303 instance = DEV2INST(*devp);
386 newminor = newminor | (instance << NBITSMNODE);
865 * Create a DRM entry and add it into the instance list (drm_inst_head).
937 * Get the soft state of DRM instance by device number
945 int instance = DEV2INST(dev);
954 (ddi_get_instance(mstate->mis_dip) == instance)) {