Home
last modified time | relevance | path

Searched refs:timerId (Results 1 – 25 of 28) 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/os/inc/
Dtimer.h31 uint32_t timerId; member
36 typedef void (*TimTimerCbkF)(uint32_t timerId, void* data);
45 bool timTimerCancel(uint32_t timerId);
46 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/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(), cnt); 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(), cnt); in nanoappHandleEvent()
107 chreTimerCancel(t->timerId); in nanoappHandleEvent()
/device/google/contexthub/firmware/os/core/
Dtimer.c89 evt->timerId = tim->id; in timCallFunc()
221 return evt->timerId == t->id; in timerEventMatch()
224 bool timTimerCancelEx(uint32_t timerId, bool cancelPending) in timTimerCancelEx() argument
227 struct Timer *t = timFindTimerById(timerId); in timTimerCancelEx()
248 bool timTimerCancel(uint32_t timerId) in timTimerCancel() argument
250 return timTimerCancelEx(timerId, false); in timTimerCancel()
Dnanohub_chre.c128 uint32_t timerId = va_arg(args, uint32_t); in osChreApiTimerCancel() local
129 *retValP = timTimerCancelEx(timerId, true); in osChreApiTimerCancel()
DosApi.c223 uint32_t timerId = va_arg(args, uint32_t); in osExpApiTimCancelTimer() local
225 *retValP = timTimerCancel(timerId); in osExpApiTimCancelTimer()
Dspi.c88 static void spiDelayCallback(uint32_t timerId, void *data) in spiDelayCallback() argument
DhostIntf.c627 static void initCompleteCallback(uint32_t timerId, void *data) in initCompleteCallback() argument
658 static void latencyTimerCallback(uint32_t timerId, void* data) in latencyTimerCallback() argument
/device/google/contexthub/firmware/app/chre/common/
Dchre_app_syscalls.c68 bool chreTimerCancel(uint32_t timerId) in chreTimerCancel() argument
70 return syscallDo1P(SYSCALL_CHRE_API(TIMER_CANCEL), timerId); in chreTimerCancel()
/device/google/contexthub/inc/chre/
Dre.h268 bool chreTimerCancel(uint32_t timerId);
/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/leds/
Dleds_gpio.c62 static void sensorLedsTimerCallback(uint32_t timerId, void *data) in sensorLedsTimerCallback() argument
Dleds_lp3943.c120 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/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/bosch_bmp280/
Dbosch_bmp280.c255 static void baroTimerCallback(uint32_t timerId, void *cookie) in baroTimerCallback() argument
260 static void tempTimerCallback(uint32_t timerId, void *cookie) in tempTimerCallback() 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/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
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c328 static void i2cDelayCallback(uint32_t timerId, void *data) in i2cDelayCallback() argument
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c382 static void alsTimerCallback(uint32_t timerId, void *cookie) in alsTimerCallback() argument

12