Home
last modified time | relevance | path

Searched refs:ticks (Results 1 – 9 of 9) sorted by relevance

/system/nfc/src/gki/common/
Dgki_time.cc185 void GKI_start_timer(uint8_t tnum, int32_t ticks, bool is_continuous) { in GKI_start_timer() argument
191 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 …]
Dgki.h306 int32_t ticks; member
/system/chre/platform/slpi/
Dsystem_time_util.cc23 uint64_t getNanosecondsFromQTimerTicks(uint64_t ticks) { in getNanosecondsFromQTimerTicks() argument
27 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()
/system/bt/embdrv/sbc/decoder/include/
Doi_bt_spec.h204 #define OI_BT_TICKS_TO_SECONDS(ticks) ((ticks) / 1600) argument
206 #define OI_BT_TICKS_TO_MSECS(ticks) (((ticks)*5) / 8) argument
/system/nfc/src/nfc/nfc/
Dnfc_task.cc82 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()
/system/chre/platform/slpi/include/chre/platform/slpi/
Dsystem_time_util.h30 uint64_t getNanosecondsFromQTimerTicks(uint64_t ticks);
/system/nfc/src/nfc/tags/
Drw_main.cc144 uint32_t ticks, elapsed_ms; in rw_main_log_stats() local
146 ticks = GKI_get_tick_count() - rw_cb.stats.start_tick; in rw_main_log_stats()
147 elapsed_ms = GKI_TICKS_TO_MS(ticks); in rw_main_log_stats()
/system/nfc/src/nfa/sys/
Dnfa_sys_ptim.cc89 (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()
/system/core/init/
DREADME.md636 > Set the system clock base (0 if system clock ticks in GMT)