Searched refs:time_buf (Results 1 – 2 of 2) sorted by relevance
30 struct rtc_time time_buf; member56 time_state->last_time = time_state->time_buf; in hid_time_proc_event()81 struct rtc_time *time_buf = &time_state->time_buf; in hid_time_capture_sample() local91 time_buf->tm_year = *(u8 *)raw_data; in hid_time_capture_sample()92 if (time_buf->tm_year < 70) in hid_time_capture_sample()94 time_buf->tm_year += 100; in hid_time_capture_sample()96 time_buf->tm_year = in hid_time_capture_sample()101 time_buf->tm_mon = (int)hid_time_value(raw_len, raw_data)-1; in hid_time_capture_sample()104 time_buf->tm_mday = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample()107 time_buf->tm_hour = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample()[all …]
2191 char time_buf[32]; in print_pmu_mappings() 2197 time_buf, sizeof(time_buf)); in print_group_desc() 2198 fprintf(fp, "# time of first sample : %s\n", time_buf); in print_group_desc() 2201 time_buf, sizeof(time_buf)); in print_group_desc() 2202 fprintf(fp, "# time of last sample : %s\n", time_buf); in print_group_desc() 2221 char time_buf[32]; print_sample_time() local