Lines Matching refs:dstates
61 static void *dstates; variable
118 if ((e = ddi_soft_state_init(&dstates, in _init()
124 ddi_soft_state_fini(&dstates); in _init()
138 ddi_soft_state_fini(&dstates); in _fini()
159 if (ddi_soft_state_zalloc(dstates, instance) != DDI_SUCCESS) { in tcli_attach()
165 dstatep = ddi_get_soft_state(dstates, instance); in tcli_attach()
172 ddi_soft_state_free(dstates, instance); in tcli_attach()
193 ddi_soft_state_free(dstates, instance); in tcli_detach()
225 if ((dstatep = ddi_get_soft_state(dstates, in tcli_open()
244 dstatep = ddi_get_soft_state(dstates, MINOR_TO_INST(minor)); in tcli_close()
263 dstatep = ddi_get_soft_state(dstates, instance); in tcli_ioctl()