Searched refs:USEC_PER_SEC (Results 1 – 3 of 3) 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()