Lines Matching defs:instance

62 #define	AGP_INST2MINOR(instance)	((instance) << 4)
247 int instance;
252 instance = AGP_DEV2INST(dev);
253 softstate = ddi_get_soft_state(agpgart_glob_soft_handle, instance);
321 * We check all possible driver instance from 0
323 * at any instance number. Only one AGP master is supported.
343 * Search all possible instance numbers for the agp master device.
353 "master device found: instance number=%d", i));
372 * We check driver instance from 0 to MAX_INSTNUM
373 * because the master device could be at any instance
401 "bridge device found: instance number=%d", i));
444 * Search all possible instance numbers for the gart devices.
460 "amd64 gart device found: instance number=%d", i));
2444 int instance;
2452 instance = ddi_get_instance(dip);
2454 if (ddi_soft_state_zalloc(agpgart_glob_soft_handle, instance)
2461 softstate = ddi_get_soft_state(agpgart_glob_soft_handle, instance);
2486 AGP_INST2MINOR(instance),
2505 ddi_soft_state_free(agpgart_glob_soft_handle, instance);
2513 int instance;
2516 instance = ddi_get_instance(dip);
2518 st = ddi_get_soft_state(agpgart_glob_soft_handle, instance);
2564 ddi_soft_state_free(agpgart_glob_soft_handle, instance);
2575 int instance, rval = DDI_FAILURE;
2581 instance = AGP_DEV2INST(dev);
2582 st = ddi_get_soft_state(agpgart_glob_soft_handle, instance);
2594 instance = AGP_DEV2INST(dev);
2595 *resultp = (void *)(uintptr_t)instance;
2630 int instance = AGP_DEV2INST(*dev);
2639 softstate = ddi_get_soft_state(agpgart_glob_soft_handle, instance);
2788 int instance = AGP_DEV2INST(dev);
2793 softstate = ddi_get_soft_state(agpgart_glob_soft_handle, instance);
3270 int instance;
3276 instance = AGP_DEV2INST(dev);
3277 softstate = ddi_get_soft_state(agpgart_glob_soft_handle, instance);
3339 int instance;
3342 instance = AGP_DEV2INST(dev);
3343 softstate = ddi_get_soft_state(agpgart_glob_soft_handle, instance);
3366 int instance, status;
3370 instance = AGP_DEV2INST(dev);
3371 softstate = ddi_get_soft_state(agpgart_glob_soft_handle, instance);