Lines Matching defs:instance
149 int instance;
154 instance = getminor(*devp);
156 if (instance < 0) {
161 ddi_get_soft_state(pcf8574soft_statep, instance);
198 int instance;
200 instance = getminor(dev);
202 if (instance < 0) {
206 ddi_get_soft_state(pcf8574soft_statep, instance);
291 int instance;
304 instance = getminor(dev);
306 ddi_get_soft_state(pcf8574soft_statep, instance);
489 int instance;
491 instance = ddi_get_instance(dip);
493 if (ddi_soft_state_zalloc(pcf8574soft_statep, instance) != 0) {
495 ddi_get_name(dip), instance);
499 unitp = ddi_get_soft_state(pcf8574soft_statep, instance);
503 ddi_get_name(dip), instance);
508 "%s%d", ddi_node_name(dip), instance);
511 if (ddi_create_minor_node(dip, "pcf8574", S_IFCHR, instance,
515 ddi_soft_state_free(pcf8574soft_statep, instance);
522 ddi_soft_state_free(pcf8574soft_statep, instance);
552 int instance;
554 instance = ddi_get_instance(dip);
556 unitp = ddi_get_soft_state(pcf8574soft_statep, instance);
560 ddi_get_name(dip), instance);
570 ddi_soft_state_free(pcf8574soft_statep, instance);