Searched refs:ticks (Results 1 – 10 of 10) sorted by relevance
185 void GKI_start_timer(uint8_t tnum, int32_t ticks, bool is_continuous) { in GKI_start_timer() argument191 if (ticks <= 0) ticks = 1; in GKI_start_timer()193 orig_ticks = ticks; /* save the ticks in case adjustment is necessary */ in GKI_start_timer()197 reload = ticks; in GKI_start_timer()225 ticks) { in GKI_start_timer()226 ticks += gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp; in GKI_start_timer()228 ticks = GKI_MAX_INT32; in GKI_start_timer()234 gki_cb.com.OSTaskTmr0[task_id] = ticks; in GKI_start_timer()241 gki_cb.com.OSTaskTmr1[task_id] = ticks; in GKI_start_timer()248 gki_cb.com.OSTaskTmr2[task_id] = ticks; in GKI_start_timer()[all …]
306 int32_t ticks; member
23 uint64_t getNanosecondsFromQTimerTicks(uint64_t ticks) { in getNanosecondsFromQTimerTicks() argument27 if (ticks >= kClockFreq) { in getNanosecondsFromQTimerTicks()28 uint64_t seconds = (ticks / kClockFreq); in getNanosecondsFromQTimerTicks()29 ticks %= kClockFreq; in getNanosecondsFromQTimerTicks()33 nsec += (ticks * kOneSecondInNanoseconds) / kClockFreq; in getNanosecondsFromQTimerTicks()
204 #define OI_BT_TICKS_TO_SECONDS(ticks) ((ticks) / 1600) argument206 #define OI_BT_TICKS_TO_MSECS(ticks) (((ticks)*5) / 8) argument
82 p_tle->ticks = timeout; /* Save the number of seconds for the timer */ in nfc_start_timer()114 while ((nfc_cb.timer_queue.p_first) && (!nfc_cb.timer_queue.p_first->ticks)) { in nfc_process_timer_evt()201 p_tle->ticks = timeout; /* Save the number of ticks for the timer */ in nfc_start_quick_timer()239 (!nfc_cb.quick_timer_queue.p_first->ticks)) { in nfc_process_quick_timer_evt()
30 uint64_t getNanosecondsFromQTimerTicks(uint64_t ticks);
143 uint32_t ticks, elapsed_ms; in rw_main_log_stats() local145 ticks = GKI_get_tick_count() - rw_cb.stats.start_tick; in rw_main_log_stats()146 elapsed_ms = GKI_TICKS_TO_MS(ticks); in rw_main_log_stats()
89 (p_cb->timer_queue.p_first->ticks <= 0)) { in nfa_sys_ptim_timer_update()141 p_tle->ticks = timeout; in nfa_sys_ptim_start_timer()
364 uint64_t getNanosecondsFromSmgrTicks(uint32_t ticks) { in getNanosecondsFromSmgrTicks() argument365 return (ticks * Seconds(1).toRawNanoseconds()) / TIMETICK_NOMINAL_FREQ_HZ; in getNanosecondsFromSmgrTicks()
589 > Set the system clock base (0 if system clock ticks in GMT)