Lines Matching defs:emlxs_device

408 emlxs_device_t  emlxs_device;
410 uint32_t emlxs_instance[MAX_FC_BRDS]; /* uses emlxs_device.lock */
411 uint32_t emlxs_instance_count = 0; /* uses emlxs_device.lock */
412 uint32_t emlxs_instance_flag = 0; /* uses emlxs_device.lock */
1000 emlxs_modsym_t emlxs_modsym; /* uses emlxs_device.lock */
1099 bzero(&emlxs_device, sizeof (emlxs_device));
1105 mutex_init(&emlxs_device.lock, NULL, MUTEX_DRIVER, NULL);
1107 (void) drv_getparm(LBOLT, &emlxs_device.log_timestamp);
1108 emlxs_device.drv_timestamp = ddi_get_time();
1176 mutex_destroy(&emlxs_device.lock);
1227 hba = emlxs_device.hba[emlxinst];
1257 hba = emlxs_device.hba[emlxinst];
6437 emlxs_device.log[hba->emlxinst] = 0;
6438 emlxs_device.hba[hba->emlxinst] =
6441 emlxs_device.dump_txtfile[hba->emlxinst] = 0;
6442 emlxs_device.dump_dmpfile[hba->emlxinst] = 0;
6443 emlxs_device.dump_ceefile[hba->emlxinst] = 0;
6842 mutex_enter(&emlxs_device.lock);
6847 mutex_exit(&emlxs_device.lock);
7019 if (emlxs_device.hba[emlxinst] == (emlxs_hba_t *)-1) {
7023 if (emlxs_device.hba[emlxinst]) {
7053 emlxs_device.hba[emlxinst] = hba;
7054 emlxs_device.log[emlxinst] = &hba->log;
7057 emlxs_device.dump_txtfile[emlxinst] = &hba->dump_txtfile;
7058 emlxs_device.dump_dmpfile[emlxinst] = &hba->dump_dmpfile;
7059 emlxs_device.dump_ceefile[emlxinst] = &hba->dump_ceefile;
10148 mutex_enter(&emlxs_device.lock);
10158 mutex_exit(&emlxs_device.lock);
10175 mutex_enter(&emlxs_device.lock);
10189 emlxs_device.hba_count = emlxs_instance_count;
10193 mutex_exit(&emlxs_device.lock);
11348 hba = emlxs_device.hba[emlxinst];
11381 hba = emlxs_device.hba[emlxinst];