/device/generic/opengl-transport/host/linux_uapi/linux/ |
D | virtio_gpu.h | 71 struct virtio_gpu_ctrl_hdr hdr; member 85 struct virtio_gpu_ctrl_hdr hdr; member 90 struct virtio_gpu_ctrl_hdr hdr; member 97 struct virtio_gpu_ctrl_hdr hdr; member 103 struct virtio_gpu_ctrl_hdr hdr; member 109 struct virtio_gpu_ctrl_hdr hdr; member 121 struct virtio_gpu_ctrl_hdr hdr; member 126 struct virtio_gpu_ctrl_hdr hdr; member 132 struct virtio_gpu_ctrl_hdr hdr; member 144 struct virtio_gpu_ctrl_hdr hdr; member [all …]
|
/device/generic/goldfish/network/netmgr/ |
D | monitor.cpp | 82 auto hdr = reinterpret_cast<struct nlmsghdr*>(buffer); in onReadAvailable() local 83 while (NLMSG_OK(hdr, length) && hdr->nlmsg_type != NLMSG_DONE) { in onReadAvailable() 84 switch (hdr->nlmsg_type) { in onReadAvailable() 86 handleNewLink(hdr); in onReadAvailable() 91 hdr = NLMSG_NEXT(hdr, length); in onReadAvailable() 153 struct nlmsghdr hdr; in requestInterfaces() member 159 request.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(request.gen)); in requestInterfaces() 160 request.hdr.nlmsg_type = RTM_GETLINK; in requestInterfaces() 161 request.hdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in requestInterfaces() 162 request.hdr.nlmsg_seq = 1; in requestInterfaces() [all …]
|
/device/google/crosshatch/sdm845/original-kernel-headers/linux/ |
D | msm_audio_calibration.h | 163 struct audio_cal_header hdr; member 175 struct audio_cal_header hdr; member 187 struct audio_cal_header hdr; member 199 struct audio_cal_header hdr; member 465 struct audio_cal_header hdr; member 476 struct audio_cal_header hdr; member 487 struct audio_cal_header hdr; member 498 struct audio_cal_header hdr; member 509 struct audio_cal_header hdr; member 520 struct audio_cal_header hdr; member [all …]
|
/device/google/bonito/sdm710/kernel-headers/linux/ |
D | msm_audio_calibration.h | 163 struct audio_cal_header hdr; member 175 struct audio_cal_header hdr; member 187 struct audio_cal_header hdr; member 199 struct audio_cal_header hdr; member 465 struct audio_cal_header hdr; member 476 struct audio_cal_header hdr; member 487 struct audio_cal_header hdr; member 498 struct audio_cal_header hdr; member 509 struct audio_cal_header hdr; member 520 struct audio_cal_header hdr; member [all …]
|
/device/google/bonito/sdm710/original-kernel-headers/linux/ |
D | msm_audio_calibration.h | 163 struct audio_cal_header hdr; member 175 struct audio_cal_header hdr; member 187 struct audio_cal_header hdr; member 199 struct audio_cal_header hdr; member 465 struct audio_cal_header hdr; member 476 struct audio_cal_header hdr; member 487 struct audio_cal_header hdr; member 498 struct audio_cal_header hdr; member 509 struct audio_cal_header hdr; member 520 struct audio_cal_header hdr; member [all …]
|
/device/google/crosshatch/sdm845/kernel-headers/linux/ |
D | msm_audio_calibration.h | 130 struct audio_cal_header hdr; member 138 struct audio_cal_header hdr; member 146 struct audio_cal_header hdr; member 154 struct audio_cal_header hdr; member 354 struct audio_cal_header hdr; member 363 struct audio_cal_header hdr; member 372 struct audio_cal_header hdr; member 381 struct audio_cal_header hdr; member 390 struct audio_cal_header hdr; member 399 struct audio_cal_header hdr; member [all …]
|
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/ |
D | msm_audio_calibration.h | 165 struct audio_cal_header hdr; member 177 struct audio_cal_header hdr; member 189 struct audio_cal_header hdr; member 201 struct audio_cal_header hdr; member 509 struct audio_cal_header hdr; member 520 struct audio_cal_header hdr; member 531 struct audio_cal_header hdr; member 542 struct audio_cal_header hdr; member 553 struct audio_cal_header hdr; member 564 struct audio_cal_header hdr; member [all …]
|
/device/google/coral-kernel/sm8150/kernel-headers/linux/ |
D | msm_audio_calibration.h | 132 struct audio_cal_header hdr; member 140 struct audio_cal_header hdr; member 148 struct audio_cal_header hdr; member 156 struct audio_cal_header hdr; member 369 struct audio_cal_header hdr; member 378 struct audio_cal_header hdr; member 387 struct audio_cal_header hdr; member 396 struct audio_cal_header hdr; member 405 struct audio_cal_header hdr; member 414 struct audio_cal_header hdr; member [all …]
|
/device/google/contexthub/firmware/os/core/ |
D | bl.c | 308 static void blWriteMark(struct OsUpdateHdr *hdr, uint32_t mark) in blWriteMark() argument 312 …(void)blExtApiProgramSharedArea(&hdr->marker, &dstVal, sizeof(hdr->marker), BL_FLASH_KEY1, BL_FLAS… in blWriteMark() 317 struct OsUpdateHdr *hdr = (struct OsUpdateHdr *)__shared_start; in blUpdateMark() local 319 if (hdr->marker != old) in blUpdateMark() 322 blWriteMark(hdr, new); in blUpdateMark() 328 struct OsUpdateHdr *hdr = (struct OsUpdateHdr*)addr; in blVerifyOsImage() local 336 const uint32_t overhead = sizeof(*hdr) + 2 * RSA_WORDS; in blVerifyOsImage() 343 if (hdr->size > (__shared_end - addr - overhead)) in blVerifyOsImage() 347 if (memcmp(hdr->magic, mOsUpdateMagic, sizeof(hdr->magic)) != 0) in blVerifyOsImage() 351 if (hdr->marker == OS_UPDT_MARKER_INVALID) in blVerifyOsImage() [all …]
|
D | nanohubCommand.c | 332 struct OsUpdateHdr *os = (struct OsUpdateHdr *)(&(app->hdr) + 1); in deferredUpdateOs() 357 struct KeyInfo *ki = (struct KeyInfo *)(&(app->hdr) + 1); in updateKey() 359 uint64_t keyId = KEY_ID_MAKE(APP_ID_GET_VENDOR(app->hdr.appId), ki->id); in updateKey() 362 if ((app->hdr.fwFlags & FL_KEY_HDR_DELETE) != 0) { in updateKey() 442 app->hdr.magic != APP_HDR_MAGIC || in firmwareFinish() 443 app->hdr.fwVer != APP_HDR_VER_CUR) { in firmwareFinish() 466 app->hdr.payInfoType, mDownloadState->size, in firmwareFinish() 477 switch(app->hdr.payInfoType) { in firmwareFinish() 489 if (ret != NANOHUB_FIRMWARE_UPLOAD_SUCCESS || (app->hdr.fwFlags & FL_APP_HDR_VOLATILE)) { in firmwareFinish() 490 if ((app->hdr.fwFlags & FL_APP_HDR_SECURE)) in firmwareFinish() [all …]
|
D | seos.c | 309 appId = task->app->hdr.appId; in osTaskRelease() 455 if (task->app && task->app->hdr.appId == appID) in osTaskFindByAppID() 686 return app->hdr.magic == APP_HDR_MAGIC && in osAppIsValid() 687 app->hdr.fwVer == APP_HDR_VER_CUR && in osAppIsValid() 688 (app->hdr.fwFlags & FL_APP_HDR_APPLICATION) != 0 && in osAppIsValid() 689 app->hdr.payInfoType == LAYOUT_APP; in osAppIsValid() 698 !(app->hdr.fwFlags & FL_APP_HDR_INTERNAL); in osExtAppIsValid() 705 (app->hdr.fwFlags & FL_APP_HDR_INTERNAL) != 0; in osIntAppIsValid() 718 …app id %016" PRIX64 " @ %p cannot be used as too many apps already exist.\n", app->hdr.appId, app); in osLoadApp() 722 bool done = (app->hdr.fwFlags & FL_APP_HDR_INTERNAL) ? in osLoadApp() [all …]
|
/device/google/contexthub/firmware/os/inc/ |
D | seos.h | 316 .hdr.magic = APP_HDR_MAGIC, \ 317 .hdr.fwVer = APP_HDR_VER_CUR, \ 318 .hdr.fwFlags = FL_APP_HDR_INTERNAL | FL_APP_HDR_APPLICATION, \ 319 .hdr.appId = (_id), \ 320 .hdr.appVer = (_ver), \ 321 .hdr.payInfoType = LAYOUT_APP, \ 332 .hdr.magic = APP_HDR_MAGIC, \ 333 .hdr.fwVer = APP_HDR_VER_CUR, \ 334 .hdr.fwFlags = FL_APP_HDR_INTERNAL | FL_APP_HDR_APPLICATION | FL_APP_HDR_CHRE, \ 335 .hdr.chreApiMajor = 0x01, \ [all …]
|
D | nanohubPacket.h | 325 struct NanohubHalLegacyHdr hdr; member 341 struct NanohubHalLegacyHdr hdr; member 359 struct NanohubHalLegacyHdr hdr; member 375 struct NanohubHalLegacyHdr hdr; member 391 struct NanohubHalLegacyHdr hdr; member 400 struct NanohubHalLegacyHdr hdr; member 409 struct NanohubHalLegacyHdr hdr; member 447 struct NanohubHalHdr hdr; member 467 struct NanohubHalHdr hdr; member 497 struct NanohubHalHdr hdr; member [all …]
|
D | seos_priv.h | 126 return task->app && (task->app->hdr.fwFlags & FL_APP_HDR_CHRE) != 0; in osTaskIsChre() 133 if (task->app->hdr.chreApiMajor == 0xFF && task->app->hdr.chreApiMinor == 0xFF) in osTaskChreVersion() 136 return task->app->hdr.chreApiMajor << 24 | task->app->hdr.chreApiMinor << 16; in osTaskChreVersion()
|
/device/google/contexthub/contexthubhal/ |
D | nanohubhal.cpp | 173 .hdr = { in doSendToDevice() 184 return rwrite(mFd, &msg, len + sizeof(msg.hdr)); in doSendToDevice() 261 if (ret < (int)sizeof(msg.raw.hdr)) { in runDeviceRx() 266 uint32_t len = msg.raw.hdr.len; in runDeviceRx() 274 if (ret == (int)(sizeof(msg.raw.hdr) + len)) { in runDeviceRx() 277 hub_app_name_t app_name = { .id = msg.raw.hdr.appId }; in runDeviceRx() 279 … dumpBuffer("(RAW) DEV -> APP", app_name, msg.raw.hdr.eventId, 0, &msg.raw.data[0], len); in runDeviceRx() 281 …doSendToApp(HubMessage(&app_name, msg.raw.hdr.eventId, ENDPOINT_BROADCAST, &msg.raw.data[0], len)); in runDeviceRx() 284 } else if (ret == (int)(sizeof(msg.chre.hdr) + len)) { in runDeviceRx() 287 hub_app_name_t app_name = { .id = msg.chre.hdr.appId }; in runDeviceRx() [all …]
|
/device/generic/goldfish/radio/ril/ |
D | if_monitor.cpp | 301 auto hdr = reinterpret_cast<struct nlmsghdr*>(buffer); in onReadAvailable() local 302 while (NLMSG_OK(hdr, length) && hdr->nlmsg_type != NLMSG_DONE) { in onReadAvailable() 303 switch (hdr->nlmsg_type) { in onReadAvailable() 306 handleAddressChange(hdr); in onReadAvailable() 309 RLOGE("Received message type %d", (int)hdr->nlmsg_type); in onReadAvailable() 312 hdr = NLMSG_NEXT(hdr, length); in onReadAvailable() 322 void handleAddressChange(const struct nlmsghdr* hdr) { in handleAddressChange() argument 327 auto msg = reinterpret_cast<const struct ifaddrmsg*>(NLMSG_DATA(hdr)); in handleAddressChange() 331 int attrLen = IFA_PAYLOAD(hdr); in handleAddressChange() 354 if (hdr->nlmsg_type == RTM_NEWADDR && it == ifAddrs.end()) { in handleAddressChange() [all …]
|
/device/generic/goldfish/dhcp/client/ |
D | router.cpp | 48 struct nlmsghdr hdr; in setDefaultGateway() member 56 request.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(request.msg)); in setDefaultGateway() 57 request.hdr.nlmsg_type = RTM_NEWROUTE; in setDefaultGateway() 58 request.hdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_CREATE; in setDefaultGateway() 70 return sendNetlinkMessage(&request, request.hdr.nlmsg_len); in setDefaultGateway()
|
D | netlink.h | 14 size_t offset = NLMSG_ALIGN(r.hdr.nlmsg_len) - offsetof(Request, buf); in addRouterAttribute() 21 r.hdr.nlmsg_len = NLMSG_ALIGN(r.hdr.nlmsg_len) + RTA_ALIGN(attr->rta_len); in addRouterAttribute()
|
/device/google/bonito/gpt-utils/ |
D | gpt-utils.cpp | 1185 uint8_t* hdr = NULL; in gpt_get_header() local 1218 hdr = (uint8_t*)malloc(block_size); in gpt_get_header() 1219 if (!hdr) { in gpt_get_header() 1233 if (blk_rw(fd, 0, hdr_offset, hdr, block_size)) { in gpt_get_header() 1239 return hdr; in gpt_get_header() 1243 if (hdr) in gpt_get_header() 1244 free(hdr); in gpt_get_header() 1252 static uint8_t* gpt_get_pentry_arr(uint8_t *hdr, int fd) in gpt_get_pentry_arr() argument 1260 if (!hdr) { in gpt_get_pentry_arr() 1274 pentries_start = GET_8_BYTES(hdr + PENTRIES_OFFSET) * block_size; in gpt_get_pentry_arr() [all …]
|
/device/google/coral/gpt-utils/ |
D | gpt-utils.cpp | 1185 uint8_t* hdr = NULL; in gpt_get_header() local 1218 hdr = (uint8_t*)malloc(block_size); in gpt_get_header() 1219 if (!hdr) { in gpt_get_header() 1233 if (blk_rw(fd, 0, hdr_offset, hdr, block_size)) { in gpt_get_header() 1239 return hdr; in gpt_get_header() 1243 if (hdr) in gpt_get_header() 1244 free(hdr); in gpt_get_header() 1252 static uint8_t* gpt_get_pentry_arr(uint8_t *hdr, int fd) in gpt_get_pentry_arr() argument 1260 if (!hdr) { in gpt_get_pentry_arr() 1274 pentries_start = GET_8_BYTES(hdr + PENTRIES_OFFSET) * block_size; in gpt_get_pentry_arr() [all …]
|
/device/google/crosshatch/gpt-utils/ |
D | gpt-utils.cpp | 1185 uint8_t* hdr = NULL; in gpt_get_header() local 1218 hdr = (uint8_t*)malloc(block_size); in gpt_get_header() 1219 if (!hdr) { in gpt_get_header() 1233 if (blk_rw(fd, 0, hdr_offset, hdr, block_size)) { in gpt_get_header() 1239 return hdr; in gpt_get_header() 1243 if (hdr) in gpt_get_header() 1244 free(hdr); in gpt_get_header() 1252 static uint8_t* gpt_get_pentry_arr(uint8_t *hdr, int fd) in gpt_get_pentry_arr() argument 1260 if (!hdr) { in gpt_get_pentry_arr() 1274 pentries_start = GET_8_BYTES(hdr + PENTRIES_OFFSET) * block_size; in gpt_get_pentry_arr() [all …]
|
/device/google/cuttlefish/guest/hals/ril/reference-libril/ |
D | RilSapSocket.cpp | 242 MsgHeader *hdr = request->curr; in onRequestComplete() local 261 hdr->token, hdr->id, t); in onRequestComplete() 268 if(!pendingResponseQueue.checkAndDequeue(hdr->id, hdr->token)) { in onRequestComplete() 269 RLOGE("Token:%d, MessageId:%d", hdr->token, hdr->id); in onRequestComplete() 274 free(hdr); in onRequestComplete()
|
/device/generic/goldfish/radio/libril/ |
D | RilSapSocket.cpp | 242 MsgHeader *hdr = request->curr; in onRequestComplete() local 261 hdr->token, hdr->id, t); in onRequestComplete() 268 if(!pendingResponseQueue.checkAndDequeue(hdr->id, hdr->token)) { in onRequestComplete() 269 RLOGE("Token:%d, MessageId:%d", hdr->token, hdr->id); in onRequestComplete() 274 free(hdr); in onRequestComplete()
|
/device/google/cuttlefish/guest/hals/ril/libril/ |
D | RilSapSocket.cpp | 242 MsgHeader *hdr = request->curr; in onRequestComplete() local 261 hdr->token, hdr->id, t); in onRequestComplete() 268 if(!pendingResponseQueue.checkAndDequeue(hdr->id, hdr->token)) { in onRequestComplete() 269 RLOGE("Token:%d, MessageId:%d", hdr->token, hdr->id); in onRequestComplete() 274 free(hdr); in onRequestComplete()
|
/device/google/contexthub/firmware/app/chre/common/ |
D | chre_app.c | 256 const struct NanohubMsgChreHdrV10 *hdr = eventData; in chreappHandle() local 260 u.msg.message = hdr + 1; in chreappHandle() 261 u.msg.messageType = hdr->appEvent; in chreappHandle() 262 u.msg.messageSize = hdr->size; in chreappHandle() 265 const struct NanohubMsgChreHdr *hdr = eventData; in chreappHandle() local 269 u.msg.message = hdr + 1; in chreappHandle() 270 u.msg.messageType = hdr->appEvent; in chreappHandle() 271 u.msg.messageSize = hdr->size; in chreappHandle() 272 u.msg.hostEndpoint = hdr->endpoint; in chreappHandle()
|