Lines Matching refs:instance
248 int instance, polled;
267 /* Get the instance and create soft state */
268 instance = ddi_get_instance(dip);
270 /* Allocate the soft state structure for this instance of the driver */
271 if (ddi_soft_state_zalloc(uhci_statep, instance) != 0) {
276 if ((uhcip = ddi_get_soft_state(uhci_statep, instance)) == NULL) {
287 /* Save the dip and instance */
289 uhcip->uhci_instance = instance;
303 ddi_soft_state_free(uhci_statep, instance);
333 ddi_soft_state_free(uhci_statep, instance);
403 * Make this HCD instance known to USBA
753 int instance;
760 instance = UHCI_UNIT(dev);
761 uhcip = ddi_get_soft_state(uhci_statep, instance);
774 instance = UHCI_UNIT(dev);
775 *result = (void *)(uintptr_t)instance;
1870 int instance = UHCI_UNIT(dev);
1871 uhci_state_t *uhcip = ddi_get_soft_state(uhci_statep, instance);