Lines Matching defs:instance

80     int instance);
271 minor_t instance;
276 instance = HERMON_DEV_INSTANCE(dev);
277 state = ddi_get_soft_state(hermon_statep, instance);
286 instance = HERMON_DEV_INSTANCE(dev);
287 *result = (void *)(uintptr_t)instance;
308 minor_t instance;
314 instance = HERMON_DEV_INSTANCE(*devp);
315 state = ddi_get_soft_state(hermon_statep, instance);
335 * instance and the UAR page index) or we return the current minor
357 status = hermon_umap_db_find_nolock(instance, key,
392 umapdb = hermon_umap_db_alloc(instance, key,
405 * the UAR page index (15 bits) and the device instance number
409 HERMON_MINORNUM_SHIFT) | instance);
416 umapdb2 = hermon_umap_db_alloc(instance, dev,
436 * index (top 16 bits) and the device instance number
440 HERMON_MINORNUM_SHIFT) | instance);
461 minor_t instance;
465 instance = HERMON_DEV_INSTANCE(dev);
466 state = ddi_get_soft_state(hermon_statep, instance);
495 status = hermon_umap_db_find_nolock(instance, key, MLNX_UMAP_PID_RSRC,
522 status = hermon_umap_db_find_nolock(instance, key,
549 int instance;
558 instance = ddi_get_instance(dip);
559 status = ddi_soft_state_zalloc(hermon_statep, instance);
562 "attach_ssz_fail", instance);
566 state = ddi_get_soft_state(hermon_statep, instance);
568 ddi_soft_state_free(hermon_statep, instance);
570 "attach_gss_fail", instance);
577 /* Save away devinfo and instance before hermon_fm_init() */
579 state->hs_instance = instance;
594 status = hermon_drv_init(state, dip, instance);
637 status = ddi_create_minor_node(dip, "devctl", S_IFCHR, instance,
722 cmn_err(CE_NOTE, "hermon%d: driver failed to attach: %s", instance,
729 ddi_soft_state_free(hermon_statep, instance);
746 int instance, status;
748 instance = ddi_get_instance(dip);
749 state = ddi_get_soft_state(hermon_statep, instance);
826 ddi_soft_state_free(hermon_statep, instance);
1266 hermon_drv_init(hermon_state_t *state, dev_info_t *dip, int instance)
1314 cmn_err(CE_NOTE, "hermon%d: error during attach: %s", instance,
4389 IBTF_DPRINTF_L2("hermon", "interrupt callback: instance %d, "