Lines Matching defs:instance

255 	int			instance;
261 instance = ddi_get_instance(dip);
283 DPRINTF(("Glvc instance %d negotiated VSC API version, "
285 instance, glvc_hsvc.hsvc_major, glvc_vsc_min_ver));
287 if (ddi_soft_state_zalloc(glvc_ssp, instance)
296 softsp = ddi_get_soft_state(glvc_ssp, instance);
341 instance, DDI_PSEUDO, NULL);
380 DPRINTF(("glvc instance %d, s_id %lu,"
381 "mtu %lu attached\n", instance, softsp->s_id,
404 cmn_err(CE_WARN, "glvc: attach failed for instance %d\n", instance);
405 ddi_soft_state_free(glvc_ssp, instance);
413 int instance;
420 instance = ddi_get_instance(dip);
422 softsp = ddi_get_soft_state(glvc_ssp, instance);
443 ddi_soft_state_free(glvc_ssp, instance);
461 int instance;
466 instance = ddi_get_instance(dip);
467 softsp = ddi_get_soft_state(glvc_ssp, instance);
474 cmn_err(CE_NOTE, "glvc, instance %d"
476 " polling mode", instance);
484 DPRINTF(("glvc instance %d polling_interval = %lu\n",
485 instance, polling_interval));
488 DPRINTF(("glvc, instance %d intr support not found, "
489 "err = %d , use polling mode", instance, err));
495 DPRINTF(("glvc instance %d polling_interval = %lu\n",
496 instance, polling_interval));
506 cmn_err(CE_NOTE, "glvc instance %d"
508 instance);
524 int instance;
527 instance = ddi_get_instance(dip);
528 softsp = ddi_get_soft_state(glvc_ssp, instance);
558 int instance;
561 instance = getminor(*dev_p);
563 softsp = ddi_get_soft_state(glvc_ssp, instance);
602 int instance;
605 instance = getminor(dev);
607 softsp = ddi_get_soft_state(glvc_ssp, instance);
627 int instance;
632 instance = getminor(dev);
634 softsp = ddi_get_soft_state(glvc_ssp, instance);
677 instance, hverr, recv_count));
683 "received(%lu).", instance, uiop->uio_resid,
717 int instance;
721 instance = getminor(dev);
723 softsp = ddi_get_soft_state(glvc_ssp, instance);
729 DPRINTF(("instance %d glvc_write: request to send %lu bytes",
730 instance, send_count));
763 DPRINTF(("instance %d glvc_write write check error = %d,"
764 " send_count = %lu", instance, error, send_count));
952 int instance = getminor(dev);
958 softsp = ddi_get_soft_state(glvc_ssp, instance);