Lines Matching refs:instance
53 * Define your per instance state data
203 int instance;
209 instance = getminor(dev);
210 tsp = ddi_get_soft_state(xcalwd_statep, instance);
231 int instance;
236 instance = ddi_get_instance(dip);
243 if (ddi_soft_state_zalloc(xcalwd_statep, instance) !=
246 "%d state structure", instance);
250 tsp = ddi_get_soft_state(xcalwd_statep, instance);
253 instance);
258 S_IFCHR, instance, DDI_PSEUDO, NULL) == DDI_FAILURE) {
283 int instance;
287 instance = ddi_get_instance(dip);
288 tsp = ddi_get_soft_state(xcalwd_statep, instance);
291 ddi_soft_state_free(xcalwd_statep, instance);
308 int instance = (int)(uintptr_t)arg;
311 if (instance < 0)
314 tsp = ddi_get_soft_state(xcalwd_statep, instance);
333 int instance;
341 instance = getminor(*devp);
342 if (instance < 0)
345 if (ddi_get_soft_state(xcalwd_statep, instance) == NULL) {
357 int instance;
360 instance = getminor(dev);
361 if (instance < 0)
363 tsp = ddi_get_soft_state(xcalwd_statep, instance);
401 int instance;
411 instance = getminor(dev);
412 if (instance < 0)
415 tsp = ddi_get_soft_state(xcalwd_statep, instance);
458 (void *)(uintptr_t)instance,
475 (void *)(uintptr_t)instance,