Searched refs:envctrlsoft_statep (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/sun4u/javelin/io/ |
H A D | envctrltwo.c | 131 static void *envctrlsoft_statep; variable 244 (void) ddi_soft_state_init(&envctrlsoft_statep, in _init() 257 ddi_soft_state_fini(&envctrlsoft_statep); in _fini() 294 if (!(unitp = ddi_get_soft_state(envctrlsoft_statep, instance))) in envctrl_attach() 329 if (ddi_soft_state_zalloc(envctrlsoft_statep, instance) != 0) { in envctrl_attach() 335 unitp = ddi_get_soft_state(envctrlsoft_statep, instance); in envctrl_attach() 615 unitp = ddi_get_soft_state(envctrlsoft_statep, instance); in envctrl_detach() 661 if (!(unitp = ddi_get_soft_state(envctrlsoft_statep, instance))) in envctrl_detach() 700 ddi_get_soft_state(envctrlsoft_statep, in envctrl_getinfo() 733 ddi_get_soft_state(envctrlsoft_statep, instance); in envctrl_open() [all …]
|
/illumos-gate/usr/src/uts/sun4u/tazmo/io/ |
H A D | envctrl.c | 125 static void *envctrlsoft_statep; variable 387 (void) ddi_soft_state_init(&envctrlsoft_statep, in _init() 400 ddi_soft_state_fini(&envctrlsoft_statep); in _fini() 438 if (!(unitp = ddi_get_soft_state(envctrlsoft_statep, instance))) in envctrl_attach() 467 if (ddi_soft_state_zalloc(envctrlsoft_statep, instance) != 0) { in envctrl_attach() 472 unitp = ddi_get_soft_state(envctrlsoft_statep, instance); in envctrl_attach() 753 unitp = ddi_get_soft_state(envctrlsoft_statep, instance); in envctrl_detach() 793 if (!(unitp = ddi_get_soft_state(envctrlsoft_statep, instance))) in envctrl_detach() 826 ddi_get_soft_state(envctrlsoft_statep, in envctrl_getinfo() 859 ddi_get_soft_state(envctrlsoft_statep, instance); in envctrl_open() [all …]
|