Searched refs:master_iosram (Results 1 – 4 of 4) sorted by relevance
133 if ((master_iosram = kmem_zalloc(sizeof (struct chosen_iosram), in iosram_init()139 if ((master_iosram->tunnel = kmem_zalloc(sizeof (tunnel_t), in iosram_init()145 master_iosram->iosram_sbbc = NULL; in iosram_init()148 master_iosram->tunnel->tunnel_keys[i].key = 0; in iosram_init()149 master_iosram->tunnel->tunnel_keys[i].base = NULL; in iosram_init()150 master_iosram->tunnel->tunnel_keys[i].size = 0; in iosram_init()154 master_iosram->intrs[i].sbbc_handler = NULL; in iosram_init()156 mutex_init(&master_iosram->iosram_lock, NULL, MUTEX_DEFAULT, NULL); in iosram_init()157 rw_init(&master_iosram->tunnel_lock, NULL, RW_DEFAULT, NULL); in iosram_init()165 rw_destroy(&master_iosram->tunnel_lock); in iosram_fini()[all …]
69 struct chosen_iosram *master_iosram = NULL; variable275 ASSERT(master_iosram); in sbbc_attach()276 softsp->iosram = master_iosram; in sbbc_attach()277 master_iosram->sgsbbc = softsp; in sbbc_attach()542 tunnel_key = master_iosram->tunnel->tunnel_keys[SBBC_SC_INTR_KEY]; in sbbc_intr_handler()813 ASSERT(MUTEX_HELD(&master_iosram->iosram_lock)); in sbbc_send_intr()903 mutex_enter(&master_iosram->iosram_lock); in sbbc_unmap_regs()916 mutex_exit(&master_iosram->iosram_lock); in sbbc_unmap_regs()
331 ASSERT(MUTEX_HELD(&master_iosram->iosram_lock)); in sbbc_mbox_switch()603 if (master_iosram == NULL || master_mbox == NULL) in sbbc_mbox_reg_intr()606 mutex_enter(&master_iosram->iosram_lock); in sbbc_mbox_reg_intr()619 mutex_exit(&master_iosram->iosram_lock); in sbbc_mbox_reg_intr()647 if (master_iosram->iosram_sbbc) { in sbbc_mbox_reg_intr()648 if (ddi_add_softintr(master_iosram->iosram_sbbc->dip, in sbbc_mbox_reg_intr()661 mutex_exit(&master_iosram->iosram_lock); in sbbc_mbox_reg_intr()677 if (master_iosram == NULL || master_mbox == NULL) in sbbc_mbox_unreg_intr()688 mutex_enter(&master_iosram->iosram_lock); in sbbc_mbox_unreg_intr()696 mutex_exit(&master_iosram->iosram_lock); in sbbc_mbox_unreg_intr()[all …]
145 extern struct chosen_iosram *master_iosram;