Lines Matching defs:devi
334 ssm_attach(dev_info_t *devi, ddi_attach_cmd_t cmd)
353 instance = ddi_get_instance(devi);
361 softsp->dip = devi;
362 softsp->top_node = devi;
365 DPRINTF(SSM_ATTACH_DEBUG, ("ssm-%d: devi= 0x%p, softsp=0x%p\n",
366 instance, (void *)devi, (void *)softsp));
377 (void) ddi_prop_create(DDI_DEV_T_NONE, devi, DDI_PROP_CANSLEEP,
382 if (ddi_create_minor_node(devi, "debug", S_IFCHR, instance,
389 if (ssm_make_nodes(devi, instance, softsp->ssm_nodeid)) {
391 ddi_driver_name(devi), instance);
392 ddi_remove_minor_node(devi, NULL);
397 ddi_report_dev(devi);
455 ssm_detach(dev_info_t *devi, ddi_detach_cmd_t cmd)
463 instance = ddi_get_instance(devi);
472 instance = ddi_get_instance(devi);
476 ddi_remove_minor_node(devi, NULL);
706 ssm_open(dev_t *devi, int flags, int otyp, cred_t *credp)
714 instance = (getminor(*devi) >> SSM_INSTANCE_SHIFT);
722 board = (getminor(*devi) & SSM_BOARD_MASK);