Lines Matching refs:instance
271 register int instance;
288 instance = ddi_get_instance(dip);
294 if (!(unitp = ddi_get_soft_state(envctrlsoft_statep, instance)))
329 if (ddi_soft_state_zalloc(envctrlsoft_statep, instance) != 0) {
331 ddi_get_name(dip), instance);
335 unitp = ddi_get_soft_state(envctrlsoft_statep, instance);
341 ddi_get_name(dip), instance);
361 ddi_get_name(dip), instance);
372 ddi_get_name(dip), instance);
380 ddi_get_name(dip), instance);
385 (void) sprintf(name, "envctrltwo%d", instance);
387 if (ddi_create_priv_minor_node(dip, name, S_IFCHR, instance,
423 ddi_get_name(dip), instance);
441 ddi_get_name(dip), instance);
459 ddi_get_name(dip), instance);
553 ddi_get_name(dip), instance);
602 cmn_err(CE_WARN, "%s%d: attach failed\n", ddi_get_name(dip), instance);
611 int instance;
614 instance = ddi_get_instance(dip);
615 unitp = ddi_get_soft_state(envctrlsoft_statep, instance);
661 if (!(unitp = ddi_get_soft_state(envctrlsoft_statep, instance)))
666 ddi_get_name(dip), instance);
676 ddi_get_name(dip), instance);
688 int instance, ret;
690 instance = getminor(dev);
701 instance)) != NULL) {
710 *result = (void *)(uintptr_t)instance;
727 register int instance;
729 instance = getminor(*dev);
730 if (instance < 0)
733 ddi_get_soft_state(envctrlsoft_statep, instance);
761 register int instance;
763 instance = getminor(dev);
764 if (instance < 0)
767 ddi_get_soft_state(envctrlsoft_statep, instance);
789 register int instance;
800 instance = getminor(dev);
802 ddi_get_soft_state(envctrlsoft_statep, instance);
848 driver_name, unitp->instance);
908 driver_name, unitp->instance);
943 driver_name, unitp->instance);
971 driver_name, unitp->instance);
1026 driver_name, unitp->instance);
1047 driver_name, unitp->instance);
1112 driver_name, unitp->instance);
1129 driver_name, unitp->instance);
1225 driver_name, unitp->instance);
1302 driver_name, unitp->instance);
1430 driver_name, unitp->instance);
1467 driver_name, unitp->instance);
1476 driver_name, unitp->instance);
1521 driver_name, unitp->instance);
1565 driver_name, unitp->instance);
1593 driver_name, unitp->instance);
1622 driver_name, unitp->instance);
1657 driver_name, unitp->instance);
1676 driver_name, unitp->instance);
1762 driver_name, unitp->instance);
1768 driver_name, unitp->instance);
1822 driver_name, unitp->instance);
1874 driver_name, unitp->instance);
1896 driver_name, unitp->instance);
1907 driver_name, unitp->instance);
1931 driver_name, unitp->instance);
1939 driver_name, unitp->instance);
2017 driver_name, unitp->instance);
2025 driver_name, unitp->instance);
2043 driver_name, unitp->instance);
2051 driver_name, unitp->instance);
2068 driver_name, unitp->instance);
2076 driver_name, unitp->instance);
2099 driver_name, unitp->instance);
2195 driver_name, unitp->instance);
2213 driver_name, unitp->instance);
2234 * Find the instance of the device available on this host.
2235 * Note that there may be only one, but the instance may
2252 driver_name, unitp->instance);
2256 driver_name, unitp->instance);
2279 driver_name, unitp->instance);
2320 driver_name, unitp->instance);
2336 driver_name, unitp->instance);
2373 driver_name, unitp->instance);
2407 driver_name, unitp->instance);
2430 driver_name, unitp->instance);
2439 driver_name, unitp->instance);
2461 driver_name, unitp->instance);
2517 unitp->instance);
2552 if ((unitp->enclksp = kstat_create(ENVCTRL_MODULE_NAME, unitp->instance,
2557 driver_name, unitp->instance);
2566 if ((unitp->fanksp = kstat_create(ENVCTRL_MODULE_NAME, unitp->instance,
2571 driver_name, unitp->instance);
2579 if ((unitp->psksp = kstat_create(ENVCTRL_MODULE_NAME, unitp->instance,
2584 driver_name, unitp->instance);
2593 unitp->instance, ENVCTRL_KSTAT_TEMPERATURE, "misc", KSTAT_TYPE_RAW,
2597 driver_name, unitp->instance);
2606 unitp->instance, ENVCTRL_KSTAT_DISK, "misc", KSTAT_TYPE_RAW,
2610 driver_name, unitp->instance);
2761 driver_name, unitp->instance);
2780 driver_name, unitp->instance);
2787 driver_name, unitp->instance);
2818 int instance;
2827 * instance numbers and slot locations. e.g.
2833 for (instance = 0; instance < ENVCTRL_MAX_CPUS; instance++) {
2834 unitp->cpu_pr_location[instance] = B_FALSE;
2858 driver_name, unitp->instance);