Home
last modified time | relevance | path

Searched refs:time_buf (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/rtc/
Drtc-hid-sensor-time.c30 struct rtc_time time_buf; member
56 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() local
91 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 …]
/linux-6.6.21/tools/perf/util/
Dheader.c2213 char time_buf[32]; in print_sample_time() local
2219 time_buf, sizeof(time_buf)); in print_sample_time()
2220 fprintf(fp, "# time of first sample : %s\n", time_buf); in print_sample_time()
2223 time_buf, sizeof(time_buf)); in print_sample_time()
2224 fprintf(fp, "# time of last sample : %s\n", time_buf); in print_sample_time()