Lines Matching defs:instance
127 uint_t instance;
152 * 0: Get the mac's instance number from m_dip.
155 * [1 .. MAC_MAX_MINOR-1]: Use the value as the mac's instance number.
157 * "key" will be used as the instance number.
159 * -1: Assign an instance number from [MAC_MAX_MINOR .. MAXMIN-1].
163 * Note that the instance number is used to derive the mi_minor field
170 instance = ddi_get_instance(mregp->m_dip);
178 instance = minor - 1;
181 instance = mregp->m_instance;
182 if (instance >= MAC_MAX_MINOR) {
189 mip->mi_minor = (minor_t)(instance + 1);
203 /* Construct the MAC name as <drvname><instance> */
205 driver, instance);
831 * Given a dev_t, return the instance number (PPA) associated with it.
833 * the instance number (i.e. PPA) of the device, to use as an index to