Home
last modified time | relevance | path

Searched refs:respLegacy (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/core/
DhostIntf.c1130 struct NanohubHalLegacyRebootTx *respLegacy; in hostIntfNotifyReboot() local
1131 respLegacy = heapAlloc(sizeof(*respLegacy)); in hostIntfNotifyReboot()
1132 if (respLegacy) { in hostIntfNotifyReboot()
1133 respLegacy->hdr = (struct NanohubHalLegacyHdr) { in hostIntfNotifyReboot()
1135 .len = sizeof(*respLegacy) - sizeof(respLegacy->hdr) + sizeof(respLegacy->hdr.msg), in hostIntfNotifyReboot()
1138 memcpy(&respLegacy->reason, &raw_reason, sizeof(respLegacy->reason)); in hostIntfNotifyReboot()
1139 osEnqueueEvtOrFree(EVT_APP_TO_HOST, respLegacy, heapFree); in hostIntfNotifyReboot()
DnanohubCommand.c524 struct NanohubHalLegacyContUploadTx respLegacy; member
582 resp->respLegacy.success = valid; in firmwareWrite()
583 osEnqueueEvtOrFree(EVT_APP_TO_HOST, &resp->respLegacy, writeCookieFree); in firmwareWrite()
1251 cookie->respLegacy.hdr = (struct NanohubHalLegacyHdr) { in halLegacyContUpload()
1253 .len = sizeof(cookie->respLegacy) - sizeof(struct NanohubHalLegacyHdr) + 1, in halLegacyContUpload()
1256 cookie->respLegacy.success = false; in halLegacyContUpload()
1268 osEnqueueEvtOrFree(EVT_APP_TO_HOST, &cookie->respLegacy, writeCookieFree); in halLegacyContUpload()