Searched refs:dstatep (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/uts/common/io/ |
H A D | gen_drv.c | 228 struct dstate *dstatep; in gen_attach() local 264 dstatep = ddi_get_soft_state(dstates, instance); in gen_attach() 265 dstatep->dip = devi; in gen_attach() 266 mutex_init(&dstatep->lock, NULL, MUTEX_DRIVER, NULL); in gen_attach() 295 rval = gen_create_minor_nodes(devi, dstatep); in gen_attach() 310 gen_event_cb, NULL, &(dstatep->gen_cb_ids[0])); in gen_attach() 316 gen_event_cb, NULL, &(dstatep->gen_cb_ids[1])); in gen_attach() 322 gen_event_cb, NULL, &(dstatep->gen_cb_ids[2])); in gen_attach() 328 gen_event_cb, NULL, &(dstatep->gen_cb_ids[3])); in gen_attach() 335 NULL, &(dstatep->gen_cb_ids[4])); in gen_attach() [all …]
|
H A D | tclient.c | 153 struct dstate *dstatep; in tcli_attach() local 165 dstatep = ddi_get_soft_state(dstates, instance); in tcli_attach() 166 dstatep->dip = devi; in tcli_attach() 219 struct dstate *dstatep; in tcli_open() local 225 if ((dstatep = ddi_get_soft_state(dstates, in tcli_open() 229 dstatep->oflag = 1; in tcli_open() 238 struct dstate *dstatep; in tcli_close() local 244 dstatep = ddi_get_soft_state(dstates, MINOR_TO_INST(minor)); in tcli_close() 246 if (dstatep == NULL) in tcli_close() 249 dstatep->oflag = 0; in tcli_close() [all …]
|