Lines Matching defs:instance
176 int instance;
187 instance = getminor(*devp);
188 if (instance < 0) {
192 instance);
224 int instance;
234 instance = getminor(dev);
236 instance);
251 int instance = ddi_get_instance(dip);
253 if (ddi_soft_state_zalloc(ics951601_soft_statep, instance) != 0) {
255 ddi_get_name(dip), instance);
259 icsp = ddi_get_soft_state(ics951601_soft_statep, instance);
269 "%s_%d", ddi_driver_name(dip), instance);
273 instance, ICS951601_NODE_TYPE, NULL) == DDI_FAILURE) {
326 ddi_soft_state_free(ics951601_soft_statep, instance);
336 int instance;
338 instance = ddi_get_instance(dip);
339 icsp = ddi_get_soft_state(ics951601_soft_statep, instance);
345 ddi_soft_state_free(ics951601_soft_statep, instance);
354 int instance = getminor((dev_t)arg);
358 icsp = ddi_get_soft_state(ics951601_soft_statep, instance);
366 *result = (void *)(uintptr_t)instance;
378 int instance = ddi_get_instance(dip);
380 icsp = ddi_get_soft_state(ics951601_soft_statep, instance);
416 int instance = ddi_get_instance(dip);
421 ddi_get_soft_state(ics951601_soft_statep, instance);
492 int instance = getminor(dev);
497 ddi_get_soft_state(ics951601_soft_statep, instance);
500 printf("ics951601_ioctl: instance=%d\n", instance);