Home
last modified time | relevance | path

Searched refs:timerId (Results 1 – 25 of 32) sorted by relevance

12

/device/google/contexthub/firmware/app/test0.app/
Dtest_app0.c51 uint32_t timerId; in handle_event() local
55 timerId = eOsTimTimerSet(1000000000ULL, 50, 50, mMyTid, (void *)&cnt, false); in handle_event()
56 eOsLog(LOG_INFO, "App 0 started with tid %u timerid %u\n", mMyTid, timerId); in handle_event()
59 …%u callback: %d (TIM: %lld, RTC: %lld, SENSOR: %lld, HOST: %lld)\n", te->timerId, *(int *)te->data… in handle_event()
68 eOsTimTimerCancel(te->timerId); in handle_event()
/device/google/contexthub/firmware/app/chre/chre_test0.app/
Dmain.c29 uint32_t timerId; member
77 mTimer.timerId = chreTimerSet(kOneSecond, &mTimer, false); in nanoappHandleEvent()
80 "\n", mMyTid, mTimer.timerId); in nanoappHandleEvent()
89 ") cnt: %d\n", t->timerId, chreGetTime(), mCnt); in nanoappHandleEvent()
94 chreTimerCancel(t->timerId); in nanoappHandleEvent()
/device/google/contexthub/firmware/app/chre/chre_test1.app/
Dmain.cpp29 uint32_t timerId; member
90 mTimer.timerId = chreTimerSet(kOneSecond, &mTimer, false); in nanoappHandleEvent()
93 "\n", mMyTid, mTimer.timerId); in nanoappHandleEvent()
102 ") cnt: %d\n", t->timerId, chreGetTime(), mCnt); in nanoappHandleEvent()
107 chreTimerCancel(t->timerId); in nanoappHandleEvent()
/device/google/contexthub/firmware/app/chre/chre_test2.app/
Dmain.cpp30 uint32_t timerId; member
72 mTimer.timerId = chreTimerSet(kOneSecond, &mTimer, false); in nanoappHandleEvent()
75 "\n", mMyTid, mTimer.timerId); in nanoappHandleEvent()
98 ") cnt: %d\n", t->timerId, t->startTime, chreGetTime(), in nanoappHandleEvent()
101 chreTimerCancel(t->timerId); in nanoappHandleEvent()
/device/google/contexthub/firmware/os/core/
Dtimer.c100 evt->timerId = tim->id; in timCallFunc()
237 return evt->timerId == t->id; in timerEventMatch()
240 bool timTimerCancelEx(uint32_t timerId, bool cancelPending) in timTimerCancelEx() argument
243 struct Timer *t = timFindTimerById(timerId); in timTimerCancelEx()
264 bool timTimerCancel(uint32_t timerId) in timTimerCancel() argument
266 return timTimerCancelEx(timerId, false); in timTimerCancel()
DosApi.c224 uint32_t timerId = va_arg(args, uint32_t); in osExpApiTimCancelTimer() local
226 *retValP = timTimerCancel(timerId); in osExpApiTimCancelTimer()
Dnanohub_chre.c136 uint32_t timerId = va_arg(args, uint32_t); in osChreApiTimerCancel() local
137 *retValP = timTimerCancelEx(timerId, true); in osChreApiTimerCancel()
Dspi.c88 static void spiDelayCallback(uint32_t timerId, void *data) in spiDelayCallback() argument
/device/google/contexthub/firmware/os/inc/
Dtimer.h31 uint32_t timerId; member
36 typedef void (*TimTimerCbkF)(uint32_t timerId, void* data);
46 bool timTimerCancel(uint32_t timerId);
47 bool timTimerCancelEx(uint32_t timerId, bool cancelPending);
DsyscallDo.h185 static inline bool eOsTimTimerCancel(uint32_t timerId) in eOsTimTimerCancel() argument
187 …ALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_TIME, SYSCALL_OS_MAIN_TIME_CANCEL_TIMER), timerId); in eOsTimTimerCancel()
/device/google/contexthub/firmware/app/chre/common/
Dchre10_app_syscalls.c71 bool chreTimerCancel(uint32_t timerId) in chreTimerCancel() argument
73 return syscallDo1P(SYSCALL_CHRE_API(TIMER_CANCEL), timerId); in chreTimerCancel()
Dchre11_app_syscalls.c74 bool chreTimerCancel(uint32_t timerId) in chreTimerCancel() argument
76 return syscallDo1P(SYSCALL_CHRE_API(TIMER_CANCEL), timerId); in chreTimerCancel()
Dchre_app_syscalls.c74 bool chreTimerCancel(uint32_t timerId) in chreTimerCancel() argument
76 return syscallDo1P(SYSCALL_CHRE_API(TIMER_CANCEL), timerId); in chreTimerCancel()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c266 static void baroTimerCallback(uint32_t timerId, void *cookie) in baroTimerCallback() argument
271 static void tempTimerCallback(uint32_t timerId, void *cookie) in tempTimerCallback() argument
276 static void softresetCallback(uint32_t timerId, void *cookie) in softresetCallback() argument
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c215 static void sensorHumiTimerCallback(uint32_t timerId, void *data) in sensorHumiTimerCallback() argument
220 static void sensorTempTimerCallback(uint32_t timerId, void *data) in sensorTempTimerCallback() argument
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c304 static void sensorBaroTimerCallback(uint32_t timerId, void *data) in sensorBaroTimerCallback() argument
309 static void sensorTempTimerCallback(uint32_t timerId, void *data) in sensorTempTimerCallback() argument
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c264 static void alsTimerCallback(uint32_t timerId, void *cookie) in alsTimerCallback() argument
269 static void proxTimerCallback(uint32_t timerId, void *cookie) in proxTimerCallback() argument
/device/google/contexthub/firmware/os/drivers/leds/
Dleds_gpio.c62 static void sensorLedsTimerCallback(uint32_t timerId, void *data) in sensorLedsTimerCallback() argument
Dleds_lp3943.c125 static void sensorLP3943TimerCallback(uint32_t timerId, void *data) in sensorLP3943TimerCallback() argument
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c64 static void debounceTimerCallback(uint32_t timerId, void *cookie) in debounceTimerCallback() argument
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c84 static void debounceTimerCallback(uint32_t timerId, void *cookie) in debounceTimerCallback() argument
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c216 static void alsTimerCallback(uint32_t timerId, void *cookie) in alsTimerCallback() argument
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c267 static void sensorHumidityTimerCallback(uint32_t timerId, void *data) in sensorHumidityTimerCallback() argument
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c205 static void retryTimerCallback(uint32_t timerId, void *cookie) in retryTimerCallback() argument
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c312 static void alsTimerCallback(uint32_t timerId, void *cookie) in alsTimerCallback() argument

12