Lines Matching defs:instance
491 int instance;
494 /* get the instance of this devi */
495 instance = ddi_get_instance(devi);
501 mcp = ddi_get_soft_state(mc_statep, instance);
508 if (ddi_soft_state_zalloc(mc_statep, instance) != DDI_SUCCESS)
511 if (ddi_create_minor_node(devi, "mc-opl", S_IFCHR, instance,
517 if ((mcp = ddi_get_soft_state(mc_statep, instance)) == NULL) {
552 ddi_soft_state_free(mc_statep, instance);
561 int instance;
564 /* get the instance of this devi */
565 instance = ddi_get_instance(devi);
566 if ((mcp = ddi_get_soft_state(mc_statep, instance)) == NULL) {
588 ddi_soft_state_free(mc_statep, instance);
634 * in the running Solaris instance i.e. in physinstall
2333 * mc_polling -- Check errors for only one instance,
3094 MC_LOG("mc-opl instance for board# %d already exists\n",