Home
last modified time | relevance | path

Searched refs:freeCallback (Results 1 – 6 of 6) sorted by relevance

/device/google/contexthub/firmware/app/chre/common/
Dchre11_app_syscalls.c143 chreEventCompleteFunction *freeCallback, in chreSendEvent() argument
147 …return syscallDo4P(SYSCALL_CHRE_API(SEND_EVENT), eventType, eventData, freeCallback, targetInstanc… in chreSendEvent()
149 …AIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_EVENT), eventType, eventData, freeCallback, targetInstance… in chreSendEvent()
154 chreMessageFreeFunction *freeCallback) in chreSendMessageToHost() argument
157 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHost()
159 …IN_EVENT_SEND_MSG), message, messageSize, messageType, CHRE_HOST_ENDPOINT_BROADCAST, freeCallback); in chreSendMessageToHost()
164 chreMessageFreeFunction *freeCallback) in chreSendMessageToHostEndpoint() argument
167 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHostEndpoint()
169 … SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, messageType, hostEndpoint, freeCallback); in chreSendMessageToHostEndpoint()
Dchre10_app_syscalls.c140 chreEventCompleteFunction *freeCallback, in chreSendEvent() argument
144 …return syscallDo4P(SYSCALL_CHRE_API(SEND_EVENT), eventType, eventData, freeCallback, targetInstanc… in chreSendEvent()
146 …AIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_EVENT), eventType, eventData, freeCallback, targetInstance… in chreSendEvent()
151 chreMessageFreeFunction *freeCallback) in chreSendMessageToHost() argument
154 …n syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, reservedMessageType, freeCallback); in chreSendMessageToHost()
156 …_SEND_MSG), message, messageSize, reservedMessageType, CHRE_HOST_ENDPOINT_BROADCAST, freeCallback); in chreSendMessageToHost()
Dchre_app_syscalls.c143 chreEventCompleteFunction *freeCallback, in chreSendEvent() argument
147 …return syscallDo4P(SYSCALL_CHRE_API(SEND_EVENT), eventType, eventData, freeCallback, targetInstanc… in chreSendEvent()
149 …AIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_EVENT), eventType, eventData, freeCallback, targetInstance… in chreSendEvent()
154 chreMessageFreeFunction *freeCallback) in chreSendMessageToHost() argument
157 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHost()
159 …IN_EVENT_SEND_MSG), message, messageSize, messageType, CHRE_HOST_ENDPOINT_BROADCAST, freeCallback); in chreSendMessageToHost()
164 chreMessageFreeFunction *freeCallback) in chreSendMessageToHostEndpoint() argument
167 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHostEndpoint()
169 … SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, messageType, hostEndpoint, freeCallback); in chreSendMessageToHostEndpoint()
/device/google/contexthub/firmware/os/core/
Dnanohub_chre.c207 chreMessageFreeFunction *freeCallback) in osChreSendMessageToHost() argument
229 if (freeCallback) in osChreSendMessageToHost()
230 osTaskInvokeMessageFreeCallback(osGetCurrentTask(), freeCallback, message, messageSize); in osChreSendMessageToHost()
239 chreMessageFreeFunction *freeCallback = va_arg(args, chreMessageFreeFunction *); in osChreApiSendMessageToHost() local
241 …reSendMessageToHost(message, messageSize, messageType, CHRE_HOST_ENDPOINT_BROADCAST, freeCallback); in osChreApiSendMessageToHost()
483 chreEventCompleteFunction *freeCallback = va_arg(args, chreEventCompleteFunction *); in osChreEventSendEvent() local
485 *retValP = osChreSendEvent(evtType, evtData, freeCallback, toTid); in osChreEventSendEvent()
494 chreMessageFreeFunction *freeCallback = va_arg(args, chreMessageFreeFunction *); in osChreEventSendMessageToHost() local
496 … *retValP = osChreSendMessageToHost(message, messageSize, messageType, hostEndpoint, freeCallback); in osChreEventSendMessageToHost()
Dseos.c347 void osTaskInvokeMessageFreeCallback(struct Task *task, void (*freeCallback)(void *, size_t), void … in osTaskInvokeMessageFreeCallback()
349 if (!task || !freeCallback) in osTaskInvokeMessageFreeCallback()
351 …cpuAppInvoke(task->app, &task->platInfo, (void (*)(uintptr_t,uintptr_t))freeCallback, (uintptr_t)m… in osTaskInvokeMessageFreeCallback()
354 void osTaskInvokeEventFreeCallback(struct Task *task, void (*freeCallback)(uint16_t, void *), uint1… in osTaskInvokeEventFreeCallback()
356 if (!task || !freeCallback) in osTaskInvokeEventFreeCallback()
359 (void (*)(uintptr_t,uintptr_t))freeCallback, in osTaskInvokeEventFreeCallback()
/device/google/contexthub/firmware/os/inc/
Dseos_priv.h120 void osTaskInvokeMessageFreeCallback(struct Task *task, void (*freeCallback)(void *, size_t), void …
121 void osTaskInvokeEventFreeCallback(struct Task *task, void (*freeCallback)(uint16_t, void *), uint1…