Home
last modified time | relevance | path

Searched refs:messageSize (Results 1 – 13 of 13) sorted by relevance

/device/google/contexthub/firmware/app/chre/common/
Dchre11_app_syscalls.c152 bool chreSendMessageToHost(void *message, uint32_t messageSize, in chreSendMessageToHost() argument
157 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHost()
159 …, SYSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, messageType, C… in chreSendMessageToHost()
162 bool chreSendMessageToHostEndpoint(void *message, size_t messageSize, in chreSendMessageToHostEndpoint() argument
167 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHostEndpoint()
169 …, SYSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, messageType, h… in chreSendMessageToHostEndpoint()
Dchre_app_syscalls.c152 bool chreSendMessageToHost(void *message, uint32_t messageSize, in chreSendMessageToHost() argument
157 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHost()
159 …, SYSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, messageType, C… in chreSendMessageToHost()
162 bool chreSendMessageToHostEndpoint(void *message, size_t messageSize, in chreSendMessageToHostEndpoint() argument
167 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHostEndpoint()
169 …, SYSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, messageType, h… in chreSendMessageToHostEndpoint()
Dchre10_app_syscalls.c149 bool chreSendMessageToHost(void *message, uint32_t messageSize, in chreSendMessageToHost() argument
154 …return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, reservedMessageType, freeCall… in chreSendMessageToHost()
156 …, SYSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, reservedMessag… in chreSendMessageToHost()
Dchre_app.c250 u.msg.messageSize = *(uint8_t*)eventData; in chreappHandle()
262 u.msg.messageSize = hdr->size; in chreappHandle()
271 u.msg.messageSize = hdr->size; in chreappHandle()
Dchre10_app.c249 u.msg.messageSize = *(uint8_t*)eventData; in chreappHandle()
259 u.msg.messageSize = hdr->size; in chreappHandle()
/device/google/contexthub/firmware/os/core/
Dnanohub_chre.c205 static bool osChreSendMessageToHost(void *message, uint32_t messageSize, in osChreSendMessageToHost() argument
212 if (messageSize > CHRE_MESSAGE_TO_HOST_MAX_SIZE || (messageSize && !message)) in osChreSendMessageToHost()
215 hostMsg = heapAlloc(sizeof(*hostMsg) + messageSize); in osChreSendMessageToHost()
219 if (messageSize) in osChreSendMessageToHost()
220 memcpy(hostMsg+1, message, messageSize); in osChreSendMessageToHost()
223 hostMsg->messageSize = messageSize; in osChreSendMessageToHost()
230 osTaskInvokeMessageFreeCallback(osGetCurrentTask(), freeCallback, message, messageSize); in osChreSendMessageToHost()
237 uint32_t messageSize = va_arg(args, uint32_t); in osChreApiSendMessageToHost() local
241 …*retValP = osChreSendMessageToHost(message, messageSize, messageType, CHRE_HOST_ENDPOINT_BROADCAST… in osChreApiSendMessageToHost()
491 uint32_t messageSize = va_arg(args, size_t); in osChreEventSendMessageToHost() local
[all …]
DhostIntf.c1224 if (hostMsg->messageSize <= HOST_HUB_CHRE_PACKET_MAX_LEN) { in onEvtAppToHostChre()
1225 …ruct HostIntfDataBuffer *data = alloca(sizeof(uint32_t) + sizeof(*hostMsg) + hostMsg->messageSize); in onEvtAppToHostChre()
1228 data->length = sizeof(*hostMsg) + hostMsg->messageSize; in onEvtAppToHostChre()
Dseos.c347 …lback(struct Task *task, void (*freeCallback)(void *, size_t), void *message, uint32_t messageSize) in osTaskInvokeMessageFreeCallback() argument
351 …platInfo, (void (*)(uintptr_t,uintptr_t))freeCallback, (uintptr_t)message, (uintptr_t)messageSize); in osTaskInvokeMessageFreeCallback()
/device/google/contexthub/firmware/os/inc/
Deventnums.h64 uint8_t messageSize; //not incl this header, 128 bytes max member
Dseos_priv.h120 …back(struct Task *task, void (*freeCallback)(void *, size_t), void *message, uint32_t messageSize);
/device/google/contexthub/firmware/app/chre/chre_test0.app/
Dmain.c101 const size_t size = msg->messageSize; in nanoappHandleEvent()
/device/google/contexthub/firmware/app/chre/chre_test1.app/
Dmain.cpp114 const size_t size = msg->messageSize; in nanoappHandleEvent()
/device/google/contexthub/firmware/app/chre/chre_test2.app/
Dmain.cpp111 const size_t size = msg->messageSize; in nanoappHandleEvent()