Searched refs:USEC_PER_SEC (Results 1 – 6 of 6) sorted by relevance
265 #if HZ <= USEC_PER_SEC && !(USEC_PER_SEC % HZ) in jiffies_to_usecs()266 return (USEC_PER_SEC / HZ) * j; in jiffies_to_usecs()267 #elif HZ > USEC_PER_SEC && !(HZ % USEC_PER_SEC) in jiffies_to_usecs()268 return (j + (HZ / USEC_PER_SEC) - 1)/(HZ / USEC_PER_SEC); in jiffies_to_usecs()270 return (j * USEC_PER_SEC) / HZ; in jiffies_to_usecs()291 #if HZ <= USEC_PER_SEC && !(USEC_PER_SEC % HZ) in usecs_to_jiffies()292 return (u + (USEC_PER_SEC / HZ) - 1) / (USEC_PER_SEC / HZ); in usecs_to_jiffies()293 #elif HZ > USEC_PER_SEC && !(HZ % USEC_PER_SEC) in usecs_to_jiffies()294 return u * (HZ / USEC_PER_SEC); in usecs_to_jiffies()296 return (u * HZ + USEC_PER_SEC - 1) / USEC_PER_SEC; in usecs_to_jiffies()
35 #define USEC_PER_SEC 1000000L macro
488 #define USEC_PER_SEC 1000000 macro516 *usec = USEC_PER_SEC * (dt % CLOCKS_PER_SEC) / CLOCKS_PER_SEC; in picopal_get_timer()535 *usec = (unsigned int) ((double)USEC_PER_SEC * (dt / tf)) % USEC_PER_SEC; in picopal_get_timer()
103 #define USEC_PER_SEC 1000000L in log_userial_tx_timing() macro110 now_us = now.tv_sec*USEC_PER_SEC + now.tv_nsec/1000; in log_userial_tx_timing()111 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000; in log_userial_tx_timing()
56 #define USEC_PER_SEC 1000000L macro156 now_us = now.tv_sec*USEC_PER_SEC + now.tv_nsec/1000; in ts_log()160 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000; in ts_log()166 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000; in ts_log()
156 #define USEC_PER_SEC 1000000L macro305 now_us = now.tv_sec*USEC_PER_SEC + now.tv_nsec/1000; in tput_mon()324 #define USEC_PER_SEC 1000000L in log_tstamps_us() macro331 now_us = now.tv_sec*USEC_PER_SEC + now.tv_nsec/1000; in log_tstamps_us()332 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000; in log_tstamps_us()