Lines Matching defs:instance
180 int instance;
198 /* Get the instance and create soft state */
199 instance = ddi_get_instance(dip);
201 if (ddi_soft_state_zalloc(grbeep_statep, instance) != 0) {
206 grbeeptr = ddi_get_soft_state(grbeep_statep, instance);
213 GRBEEP_DEBUG1((CE_CONT, "grbeeptr = 0x%p, instance %x",
214 (void *)grbeeptr, instance));
292 int instance, error;
297 instance = GRBEEP_UNIT(dev);
300 instance)) == NULL) {
311 instance = GRBEEP_UNIT(dev);
313 *result = (void *)(uintptr_t)instance;
468 int instance = ddi_get_instance(dip);
470 grbeep_state_t *state = ddi_get_soft_state(grbeep_statep, instance);
487 int instance = ddi_get_instance(grbeeptr->grbeep_dip);
489 ddi_soft_state_free(grbeep_statep, instance);