Lines Matching refs:instance
155 int instance, ilen;
161 instance = ddi_get_instance(devi);
168 "sbmem_attach%d: No size property\n", instance);
179 "sbmem_attach%d: No reg property\n", instance);
182 "sbmem_attach%d: slot 0x%x size 0x%x\n", instance,
193 "sbmem_attach%d: No ident property\n", instance);
199 instance) != DDI_SUCCESS)
203 instance)) == NULL) {
204 ddi_soft_state_free(sbusmem_state_head, instance);
208 if (ddi_create_minor_node(devi, ident, S_IFCHR, instance,
212 ddi_soft_state_free(sbusmem_state_head, instance);
222 instance, devi, size);
240 int instance;
244 instance = ddi_get_instance(devi);
246 ddi_soft_state_free(sbusmem_state_head, instance);
259 int instance;
264 instance = getminor(*devp);
265 if (ddi_get_soft_state(sbusmem_state_head, instance) == NULL) {
284 int instance, error = DDI_FAILURE;
293 instance = getminor((dev_t)arg);
295 instance)) != NULL) {
300 "sbmem_info%d: returning dip 0x%p\n", instance, un->dip);
307 instance = getminor((dev_t)arg);
308 *result = (void *)(uintptr_t)instance;
337 int instance, error = 0;
345 instance = getminor(dev);
346 if ((un = ddi_get_soft_state(sbusmem_state_head, instance)) == NULL) {
389 int instance, error;
395 instance = getminor(dev);
396 if ((un = ddi_get_soft_state(sbusmem_state_head, instance)) == NULL) {