Lines Matching refs:instance
85 #define GETSOFTC(instance) ((agp_target_softstate_t *) \
86 ddi_get_soft_state(agptarget_glob_soft_handle, instance));
459 int instance, rval = DDI_FAILURE;
465 instance = DEV2INST(dev);
466 st = ddi_get_soft_state(agptarget_glob_soft_handle, instance);
478 instance = DEV2INST(dev);
479 *resultp = (void *)(uintptr_t)instance;
519 int instance;
522 instance = ddi_get_instance(dip);
529 ddi_get_soft_state(agptarget_glob_soft_handle, instance);
538 instance) != DDI_SUCCESS) {
544 softstate = ddi_get_soft_state(agptarget_glob_soft_handle, instance);
552 instance);
564 instance);
577 instance);
583 INST2NODENUM(instance), DDI_NT_AGP_TARGET, 0);
589 ddi_soft_state_free(agptarget_glob_soft_handle, instance);
600 int instance;
603 instance = ddi_get_instance(dip);
604 softstate = ddi_get_soft_state(agptarget_glob_soft_handle, instance);
620 ddi_soft_state_free(agptarget_glob_soft_handle, instance);
629 int instance = DEV2INST(dev);
638 st = GETSOFTC(instance);
839 int instance = DEV2INST(*devp);
845 st = GETSOFTC(instance);
857 int instance = DEV2INST(dev);
860 st = GETSOFTC(instance);