Home
last modified time | relevance | path

Searched refs:SYSCALL_CHRE_API (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/firmware/app/chre/common/
Dchre10_app_syscalls.c34 #define SYSCALL_CHRE_API(name) \ macro
40 (void)syscallDo1P(SYSCALL_CHRE_API(GET_APP_ID), &appId); in chreGetAppId()
46 return syscallDo0P(SYSCALL_CHRE_API(GET_INST_ID)); in chreGetInstanceId()
51 (void)syscallDo1P(SYSCALL_CHRE_API(GET_TIME), &time_ns); in chreGetTime()
60 (void)syscallDo3P(SYSCALL_CHRE_API(LOG), level, str, VA_LIST_TO_INTEGER(vl)); in chreLog()
68 return syscallDo4P(SYSCALL_CHRE_API(TIMER_SET), dur_lo, dur_hi, cookie, oneShot); in chreTimerSet()
73 return syscallDo1P(SYSCALL_CHRE_API(TIMER_CANCEL), timerId); in chreTimerCancel()
78 (void)syscallDo1P(SYSCALL_CHRE_API(ABORT), abortCode); in chreAbort()
83 return (void *)syscallDo1P(SYSCALL_CHRE_API(HEAP_ALLOC), bytes); in chreHeapAlloc()
88 (void)syscallDo1P(SYSCALL_CHRE_API(HEAP_FREE), ptr); in chreHeapFree()
[all …]
Dchre11_app_syscalls.c31 #define SYSCALL_CHRE_API(name) \ macro
37 (void)syscallDo1P(SYSCALL_CHRE_API(GET_APP_ID), &appId); in chreGetAppId()
43 return syscallDo0P(SYSCALL_CHRE_API(GET_INST_ID)); in chreGetInstanceId()
48 (void)syscallDo1P(SYSCALL_CHRE_API(GET_TIME), &time_ns); in chreGetTime()
54 (void)syscallDo1P(SYSCALL_CHRE_API(GET_HOST_TIME_OFFSET), &time_ns); in chreGetEstimatedHostTimeOffset()
63 (void)syscallDo3P(SYSCALL_CHRE_API(LOG), level, str, VA_LIST_TO_INTEGER(vl)); in chreLog()
71 return syscallDo4P(SYSCALL_CHRE_API(TIMER_SET), dur_lo, dur_hi, cookie, oneShot); in chreTimerSet()
76 return syscallDo1P(SYSCALL_CHRE_API(TIMER_CANCEL), timerId); in chreTimerCancel()
81 (void)syscallDo1P(SYSCALL_CHRE_API(ABORT), abortCode); in chreAbort()
86 return (void *)syscallDo1P(SYSCALL_CHRE_API(HEAP_ALLOC), bytes); in chreHeapAlloc()
[all …]
Dchre_app_syscalls.c31 #define SYSCALL_CHRE_API(name) \ macro
37 (void)syscallDo1P(SYSCALL_CHRE_API(GET_APP_ID), &appId); in chreGetAppId()
43 return syscallDo0P(SYSCALL_CHRE_API(GET_INST_ID)); in chreGetInstanceId()
48 (void)syscallDo1P(SYSCALL_CHRE_API(GET_TIME), &time_ns); in chreGetTime()
54 (void)syscallDo1P(SYSCALL_CHRE_API(GET_HOST_TIME_OFFSET), &time_ns); in chreGetEstimatedHostTimeOffset()
63 (void)syscallDo3P(SYSCALL_CHRE_API(LOG), level, str, VA_LIST_TO_INTEGER(vl)); in chreLog()
71 return syscallDo4P(SYSCALL_CHRE_API(TIMER_SET), dur_lo, dur_hi, cookie, oneShot); in chreTimerSet()
76 return syscallDo1P(SYSCALL_CHRE_API(TIMER_CANCEL), timerId); in chreTimerCancel()
81 (void)syscallDo1P(SYSCALL_CHRE_API(ABORT), abortCode); in chreAbort()
86 return (void *)syscallDo1P(SYSCALL_CHRE_API(HEAP_ALLOC), bytes); in chreHeapAlloc()
[all …]