Searched refs:curtime (Results 1 – 5 of 5) sorted by relevance
773 s32 timeval_usec_diff(struct timeval lasttime, struct timeval curtime) in timeval_usec_diff() argument775 return ((curtime.tv_usec < lasttime.tv_usec) ? in timeval_usec_diff()776 1000000 - lasttime.tv_usec + curtime.tv_usec : in timeval_usec_diff()777 curtime.tv_usec - lasttime.tv_usec); in timeval_usec_diff()781 static inline void timeval_usec_add(struct timeval *curtime, u32 add_usec) in timeval_usec_add() argument783 curtime->tv_usec += add_usec; in timeval_usec_add()784 if (curtime->tv_usec >= 1000000) { in timeval_usec_add()785 curtime->tv_usec -= 1000000; in timeval_usec_add()786 curtime->tv_sec++; in timeval_usec_add()
443 extern s32 timeval_usec_diff(struct timeval lasttime, struct timeval curtime);
201 u32 curtime = jiffies; in r8712_generate_random_ibss() local206 pibss[3] = (u8)(curtime & 0xff); in r8712_generate_random_ibss()207 pibss[4] = (u8)((curtime>>8) & 0xff); in r8712_generate_random_ibss()208 pibss[5] = (u8)((curtime>>16) & 0xff); in r8712_generate_random_ibss()
213 unsigned long curtime = jiffies; in rtw_generate_random_ibss23a() local218 pibss[3] = curtime & 0xff;/* p[0]; */ in rtw_generate_random_ibss23a()219 pibss[4] = (curtime >> 8) & 0xff;/* p[1]; */ in rtw_generate_random_ibss23a()220 pibss[5] = (curtime >> 16) & 0xff;/* p[2]; */ in rtw_generate_random_ibss23a()
274 u32 curtime = jiffies; in rtw_generate_random_ibss() local279 pibss[3] = (u8)(curtime & 0xff);/* p[0]; */ in rtw_generate_random_ibss()280 pibss[4] = (u8)((curtime>>8) & 0xff);/* p[1]; */ in rtw_generate_random_ibss()281 pibss[5] = (u8)((curtime>>16) & 0xff);/* p[2]; */ in rtw_generate_random_ibss()