Home
last modified time | relevance | path

Searched refs:ntwdt_statep (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/
H A Dntwdt.c76 ((ntwdt_state_t *)ddi_get_soft_state(ntwdt_statep, (minor)))
128 static void *ntwdt_statep; /* softstate */ variable
202 if ((error = ddi_soft_state_init(&ntwdt_statep, in _init()
209 ddi_soft_state_fini(&ntwdt_statep); in _init()
230 ddi_soft_state_fini(&ntwdt_statep); in _fini()
262 if (ddi_soft_state_zalloc(ntwdt_statep, instance) != DDI_SUCCESS) { in ntwdt_attach()
265 ntwdt_ptr = ddi_get_soft_state(ntwdt_statep, instance); in ntwdt_attach()
337 ddi_soft_state_free(ntwdt_statep, instance); in ntwdt_attach()
382 ntwdt_ptr = ddi_get_soft_state(ntwdt_statep, instance); in ntwdt_detach()
408 ddi_soft_state_free(ntwdt_statep, instance); in ntwdt_detach()
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dntwdt.c399 static void *ntwdt_statep; /* softstate */ variable
415 ((ntwdt_state_t *)ddi_get_soft_state(ntwdt_statep, (minor)))
540 if ((error = ddi_soft_state_init(&ntwdt_statep, in _init()
547 ddi_soft_state_fini(&ntwdt_statep); in _init()
569 ddi_soft_state_fini(&ntwdt_statep); in _fini()
607 if (ddi_soft_state_zalloc(ntwdt_statep, instance) in ntwdt_attach()
611 ntwdt_ptr = ddi_get_soft_state(ntwdt_statep, instance); in ntwdt_attach()
702 ddi_soft_state_free(ntwdt_statep, instance); in ntwdt_attach()
798 ntwdt_ptr = ddi_get_soft_state(ntwdt_statep, instance); in ntwdt_detach()
830 ddi_soft_state_free(ntwdt_statep, instance); in ntwdt_detach()