Lines Matching defs:instance
307 int instance = HID_MINOR_TO_INSTANCE(minor);
311 if ((hidp = ddi_get_soft_state(hid_statep, instance)) != NULL) {
320 *result = (void *)(uintptr_t)instance;
343 int instance = ddi_get_instance(dip);
357 hidp = ddi_get_soft_state(hid_statep, instance);
368 if (ddi_soft_state_zalloc(hid_statep, instance) == DDI_SUCCESS) {
369 hidp = ddi_get_soft_state(hid_statep, instance);
379 hidp->hid_instance = instance;
660 HID_CONSTRUCT_EXTERNAL_MINOR(instance),
671 HID_CONSTRUCT_INTERNAL_MINOR(instance)) != DDI_SUCCESS) {
679 S_IFCHR, HID_CONSTRUCT_INTERNAL_MINOR(instance)) !=
737 int instance = ddi_get_instance(dip);
741 hidp = ddi_get_soft_state(hid_statep, instance);
777 int instance;
781 instance = HID_MINOR_TO_INSTANCE(minor);
783 hidp = ddi_get_soft_state(hid_statep, instance);
1324 int instance = ddi_get_instance(dip);
1329 hidp = ddi_get_soft_state(hid_statep, instance);
1608 * the device was disconnected but this instance not detached, probably