/device/google/contexthub/firmware/app/test0.app/ |
D | test_app0.c | 51 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/ |
D | main.c | 29 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/ |
D | main.cpp | 29 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/ |
D | main.cpp | 30 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/ |
D | timer.c | 100 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()
|
D | osApi.c | 224 uint32_t timerId = va_arg(args, uint32_t); in osExpApiTimCancelTimer() local 226 *retValP = timTimerCancel(timerId); in osExpApiTimCancelTimer()
|
D | nanohub_chre.c | 136 uint32_t timerId = va_arg(args, uint32_t); in osChreApiTimerCancel() local 137 *retValP = timTimerCancelEx(timerId, true); in osChreApiTimerCancel()
|
D | spi.c | 88 static void spiDelayCallback(uint32_t timerId, void *data) in spiDelayCallback() argument
|
/device/google/contexthub/firmware/os/inc/ |
D | timer.h | 31 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);
|
D | syscallDo.h | 185 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/ |
D | chre10_app_syscalls.c | 71 bool chreTimerCancel(uint32_t timerId) in chreTimerCancel() argument 73 return syscallDo1P(SYSCALL_CHRE_API(TIMER_CANCEL), timerId); in chreTimerCancel()
|
D | chre11_app_syscalls.c | 74 bool chreTimerCancel(uint32_t timerId) in chreTimerCancel() argument 76 return syscallDo1P(SYSCALL_CHRE_API(TIMER_CANCEL), timerId); in chreTimerCancel()
|
D | chre_app_syscalls.c | 74 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/ |
D | bosch_bmp280.c | 266 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/ |
D | si7034a10.c | 215 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/ |
D | lps22hb.c | 304 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/ |
D | ams_tmd2772.c | 264 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/ |
D | leds_gpio.c | 62 static void sensorLedsTimerCallback(uint32_t timerId, void *data) in sensorLedsTimerCallback() argument
|
D | leds_lp3943.c | 125 static void sensorLP3943TimerCallback(uint32_t timerId, void *data) in sensorLP3943TimerCallback() argument
|
/device/google/contexthub/firmware/os/drivers/hall/ |
D | hall.c | 64 static void debounceTimerCallback(uint32_t timerId, void *cookie) in debounceTimerCallback() argument
|
/device/google/contexthub/firmware/os/drivers/hall_twopole/ |
D | hall_twopole.c | 84 static void debounceTimerCallback(uint32_t timerId, void *cookie) in debounceTimerCallback() argument
|
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/ |
D | isl29034.c | 216 static void alsTimerCallback(uint32_t timerId, void *cookie) in alsTimerCallback() argument
|
/device/google/contexthub/firmware/os/drivers/st_hts221/ |
D | hts221.c | 267 static void sensorHumidityTimerCallback(uint32_t timerId, void *data) in sensorHumidityTimerCallback() argument
|
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/ |
D | synaptics_s3708.c | 205 static void retryTimerCallback(uint32_t timerId, void *cookie) in retryTimerCallback() argument
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 312 static void alsTimerCallback(uint32_t timerId, void *cookie) in alsTimerCallback() argument
|