Lines Matching refs:instance
229 int instance, len, err;
231 /* get the instance of this devi */
232 instance = ddi_get_instance(devi);
240 softsp = ddi_get_soft_state(mcp, instance);
242 instance));
259 instance);
267 if (ddi_soft_state_zalloc(mcp, instance) != DDI_SUCCESS)
270 softsp = ddi_get_soft_state(mcp, instance);
278 instance, "portid"));
283 instance, softsp->portid, CPU->cpu_id));
288 instance));
318 instance, (void *)dimminfop));
323 instance, (void *)dimminfop, *(uint64_t *)dimminfop, len));
357 if (ddi_create_minor_node(devi, "mc-us3", S_IFCHR, instance,
386 ddi_soft_state_free(mcp, instance);
394 int instance;
397 /* get the instance of this devi */
398 instance = ddi_get_instance(devi);
401 softsp = ddi_get_soft_state(mcp, instance);
415 instance, softsp->portid, softsp->memlayoutp));
454 ddi_soft_state_free(mcp, instance);