Lines Matching defs:inst
292 int inst, err;
295 inst = ddi_get_instance(dip);
299 inst);
307 "ses_attach: DDI_ATTACH OK ses%d", inst);
311 if ((ssc = ddi_get_soft_state(estate, inst)) == NULL) {
315 inst);
382 int inst, err;
387 inst = ddi_get_instance(dip);
426 "ses_doattach: ses%d: is_enc_dev failure", inst);
431 if (ddi_soft_state_zalloc(estate, inst) != DDI_SUCCESS) {
433 SES_LOG(NULL, CE_NOTE, "ses%d: softalloc fails", inst);
436 ssc = ddi_get_soft_state(estate, inst);
439 SES_LOG(NULL, CE_NOTE, "ses%d: get_soft_state fails", inst);
444 err = ddi_create_minor_node(dip, "0", S_IFCHR, inst,
449 ddi_soft_state_free(estate, inst);
473 ddi_soft_state_free(estate, inst);
533 ddi_soft_state_free(estate, inst);
562 int inst;
566 inst = ddi_get_instance(dip);
567 ssc = ddi_get_soft_state(estate, inst);
570 "ses%d: DDI_DETACH, no softstate found", inst);
594 ddi_soft_state_free(estate, inst);
601 inst = ddi_get_instance(dip);
602 if ((ssc = ddi_get_soft_state(estate, inst)) == NULL) {
604 "ses%d: DDI_SUSPEND, no softstate found", inst);
633 int inst, error;
638 inst = getminor(dev);
639 if ((ssc = ddi_get_soft_state(estate, inst)) == NULL) {
647 inst = getminor(dev);
648 *result = (void *)(uintptr_t)inst;