Lines Matching defs:instance
616 int instance;
631 /* Get the instance and create soft state */
632 instance = ddi_get_instance(dip);
634 if (ddi_soft_state_zalloc(ohci_statep, instance) != 0) {
639 ohcip = ddi_get_soft_state(ohci_statep, instance);
661 /* Save the dip and instance */
663 ohcip->ohci_instance = instance;
716 * Make this HCD instance known to USBA
823 int instance;
829 instance = OHCI_UNIT(dev);
830 ohcip = ddi_get_soft_state(ohci_statep, instance);
843 instance = OHCI_UNIT(dev);
844 *result = (void *)(uintptr_t)instance;
861 int instance = OHCI_UNIT(dev);
862 ohci_state_t *ohcip = ddi_get_soft_state(ohci_statep, instance);
2102 /* Unregister this HCD instance with USBA */
5352 * at this instance since bandwidth allocation is already
9687 int instance = ddi_get_instance(dip);
9689 ohci_statep, instance);
10922 uint_t instance = ohcip->ohci_instance;
10928 dname, instance);
10929 OHCI_INTRS_STATS(ohcip) = kstat_create("usba", instance,
10965 dname, instance);
10966 OHCI_TOTAL_STATS(ohcip) = kstat_create("usba", instance,
10978 dname, instance, usbtypes[i]);
10980 instance, kstatname, "usb_byte_count",