Lines Matching defs:tphci_state
64 static void *tphci_state;
65 struct tphci_state {
156 if ((rval = ddi_soft_state_init(&tphci_state,
157 sizeof (struct tphci_state), 2)) != 0) {
162 ddi_soft_state_fini(&tphci_state);
182 ddi_soft_state_fini(&tphci_state);
197 struct tphci_state *phci;
203 phci = ddi_get_soft_state(tphci_state, getminor(*devp));
216 struct tphci_state *phci;
221 phci = ddi_get_soft_state(tphci_state, getminor(dev));
245 struct tphci_state *phci = NULL;
264 if (ddi_soft_state_zalloc(tphci_state, instance) != DDI_SUCCESS) {
268 phci = ddi_get_soft_state(tphci_state, instance);
305 ddi_soft_state_free(tphci_state, instance);
332 ddi_soft_state_free(tphci_state, instance);
348 struct tphci_state *phci;
353 phci = ddi_get_soft_state(tphci_state, instance);