Searched refs:master_iosram (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_iosram.c133 if ((master_iosram = kmem_zalloc(sizeof (struct chosen_iosram),
139 if ((master_iosram->tunnel = kmem_zalloc(sizeof (tunnel_t),
145 master_iosram->iosram_sbbc = NULL;
148 master_iosram->tunnel->tunnel_keys[i].key = 0;
149 master_iosram->tunnel->tunnel_keys[i].base = NULL;
150 master_iosram->tunnel->tunnel_keys[i].size = 0;
154 master_iosram->intrs[i].sbbc_handler = NULL;
156 mutex_init(&master_iosram->iosram_lock, NULL, MUTEX_DEFAULT, NULL);
157 rw_init(&master_iosram->tunnel_lock, NULL, RW_DEFAULT, NULL);
165 rw_destroy(&master_iosram
[all...]
H A Dsgsbbc.c69 struct chosen_iosram *master_iosram = NULL; variable in typeref:struct:chosen_iosram
275 ASSERT(master_iosram);
276 softsp->iosram = master_iosram;
277 master_iosram->sgsbbc = softsp;
542 tunnel_key = master_iosram->tunnel->tunnel_keys[SBBC_SC_INTR_KEY];
813 ASSERT(MUTEX_HELD(&master_iosram->iosram_lock));
843 * chosen_lock or master_iosram->iosram_lock
903 mutex_enter(&master_iosram->iosram_lock);
916 mutex_exit(&master_iosram->iosram_lock);
H A Dsgsbbc_mailbox.c331 ASSERT(MUTEX_HELD(&master_iosram->iosram_lock));
603 if (master_iosram == NULL || master_mbox == NULL)
606 mutex_enter(&master_iosram->iosram_lock);
619 mutex_exit(&master_iosram->iosram_lock);
647 if (master_iosram->iosram_sbbc) {
648 if (ddi_add_softintr(master_iosram->iosram_sbbc->dip,
661 mutex_exit(&master_iosram->iosram_lock);
677 if (master_iosram == NULL || master_mbox == NULL)
688 mutex_enter(&master_iosram->iosram_lock);
696 mutex_exit(&master_iosram
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsgsbbc_iosram_priv.h145 extern struct chosen_iosram *master_iosram;

Completed in 50 milliseconds