Lines Matching refs:instance
164 int instance;
169 instance = ddi_get_instance(dip);
170 DBG1(NULL, DENTRY, "n2rng_attach called, instance %d", instance);
172 * Only instance 0 of n2rng driver is allowed.
174 if (instance != 0) {
175 n2rng_diperror(dip, "only one instance (0) allowed");
182 instance);
195 rv = ddi_soft_state_zalloc(n2rng_softstate, instance);
200 n2rng = (n2rng_t *)ddi_get_soft_state(n2rng_softstate, instance);
321 ddi_soft_state_free(n2rng_softstate, instance);
329 int instance;
334 instance = ddi_get_instance(dip);
335 n2rng = (n2rng_t *)ddi_get_soft_state(n2rng_softstate, instance);
378 ddi_soft_state_free(n2rng_softstate, instance);