Searched refs:tphci_state (Results 1 – 1 of 1) sorted by relevance
67 static void *tphci_state; variable68 struct tphci_state { struct159 if ((rval = ddi_soft_state_init(&tphci_state, in _init()160 sizeof (struct tphci_state), 2)) != 0) { in _init()165 ddi_soft_state_fini(&tphci_state); in _init()185 ddi_soft_state_fini(&tphci_state); in _fini()200 struct tphci_state *phci; in tphci_open()206 phci = ddi_get_soft_state(tphci_state, getminor(*devp)); in tphci_open()219 struct tphci_state *phci; in tphci_close()224 phci = ddi_get_soft_state(tphci_state, getminor(dev)); in tphci_close()[all …]