Lines Matching refs:tvhci_state
69 static void *tvhci_state; variable
70 struct tvhci_state { struct
169 if ((rval = ddi_soft_state_init(&tvhci_state, in _init()
170 sizeof (struct tvhci_state), 2)) != 0) { in _init()
175 ddi_soft_state_fini(&tvhci_state); in _init()
195 ddi_soft_state_fini(&tvhci_state); in _fini()
210 struct tvhci_state *vhci; in tvhci_open()
216 vhci = ddi_get_soft_state(tvhci_state, getminor(*devp)); in tvhci_open()
229 struct tvhci_state *vhci; in tvhci_close()
234 vhci = ddi_get_soft_state(tvhci_state, getminor(dev)); in tvhci_close()
258 struct tvhci_state *vhci = NULL; in tvhci_attach()
278 if (ddi_soft_state_zalloc(tvhci_state, instance) != DDI_SUCCESS) { in tvhci_attach()
282 vhci = ddi_get_soft_state(tvhci_state, instance); in tvhci_attach()
333 ddi_soft_state_free(tvhci_state, instance); in tvhci_attach()
360 ddi_soft_state_free(tvhci_state, instance); in tvhci_detach()
376 struct tvhci_state *vhci; in tvhci_getinfo()
381 vhci = ddi_get_soft_state(tvhci_state, instance); in tvhci_getinfo()