Lines Matching refs:instance
198 * Allocates resources for each EHCI host controller instance.
207 int instance;
222 /* Get the instance and create soft state */
223 instance = ddi_get_instance(dip);
225 if (ddi_soft_state_zalloc(ehci_statep, instance) != 0) {
230 ehcip = ddi_get_soft_state(ehci_statep, instance);
249 /* Save the dip and instance */
251 ehcip->ehci_instance = instance;
314 * Make this HCD instance known to USBA
543 int instance;
549 instance = EHCI_UNIT(dev);
550 ehcip = ddi_get_soft_state(ehci_statep, instance);
563 instance = EHCI_UNIT(dev);
564 *result = (void *)(uintptr_t)instance;
581 int instance = EHCI_UNIT(dev);
582 ehci_state_t *ehcip = ddi_get_soft_state(ehci_statep, instance);