Lines Matching defs:instance

141  * instance. A shift left by 6 bits allows for each instance to have upto
143 * is L_MAXMIN32 (0x3ffff). This effectively limits the gen_drv instance
227 int instance = ddi_get_instance(devi);
256 if (ddi_soft_state_zalloc(dstates, instance) !=
259 ddi_get_name(devi), instance);
264 dstatep = ddi_get_soft_state(dstates, instance);
284 INST_TO_MINOR(instance), mnodetypes[0],
287 ddi_soft_state_free(dstates, instance);
289 "node", ddi_get_name(devi), instance);
299 ddi_soft_state_free(dstates, instance);
301 "nodes", ddi_get_name(devi), instance);
559 int instance;
576 instance = ddi_get_instance(devi);
577 dstatep = ddi_get_soft_state(dstates, instance);
715 ddi_soft_state_free(dstates, instance);
722 instance = ddi_get_instance(devi);
723 dstatep = ddi_get_soft_state(dstates, instance);
826 int instance;
832 instance = MINOR_TO_INST(getminor(dev));
833 *result = (void *)(uintptr_t)instance;
896 int instance;
905 instance = MINOR_TO_INST(getminor(dev));
906 dstatep = ddi_get_soft_state(dstates, instance);
975 instance));
987 nodename, instance));
1003 nodename, instance));
1015 " busy=%d", nodename, instance, dstatep->busy[0]));
1032 nodename, instance);
1037 nodename, instance, state));
1051 " comp 0: busy=%d", nodename, instance,
1064 nodename, instance);
1077 nodename, instance, i, maxpwr[i]));
1093 nodename, instance, i));
1115 nodename, instance, i, maxpwr[i]));
1139 " copyout failed\n", nodename, instance);
1143 nodename, instance, "DEVCTL_PM_POWER", state));
1156 nodename, instance));
1185 int instance = ddi_get_instance(dip);
1190 nodename, instance, cmpt, level));
1192 dstatep = ddi_get_soft_state(dstates, instance);
1224 nodename, instance, COMP_0_MAXPWR));
1230 nodename, instance, COMP_0_MAXPWR);
1244 nodename, instance, cmpt, level));
1249 nodename, instance, COMP_0_MAXPWR));
1258 nodename, instance, COMP_0_MAXPWR);
1266 " to level %d", nodename, instance,
1384 int instance = ddi_get_instance(devi);
1387 (void) sprintf(minor_name, "cgtwenty%d", instance);
1390 INST_TO_MINOR(instance), DDI_NT_DISPLAY, NULL));
1397 int instance = ddi_get_instance(devi);
1404 (INST_TO_MINOR(instance)) | dmdp->minor,
1434 int instance = ddi_get_instance(devi);
1461 (INST_TO_MINOR(instance)) | dmdp->minor,
1474 int instance = ddi_get_instance(devi);
1478 (INST_TO_MINOR(instance)) | dmdp->minor,
1491 int instance = ddi_get_instance(devi);
1495 (INST_TO_MINOR(instance)) | dmdp->minor,
1508 int instance = ddi_get_instance(devi);
1512 (INST_TO_MINOR(instance)) | dmdp->minor,
1524 int instance = ddi_get_instance(devi);
1530 (void) snprintf(minorname, sizeof (minorname), "gen_drv%d", instance);
1532 INST_TO_MINOR(instance), DDI_NT_NET, 0));
1558 int instance = ddi_get_instance(devi);
1584 (INST_TO_MINOR(instance)), dstatep->node_type, NULL) !=