Lines Matching defs:instance

310 	int		instance;
325 instance = ddi_get_instance(dip);
327 if (ddi_soft_state_zalloc(qlt_state, instance) != DDI_SUCCESS) {
331 if ((qlt = (qlt_state_t *)ddi_get_soft_state(qlt_state, instance)) ==
336 qlt->instance = instance;
342 cmn_err(CE_WARN, "qlt(%d): can't setup el tracing", instance);
346 EL(qlt, "instance=%d, ptr=%p\n", instance, (void *)qlt);
356 instance, did);
380 instance, pci_speeds[pci_bits], pci_bits);
384 instance, (pci_bits <= 8) ? pci_speeds[pci_bits] :
391 cmn_err(CE_WARN, "qlt(%d): read nvram failure %llx", instance,
426 "qlt%d", instance);
431 instance, DDI_NT_STMF_PP, 0) != DDI_SUCCESS) {
455 "for this HBA are 512/1024/2048/4096", instance);
480 instance);
490 instance, did);
511 instance);
521 instance, did);
556 ddi_soft_state_free(qlt_state, instance);
568 int instance;
570 instance = ddi_get_instance(dip);
571 if ((qlt = (qlt_state_t *)ddi_get_soft_state(qlt_state, instance)) ==
602 ddi_soft_state_free(qlt_state, instance);
1201 int instance, i;
1208 instance = ddi_get_instance(qlt->dip);
1370 instance);
1420 instance, (long long)ret, REG_RD32(qlt, REG_INTR_STATUS));
1429 cmn_err(CE_NOTE, "qlt(%d) get_fw_options %llx", instance,
1593 int instance;
1607 instance = (int)getminor(*devp);
1608 qlt = ddi_get_soft_state(qlt_state, instance);
1644 int instance;
1651 instance = (int)getminor(dev);
1652 qlt = ddi_get_soft_state(qlt_state, instance);
2601 * If not then return claimed if this is the 1st instance
2645 qlt->instance, risc_status);
2769 qlt->instance, qlt->mbox_io_state);
2785 qlt->instance, intr_type);
3915 " transfers are not yet supported", qlt->instance);
3932 " is %d while it should be %d", qlt->instance,
4074 int instance = ddi_get_instance(qlt->dip);
4079 instance, portid);
5001 "is one already outstanding.", qlt->instance);
5896 qlt->instance);
5905 qlt->instance);
5935 qlt->instance);
6003 "QEL qlt(%d): %s, ", qlt->instance, fn);
6048 qlt->instance);
6056 qlt->instance,
6171 * Get adapter instance specific parameters. If the instance
6175 (void) sprintf(inst_prop, "hba%d-%s", qlt->instance, prop);
6189 /* Get adapter instance specific parameter. */
6190 (void) sprintf(instance_prop, "hba%d-%s", qlt->instance, prop);