Home
last modified time | relevance | path

Searched refs:USEC_PER_SEC (Results 1 – 6 of 6) sorted by relevance

/external/kernel-headers/original/linux/
Djiffies.h265 #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()
Dtime.h35 #define USEC_PER_SEC 1000000L macro
/external/svox/pico/lib/
Dpicopal.c488 #define USEC_PER_SEC 1000000 macro
516 *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()
/external/bluetooth/bluedroid/hci/src/
Duserial.c103 #define USEC_PER_SEC 1000000L in log_userial_tx_timing() macro
110 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()
/external/bluetooth/bluedroid/audio_a2dp_hw/
Daudio_a2dp_hw.c56 #define USEC_PER_SEC 1000000L macro
156 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()
/external/bluetooth/bluedroid/btif/src/
Dbtif_media_task.c156 #define USEC_PER_SEC 1000000L macro
305 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() macro
331 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()