Lines Matching defs:instance
161 int instance;
166 instance = getminor(*devp);
168 if (instance < 0) {
173 ddi_get_soft_state(pcf8574soft_statep, instance);
209 int instance;
211 instance = getminor(dev);
213 if (instance < 0) {
217 ddi_get_soft_state(pcf8574soft_statep, instance);
303 int instance;
316 instance = getminor(dev);
318 ddi_get_soft_state(pcf8574soft_statep, instance);
501 int instance, err;
505 instance = ddi_get_instance(dip);
507 if (ddi_soft_state_zalloc(pcf8574soft_statep, instance) != 0) {
509 ddi_get_name(dip), instance);
513 unitp = ddi_get_soft_state(pcf8574soft_statep, instance);
517 ddi_get_name(dip), instance);
522 "%s%d", ddi_node_name(dip), instance);
525 if (ddi_create_minor_node(dip, "pcf8574", S_IFCHR, instance,
529 ddi_soft_state_free(pcf8574soft_statep, instance);
536 ddi_soft_state_free(pcf8574soft_statep, instance);
587 int instance;
589 instance = ddi_get_instance(dip);
591 unitp = ddi_get_soft_state(pcf8574soft_statep, instance);
595 ddi_get_name(dip), instance);
607 ddi_soft_state_free(pcf8574soft_statep, instance);