Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_iosram.c840 sbbc_softstate_t *to_softsp, *from_softsp; in iosram_switch_tunnel() local
858 if (!(to_softsp = sbbc_get_soft_state(instance))) in iosram_switch_tunnel()
869 pdip = ddi_get_parent(to_softsp->dip); in iosram_switch_tunnel()
897 mutex_enter(&to_softsp->sbbc_lock); in iosram_switch_tunnel()
898 if (to_softsp->sbbc_regs == NULL) { in iosram_switch_tunnel()
899 if (sbbc_map_regs(to_softsp) != DDI_SUCCESS) { in iosram_switch_tunnel()
900 mutex_exit(&to_softsp->sbbc_lock); in iosram_switch_tunnel()
921 if ((rc = sbbc_add_intr(to_softsp)) == DDI_FAILURE) { in iosram_switch_tunnel()
923 } else if ((rc = tunnel_init(to_softsp, new_tunnel)) == DDI_FAILURE) { in iosram_switch_tunnel()
925 ddi_remove_intr(to_softsp->dip, 0, to_softsp->iblock); in iosram_switch_tunnel()
[all …]