Lines Matching defs:instance

472 	int			instance;
487 instance = ddi_get_instance(dip);
489 DEBUGF(4, (CE_CONT, "socal%d entering attach: cmd=%x\n", instance,
503 DEBUGF(4, (CE_CONT, "socal%d resumed\n", instance));
513 instance);
521 instance);
535 instance);
540 if (ddi_soft_state_zalloc(socal_soft_state_p, instance)
543 instance);
547 instance));
552 socalp = ddi_get_soft_state(socal_soft_state_p, instance);
555 instance);
559 instance, socalp));
626 instance, socalp->socal_stats.node_wwn));
634 porta->sp_p_wwn.w.nport_id = instance*2;
635 portb->sp_p_wwn.w.nport_id = instance*2+1;
644 instance, socalp->socal_stats.port_wwn[0]));
646 instance, socalp->socal_stats.port_wwn[1]));
662 instance));
691 instance, socalp->socal_eeprom));
701 instance, socalp->socal_xrp));
711 instance, socalp->socal_rp));
753 DEBUGF(4, (CE_CONT, "socal%d attach: read xram\n", instance));
767 if ((socalp->socal_ksp = kstat_create("socal", instance, "statistics",
814 instance));
822 instance));
827 DEBUGF(4, (CE_CONT, "socal%d: attach: got service params\n", instance));
833 instance));
843 DEBUGF(4, (CE_CONT, "socal%d: attach: allocated cqs\n", instance));
850 instance, burstsize));
863 instance));
868 instance, burstsize));
898 instance, socalp->socal_cfg));
901 instance*N_SOCAL_NPORTS, SOCAL_NT_PORT, 0) != DDI_SUCCESS)
904 instance*N_SOCAL_NPORTS+1, SOCAL_NT_PORT, 0) != DDI_SUCCESS)
909 DEBUGF(4, (CE_CONT, "socal%d: attach: soc+ started\n", instance));
913 DEBUGF(2, (CE_CONT, "socal%d: attach O.K.\n\n", instance));
918 DEBUGF(4, (CE_CONT, "socal%d: attach: DDI_FAILURE\n", instance));
974 int instance = ddi_get_instance(dip);
981 if ((socalp = ddi_get_soft_state(socal_soft_state_p, instance)) == 0) {
1008 instance));
1106 ddi_soft_state_free(socal_soft_state_p, instance);
1255 * pointer or the instance number. Note: this routine must be
1262 int instance;
1265 instance = getminor((dev_t)arg) / 2;
1269 socalp = ddi_get_soft_state(socal_soft_state_p, instance);
1277 *result = (void *)(uintptr_t)instance;
1291 int instance = getminor(*devp)/2;
1293 ddi_get_soft_state(socal_soft_state_p, instance);
1307 "socal%d: open of port %d\n", instance, port));
1315 int instance = getminor(dev)/2;
1317 ddi_get_soft_state(socal_soft_state_p, instance);
1328 "socal%d: clsoe of port %d\n", instance, port));
1337 int instance = getminor(dev)/2;
1339 ddi_get_soft_state(socal_soft_state_p, instance);
1370 DEBUGF(4, (CE_CONT, "socal%d ioctl: got command %x\n", instance, cmd));
2279 int instance;
2281 instance = ddi_get_instance(socalp->dip);
2287 "!ID[SUNWssa.socal.%s] socal%d: %s", mid, instance, msg+1);
2290 "?ID[SUNWssa.socal.%s] socal%d: %s", mid, instance, msg+1);
2292 cmn_err(level, "^socal%d: %s", instance, msg+1);
2294 cmn_err(level, "^socal%d: %s", instance, msg);
2296 instance, msg);
2577 int instance = ddi_get_instance(socalp->dip);
2589 instance, fcalpkt, sleep));
2619 int instance = ddi_get_instance(socalp->dip);
2676 instance, rqix));
2707 instance, &kcq->skc_xram_cqdesc->cq_in, s_out));
3187 int instance = ddi_get_instance(socalp->dip);
3198 instance, csr, cause));
3217 DEBUGF(4, (CE_CONT, "socal%d intr: did unsolicited\n", instance));
3222 DEBUGF(4, (CE_CONT, "socal%d intr: did solicited\n", instance));
3269 instance, j));
3282 DEBUGF(4, (CE_CONT, "socal%d intr: did request queues\n", instance));
3308 int instance = ddi_get_instance(socalp->dip);
3314 DEBUGF(4, (CE_CONT, "socal%d intr_sol: entered \n", instance));
3623 int instance = ddi_get_instance(socalp->dip);
3707 instance, cqe->cqe_hdr.cq_hdr_count));
3852 instance));
3868 instance));
3891 instance));
4933 int i, instance;
4951 instance = ddi_get_instance(socalp->dip);
4953 "socal take core (socal instance %d)", instance);
4984 int instance = getminor(dev) / 2;
5000 socalp = ddi_get_soft_state(socal_soft_state_p, instance);
5013 /* if this instance is detaching, don't attach */
5035 instance, loop_id);