Lines Matching refs:instance
183 int instance;
186 instance = MINOR_TO_INST(getminor(*devp));
188 if (instance < 0) {
193 ddi_get_soft_state(ssc050soft_statep, instance);
230 int instance;
232 instance = MINOR_TO_INST(getminor(dev));
234 if (instance < 0) {
239 ddi_get_soft_state(ssc050soft_statep, instance);
319 int instance = MINOR_TO_INST(getminor(dev));
333 ddi_get_soft_state(ssc050soft_statep, instance);
584 int instance;
588 instance = MINOR_TO_INST(getminor(dev));
589 *result = (void *)(uintptr_t)instance;
627 int instance;
632 instance = ddi_get_instance(dip);
634 if (ddi_soft_state_zalloc(ssc050soft_statep, instance) != 0) {
638 unitp = ddi_get_soft_state(ssc050soft_statep, instance);
641 "%s%d", ddi_node_name(dip), instance);
646 minor_number = INST_TO_MINOR(instance) |
653 ddi_soft_state_free(ssc050soft_statep, instance);
660 ddi_soft_state_free(ssc050soft_statep, instance);
673 int instance;
675 instance = ddi_get_instance(dip);
676 unitp = ddi_get_soft_state(ssc050soft_statep, instance);
680 ddi_soft_state_free(ssc050soft_statep, instance);
690 int instance;
696 instance = ddi_get_instance(dip);
697 unitp = ddi_get_soft_state(ssc050soft_statep, instance);