Home
last modified time | relevance | path

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

/drivers/media/dvb-core/
Ddvb_frontend.c773 s32 timeval_usec_diff(struct timeval lasttime, struct timeval curtime) in timeval_usec_diff() argument
775 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() argument
783 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()
Ddvb_frontend.h443 extern s32 timeval_usec_diff(struct timeval lasttime, struct timeval curtime);
/drivers/staging/rtl8712/
Drtl871x_mlme.c201 u32 curtime = jiffies; in r8712_generate_random_ibss() local
206 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()
/drivers/staging/rtl8723au/core/
Drtw_mlme.c213 unsigned long curtime = jiffies; in rtw_generate_random_ibss23a() local
218 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()
/drivers/staging/rtl8188eu/core/
Drtw_mlme.c274 u32 curtime = jiffies; in rtw_generate_random_ibss() local
279 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()