Lines Matching defs:instance

40 #include <sys/instance.h>
479 int status, instance;
482 /* Get device instance and structure */
483 instance = ddi_get_instance(dip);
484 cnex_ssp = ddi_get_soft_state(cnex_state, instance);
615 int instance;
617 /* Get device instance and structure */
618 instance = ddi_get_instance(dip);
619 cnex_ssp = ddi_get_soft_state(cnex_state, instance);
749 int instance;
751 /* Get device instance and structure */
752 instance = ddi_get_instance(dip);
753 cnex_ssp = ddi_get_soft_state(cnex_state, instance);
804 int instance, istate;
806 /* Get device instance and structure */
807 instance = ddi_get_instance(dip);
808 cnex_ssp = ddi_get_soft_state(cnex_state, instance);
909 int instance;
911 /* Get device instance and structure */
912 instance = ddi_get_instance(dip);
913 cnex_ssp = ddi_get_soft_state(cnex_state, instance);
1014 int rv, instance, reglen;
1029 * Get the instance specific soft state structure.
1030 * Save the devi for this instance in the soft_state data.
1032 instance = ddi_get_instance(devi);
1033 if (ddi_soft_state_zalloc(cnex_state, instance) != DDI_SUCCESS)
1035 cnex_ssp = ddi_get_soft_state(cnex_state, instance);
1063 * LDC register will fail if an nexus instance had already
1069 ddi_soft_state_free(cnex_state, instance);
1074 if (ddi_create_minor_node(devi, "devctl", S_IFCHR, instance,
1077 ddi_soft_state_free(cnex_state, instance);
1093 int instance;
1106 instance = ddi_get_instance(devi);
1107 cnex_ssp = ddi_get_soft_state(cnex_state, instance);
1127 ddi_soft_state_free(cnex_state, instance);
1136 int instance;
1141 instance = getminor(*devp);
1142 if (ddi_get_soft_state(cnex_state, instance) == NULL)
1152 int instance;
1157 instance = getminor(dev);
1158 if (ddi_get_soft_state(cnex_state, instance) == NULL)
1169 int instance;
1172 instance = getminor(dev);
1173 if ((cnex_ssp = ddi_get_soft_state(cnex_state, instance)) == NULL)
1217 "DDI_CTLOPS_UNINITCHILD(%s, instance=%d)",