Lines Matching defs:instance
177 int instance; /* Instance number */
193 /* Get the instance and create soft state */
194 instance = ddi_get_instance(dip);
196 if (ddi_soft_state_zalloc(bbc_beep_statep, instance) != 0) {
201 bbc_beeptr = ddi_get_soft_state(bbc_beep_statep, instance);
208 BBC_BEEP_DEBUG1((CE_CONT, "bbc_beeptr = 0x%p, instance %x",
209 (void *)bbc_beeptr, instance));
285 int instance, error;
291 instance = BEEP_UNIT(dev);
294 instance)) == NULL) {
305 instance = BEEP_UNIT(dev);
307 *result = (void *)(uintptr_t)instance;
439 int instance = ddi_get_instance(dip);
441 bbc_beep_state_t *state = ddi_get_soft_state(bbc_beep_statep, instance);
458 int instance = ddi_get_instance(bbc_beeptr->bbc_beep_dip);
460 ddi_soft_state_free(bbc_beep_statep, instance);