Lines Matching defs:dvr
124 static void gdth_log_event(gdth_evt_data *dvr, char *buffer);
2557 ha->dvr.severity = readb
2560 ha->dvr.event_string[i] = readb
2562 if (ha->dvr.event_string[i] == 0)
2594 ha->dvr.size = sizeof(ha->dvr.eu.driver);
2595 ha->dvr.eu.driver.ionode = ha->hanum;
2596 gdth_store_event(ha, ES_DRIVER, 4, &ha->dvr);
2606 ha->dvr.size = sizeof(ha->dvr.eu.driver);
2607 ha->dvr.eu.driver.ionode = ha->hanum;
2608 ha->dvr.eu.driver.index = IStatus;
2609 gdth_store_event(ha, ES_DRIVER, 1, &ha->dvr);
2822 ha->dvr.size = sizeof(ha->dvr.eu.sync);
2823 ha->dvr.eu.sync.ionode = ha->hanum;
2824 ha->dvr.eu.sync.service = service;
2825 ha->dvr.eu.sync.status = ha->status;
2826 ha->dvr.eu.sync.info = ha->info;
2827 ha->dvr.eu.sync.hostdrive = t;
2829 gdth_store_event(ha, ES_SYNC, 0, &ha->dvr);
2831 gdth_store_event(ha, ES_SYNC, service, &ha->dvr);
3040 ha->dvr.size = 0;
3041 ha->dvr.eu.async.ionode = ha->hanum;
3042 ha->dvr.eu.async.status = ha->status;
3045 ha->dvr.size = sizeof(ha->dvr.eu.async);
3046 ha->dvr.eu.async.ionode = ha->hanum;
3047 ha->dvr.eu.async.service = ha->service;
3048 ha->dvr.eu.async.status = ha->status;
3049 ha->dvr.eu.async.info = ha->info;
3050 *(u32 *)ha->dvr.eu.async.scsi_coord = ha->info2;
3052 gdth_store_event( ha, ES_ASYNC, ha->service, &ha->dvr );
3053 gdth_log_event( &ha->dvr, NULL );
3065 static void gdth_log_event(gdth_evt_data *dvr, char *buffer)
3072 if (dvr->size == 0) {
3074 printk("Adapter %d: %s\n",dvr->eu.async.ionode,dvr->event_string);
3077 dvr->eu.async.ionode,dvr->event_string);
3079 } else if (dvr->eu.async.service == CACHESERVICE &&
3080 INDEX_OK(dvr->eu.async.status, async_cache_tab)) {
3082 dvr->eu.async.status));
3084 f = async_cache_tab[dvr->eu.async.status];
3090 stack.b[j++] = *(u32*)&dvr->eu.stream[(int)f[i]];
3093 stack.b[j++] = *(u16*)&dvr->eu.stream[(int)f[i]];
3096 stack.b[j++] = *(u8*)&dvr->eu.stream[(int)f[i]];
3113 dvr->eu.async.ionode,dvr->eu.async.service,dvr->eu.async.status);
3116 dvr->eu.async.ionode,dvr->eu.async.service,dvr->eu.async.status);