Lines Matching refs:instance
159 * Each instance of the host interface has 3 registers on the H8:
246 /* Changes to these are protected by the instance ch_mutex mutex */
305 int instance;
402 (void) strlog(csp->ssp->majornum, csp->ssp->instance,
411 bscbus_getstate(dev_info_t *dip, int instance, const char *caller)
419 * Use the instance number from the <dip>; also,
422 instance = ddi_get_instance(dip);
431 instance = -1;
435 if (instance >= 0)
436 ssp = ddi_get_soft_state(bscbus_statep, instance);
1045 * the per-instance state to the per-handle fault flag.
1591 /* No-one using this instance - no need to reset hardware */
2336 bscbus_unattach(struct bscbus_state *ssp, int instance)
2356 ddi_soft_state_free(bscbus_statep, instance);
2369 int instance;
2383 instance = ddi_get_instance(dip);
2384 if (ddi_soft_state_zalloc(bscbus_statep, instance) != DDI_SUCCESS)
2386 if ((ssp = bscbus_getstate(dip, instance, "bscbus_attach")) == NULL)
2387 return (bscbus_unattach(ssp, instance));
2395 ssp->instance = instance;
2419 return (bscbus_unattach(ssp, instance));
2446 int instance;
2456 instance = ddi_get_instance(dip);
2457 if ((ssp = bscbus_getstate(dip, instance, "bscbus_detach")) == NULL)
2460 (void) bscbus_unattach(ssp, instance);