Lines Matching refs:klog
42 klog_t klog; in xlog_to_klog() local
46 memset(&klog, 0, sizeof(klog)); in xlog_to_klog()
48 klog.time_stamp = (dword) x->time_hi; in xlog_to_klog()
49 klog.time_stamp = (klog.time_stamp << 16) | (dword) x->time_lo; in xlog_to_klog()
51 klog.length = size > sizeof(klog.buffer) ? sizeof(klog.buffer) : size; in xlog_to_klog()
53 klog.card = card_num; in xlog_to_klog()
56 klog.type = KLOG_XTXT_MSG; in xlog_to_klog()
57 klog.code = 0; in xlog_to_klog()
58 memcpy(klog.buffer, &x->xcode, klog.length); in xlog_to_klog()
62 klog.type = KLOG_XLOG_MSG; in xlog_to_klog()
63 klog.code = x->xcode; in xlog_to_klog()
64 memcpy(klog.buffer, &x->data, klog.length); in xlog_to_klog()
69 klog.type = KLOG_TEXT_MSG; in xlog_to_klog()
70 klog.code = 0; in xlog_to_klog()
75 klog.buffer[i] = *c; in xlog_to_klog()
79 klog.buffer[i] = *c; in xlog_to_klog()
84 DivasLogAdd(&klog, sizeof(klog)); in xlog_to_klog()