Searched refs:timeval_buf (Results 1 – 4 of 4) sorted by relevance
151 static inline void get_current_time(u8 *timeval_buf, int buf_len) in get_current_time() argument155 if (!timeval_buf || (buf_len < 8)) in get_current_time()160 timeval_buf[0] = (u8)(tv.tv_sec >> 24); in get_current_time()161 timeval_buf[1] = (u8)(tv.tv_sec >> 16); in get_current_time()162 timeval_buf[2] = (u8)(tv.tv_sec >> 8); in get_current_time()163 timeval_buf[3] = (u8)(tv.tv_sec); in get_current_time()164 timeval_buf[4] = (u8)(tv.tv_usec >> 24); in get_current_time()165 timeval_buf[5] = (u8)(tv.tv_usec >> 16); in get_current_time()166 timeval_buf[6] = (u8)(tv.tv_usec >> 8); in get_current_time()167 timeval_buf[7] = (u8)(tv.tv_usec); in get_current_time()
56 get_current_time((chip)->trace_msg[(chip)->msg_idx].timeval_buf, TIME_VAL_LEN); \72 get_current_time((chip)->trace_msg[(chip)->msg_idx].timeval_buf, TIME_VAL_LEN); \
622 u8 timeval_buf[TIME_VAL_LEN]; member
1235 *(ptr++) = chip->trace_msg[idx].timeval_buf[j]; in trace_msg_cmd()