/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/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/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/sunfish-kernel/sm7150/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/barbet-kernel/sm7250/kernel-headers/linux/ |
D | msm_audio_calibration.h | 134 struct audio_cal_header hdr; member 142 struct audio_cal_header hdr; member 150 struct audio_cal_header hdr; member 158 struct audio_cal_header hdr; member 371 struct audio_cal_header hdr; member 380 struct audio_cal_header hdr; member 389 struct audio_cal_header hdr; member 398 struct audio_cal_header hdr; member 407 struct audio_cal_header hdr; member 416 struct audio_cal_header hdr; member [all …]
|
/device/google/redbull-kernel/sm7250/kernel-headers/linux/ |
D | msm_audio_calibration.h | 134 struct audio_cal_header hdr; member 142 struct audio_cal_header hdr; member 150 struct audio_cal_header hdr; member 158 struct audio_cal_header hdr; member 371 struct audio_cal_header hdr; member 380 struct audio_cal_header hdr; member 389 struct audio_cal_header hdr; member 398 struct audio_cal_header hdr; member 407 struct audio_cal_header hdr; member 416 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/redbull-kernel/sm7250/original-kernel-headers/linux/ |
D | msm_audio_calibration.h | 167 struct audio_cal_header hdr; member 179 struct audio_cal_header hdr; member 191 struct audio_cal_header hdr; member 203 struct audio_cal_header hdr; member 511 struct audio_cal_header hdr; member 522 struct audio_cal_header hdr; member 533 struct audio_cal_header hdr; member 544 struct audio_cal_header hdr; member 555 struct audio_cal_header hdr; member 566 struct audio_cal_header hdr; member [all …]
|
/device/google/sunfish-kernel/sm7150/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/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/barbet-kernel/sm7250/original-kernel-headers/linux/ |
D | msm_audio_calibration.h | 167 struct audio_cal_header hdr; member 179 struct audio_cal_header hdr; member 191 struct audio_cal_header hdr; member 203 struct audio_cal_header hdr; member 511 struct audio_cal_header hdr; member 522 struct audio_cal_header hdr; member 533 struct audio_cal_header hdr; member 544 struct audio_cal_header hdr; member 555 struct audio_cal_header hdr; member 566 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 …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | FirmwareVolumeBuffer.c | 403 EFI_FIRMWARE_VOLUME_HEADER* hdr; in FvBufExtend() local 414 hdr = (EFI_FIRMWARE_VOLUME_HEADER*)*Fv; in FvBufExtend() 415 blk = hdr->BlockMap; in FvBufExtend() 446 hdr = (EFI_FIRMWARE_VOLUME_HEADER*)NewFv; in FvBufExtend() 447 hdr->FvLength = NewSize; in FvBufExtend() 448 blk = hdr->BlockMap; in FvBufExtend() 466 (hdr->Attributes & EFI_FVB2_ERASE_POLARITY) ? 0xFF : 0 in FvBufExtend() 500 EFI_FIRMWARE_VOLUME_HEADER *hdr = (EFI_FIRMWARE_VOLUME_HEADER*)Fv; in FvBufClearAllFiles() local 510 (UINT8*)hdr + hdr->HeaderLength, in FvBufClearAllFiles() 511 size - hdr->HeaderLength, in FvBufClearAllFiles() [all …]
|
/device/google/cuttlefish/host/frontend/gcastv2/libsource/ |
D | AudioSource.cpp | 250 gce_audio_message hdr; in encode() local 251 std::memcpy(&hdr, data, sizeof(gce_audio_message)); in encode() 253 if (hdr.message_type != gce_audio_message::DATA_SAMPLES) { in encode() 266 << (((timeUs - prevTimeUs) * hdr.frame_rate) / 1000000ll) in encode() 272 || mPrevHeader.frame_size != hdr.frame_size in encode() 273 || mPrevHeader.frame_rate != hdr.frame_rate in encode() 274 || mPrevHeader.stream_number != hdr.stream_number) { in encode() 280 << hdr.frame_size in encode() 284 << hdr.frame_rate in encode() 288 << hdr.stream_number in encode() [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 …]
|
/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/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/linaro/bootloader/edk2/OvmfPkg/Library/LoadLinuxLib/ |
D | Linux.c | 61 if ((Bp->hdr.signature != 0xAA55) || // Check boot sector signature in LoadLinuxCheckKernelSetup() 62 (Bp->hdr.header != SETUP_HDR) || in LoadLinuxCheckKernelSetup() 63 (Bp->hdr.version < 0x205) || // We only support relocatable kernels in LoadLinuxCheckKernelSetup() 64 (!Bp->hdr.relocatable_kernel) in LoadLinuxCheckKernelSetup() 88 if (Bp->hdr.version > 0x20a) { in LoadLinuxGetKernelSize() 89 return Bp->hdr.init_size; in LoadLinuxGetKernelSize() 139 SetupEnd = 0x202 + (Bp->hdr.jump & 0xff); in LoadLinuxInitializeKernelSetup() 172 2 * Bp->hdr.kernel_alignment, in LoadLinuxAllocateKernelPages() 232 Address = (EFI_PHYSICAL_ADDRESS)(UINTN) Bp->hdr.ramdisk_max; in LoadLinuxAllocateInitrdPages() 414 Bp->hdr.cmd_line_ptr = (UINT32)(UINTN) CommandLine; in LoadLinuxSetCommandLine() [all …]
|