Lines Matching refs:sbbcsoft_statep
161 static void *sbbcsoft_statep; variable
262 if ((error = ddi_soft_state_init(&sbbcsoft_statep, in _init()
266 ddi_soft_state_fini(&sbbcsoft_statep); in _init()
277 ddi_soft_state_fini(&sbbcsoft_statep); in _fini()
312 ddi_get_soft_state(sbbcsoft_statep, instance))) { in sbbc_attach()
331 if (ddi_soft_state_zalloc(sbbcsoft_statep, instance) != 0) { in sbbc_attach()
337 sbbcsoftp = ddi_get_soft_state(sbbcsoft_statep, instance); in sbbc_attach()
342 ddi_soft_state_free(sbbcsoft_statep, instance); in sbbc_attach()
358 ddi_soft_state_free(sbbcsoft_statep, instance); in sbbc_attach()
366 ddi_soft_state_free(sbbcsoft_statep, instance); in sbbc_attach()
445 ddi_soft_state_free(sbbcsoft_statep, instance); in sbbc_attach()
468 ddi_get_soft_state(sbbcsoft_statep, instance))) { in sbbc_detach()
487 if (!(sbbcsoftp = ddi_get_soft_state(sbbcsoft_statep, instance))) { in sbbc_detach()
501 ddi_soft_state_free(sbbcsoft_statep, instance); in sbbc_detach()
533 if (!(sbbcsoftp = ddi_get_soft_state(sbbcsoft_statep, instance))) in sbbc_busmap()
680 if (!(sbbcsoftp = ddi_get_soft_state(sbbcsoft_statep, instance))) in sbbc_add_intr_impl()
734 if (!(sbbcsoftp = ddi_get_soft_state(sbbcsoft_statep, instance))) in sbbc_remove_intr_impl()
783 if (!(sbbcsoftp = ddi_get_soft_state(sbbcsoft_statep, instance))) in sbbc_update_intr_state()
1040 ddi_get_soft_state(sbbcsoft_statep, instance); in sbbc_getinfo()
1076 sbbcsoftp = (struct sbbcsoft *)ddi_get_soft_state(sbbcsoft_statep, in sbbc_open()
1107 sbbcsoftp = (struct sbbcsoft *)ddi_get_soft_state(sbbcsoft_statep, in sbbc_close()
1131 sbbcsoftp = ddi_get_soft_state(sbbcsoft_statep, getminor(dev)); in sbbc_ioctl()