Lines Matching refs:instance
445 int instance, error;
455 instance = ddi_get_instance(devi);
462 softsp = ddi_get_soft_state(sbusp, instance);
476 cpr_softsp = ddi_get_soft_state(sbus_cprp, instance);
481 ddi_soft_state_free(sbus_cprp, instance);
490 if (ddi_soft_state_zalloc(sbusp, instance) != DDI_SUCCESS)
493 softsp = ddi_get_soft_state(sbusp, instance);
596 ddi_soft_state_free(sbusp, instance);
604 int instance;
616 instance = ddi_get_instance(devi);
618 if (ddi_soft_state_zalloc(sbus_cprp, instance)
622 cpr_softsp = ddi_get_soft_state(sbus_cprp, instance);
624 softsp = ddi_get_soft_state(sbusp, instance);
640 int instance, pic;
643 instance = ddi_get_instance(devi);
644 softsp = ddi_get_soft_state(sbusp, instance);
679 * if we are the last instance to detach we need to
702 ddi_soft_state_free(sbusp, instance);
2211 * lock for this instance of the sbus.
2385 * own events by creating picN kstats with the instance number
2389 * first search for a picN kstat using the instance number
2427 int instance = ddi_get_instance(dip);
2437 instance, pic_name, "bus", KSTAT_TYPE_NAMED,
2500 * Create the picN kstats if we are the first instance
2514 * instance that provides access to the %pcr and %pic
2515 * registers for that instance.