Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-hid-sensor-time.c62 static u32 hid_time_value(size_t raw_len, char *raw_data) in hid_time_value() function
97 (int)hid_time_value(raw_len, raw_data)-1900; 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()
110 time_buf->tm_min = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample()
113 time_buf->tm_sec = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample()