Lines Matching refs:simba_state
245 static void *simba_state; variable
313 if ((e = ddi_soft_state_init(&simba_state, sizeof (simba_devstate_t), in _init()
315 ddi_soft_state_fini(&simba_state); in _init()
327 ddi_soft_state_fini(&simba_state); in _fini()
346 simba_p = (simba_devstate_t *)ddi_get_soft_state(simba_state, in simba_info()
395 if (ddi_soft_state_zalloc(simba_state, instance) != DDI_SUCCESS) in simba_attach()
397 simba = (simba_devstate_t *)ddi_get_soft_state(simba_state, in simba_attach()
409 ddi_soft_state_free(simba_state, instance); in simba_attach()
417 ddi_soft_state_free(simba_state, instance); in simba_attach()
467 ddi_get_soft_state(simba_state, ddi_get_instance(devi)); in simba_attach()
480 ddi_get_soft_state(simba_state, ddi_get_instance(devi)); in simba_detach()
492 ddi_soft_state_free(simba_state, ddi_get_instance(devi)); in simba_detach()
811 simba = (simba_devstate_t *)ddi_get_soft_state(simba_state, in simba_initchild()
1064 simba_p = (simba_devstate_t *)ddi_get_soft_state(simba_state, in simba_open()
1100 simba_p = (simba_devstate_t *)ddi_get_soft_state(simba_state, in simba_close()
1126 simba_p = (simba_devstate_t *)ddi_get_soft_state(simba_state, in simba_ioctl()
1196 simba_devstate_t *simba_p = ddi_get_soft_state(simba_state, in simba_fm_init_child()