/hardware/ti/omap4-aah/ |
D | heaptracker.c | 44 struct hdr { struct 46 struct hdr *prev; argument 47 struct hdr *next; argument 60 static inline struct ftr * to_ftr(struct hdr *hdr) in to_ftr() argument 62 return (struct ftr *)(((char *)(hdr + 1)) + hdr->size); in to_ftr() 65 static inline void *user(struct hdr *hdr) in user() argument 67 return hdr + 1; in user() 70 static inline struct hdr *meta(void *user) in meta() 72 return ((struct hdr *)user) - 1; in meta() 90 static struct hdr *first; [all …]
|
/hardware/ti/omap4xxx/ |
D | heaptracker.c | 44 struct hdr { struct 46 struct hdr *prev; argument 47 struct hdr *next; argument 60 static inline struct ftr * to_ftr(struct hdr *hdr) in to_ftr() argument 62 return (struct ftr *)(((char *)(hdr + 1)) + hdr->size); in to_ftr() 65 static inline void *user(struct hdr *hdr) in user() argument 67 return hdr + 1; in user() 70 static inline struct hdr *meta(void *user) in meta() 72 return ((struct hdr *)user) - 1; in meta() 90 static struct hdr *first; [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmcdc.h | 60 #define CDC_GET_IF_IDX(hdr) \ argument 61 ((int)((((hdr)->flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT)) 62 #define CDC_SET_IF_IDX(hdr, idx) \ argument 63 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT))) 106 #define BDC_GET_IF_IDX(hdr) \ argument 107 ((int)((((hdr)->flags2) & BDC_FLAG2_IF_MASK) >> BDC_FLAG2_IF_SHIFT)) 108 #define BDC_SET_IF_IDX(hdr, idx) \ argument 109 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_IF_MASK) | ((idx) << BDC_FLAG2_IF_SHIFT))) 117 #define BDC_GET_PAD_LEN(hdr) \ argument 118 ((int)(((((hdr)->flags2) & BDC_FLAG2_PAD_MASK) >> BDC_FLAG2_PAD_SHIFT) | \ [all …]
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | arec.c | 45 static struct wav_header hdr; variable 267 hdr.data_sz = 0; in record_file() 335 hdr.data_sz += bufsize; in record_file() 336 hdr.riff_sz = hdr.data_sz + 44 - 8; in record_file() 339 write(fd, &hdr, sizeof(hdr)); in record_file() 365 hdr.data_sz += bufsize; in record_file() 366 hdr.riff_sz = hdr.data_sz + 44 - 8; in record_file() 369 write(fd, &hdr, sizeof(hdr)); in record_file() 380 return hdr.data_sz; in record_file() 442 memset(&hdr, 0, sizeof(struct wav_header)); in rec_wav() [all …]
|
D | aplay.c | 500 struct wav_header hdr; in play_wav() local 516 hdr.sample_rate = rate; in play_wav() 517 hdr.num_channels = ch; in play_wav() 518 hdr.data_sz = 0; in play_wav() 522 if (read(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) { in play_wav() 527 if ((hdr.riff_id != ID_RIFF) || in play_wav() 528 (hdr.riff_fmt != ID_WAVE) || in play_wav() 529 (hdr.fmt_id != ID_FMT)) { in play_wav() 533 if ((hdr.audio_format != FORMAT_PCM) || in play_wav() 534 (hdr.fmt_sz != 16)) { in play_wav() [all …]
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
D | msm_audio_calibration.h | 147 struct audio_cal_header hdr; member 159 struct audio_cal_header hdr; member 171 struct audio_cal_header hdr; member 183 struct audio_cal_header hdr; member 426 struct audio_cal_header hdr; member 437 struct audio_cal_header hdr; member 448 struct audio_cal_header hdr; member 459 struct audio_cal_header hdr; member 470 struct audio_cal_header hdr; member 481 struct audio_cal_header hdr; member [all …]
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
D | msm_audio_calibration.h | 141 struct audio_cal_header hdr; member 151 struct audio_cal_header hdr; member 161 struct audio_cal_header hdr; member 171 struct audio_cal_header hdr; member 395 struct audio_cal_header hdr; member 406 struct audio_cal_header hdr; member 417 struct audio_cal_header hdr; member 429 struct audio_cal_header hdr; member 440 struct audio_cal_header hdr; member 451 struct audio_cal_header hdr; member [all …]
|
/hardware/qcom/msm8x26/original-kernel-headers/linux/ |
D | msm_audio_calibration.h | 135 struct audio_cal_header hdr; member 147 struct audio_cal_header hdr; member 159 struct audio_cal_header hdr; member 171 struct audio_cal_header hdr; member 358 struct audio_cal_header hdr; member 369 struct audio_cal_header hdr; member 380 struct audio_cal_header hdr; member 391 struct audio_cal_header hdr; member 402 struct audio_cal_header hdr; member 413 struct audio_cal_header hdr; member [all …]
|
/hardware/qcom/msm8x26/kernel-headers/linux/ |
D | msm_audio_calibration.h | 129 struct audio_cal_header hdr; member 139 struct audio_cal_header hdr; member 149 struct audio_cal_header hdr; member 159 struct audio_cal_header hdr; member 336 struct audio_cal_header hdr; member 347 struct audio_cal_header hdr; member 359 struct audio_cal_header hdr; member 370 struct audio_cal_header hdr; member 381 struct audio_cal_header hdr; member 392 struct audio_cal_header hdr; member [all …]
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
D | msm_audio_calibration.h | 139 struct audio_cal_header hdr; member 151 struct audio_cal_header hdr; member 163 struct audio_cal_header hdr; member 175 struct audio_cal_header hdr; member 379 struct audio_cal_header hdr; member 390 struct audio_cal_header hdr; member 401 struct audio_cal_header hdr; member 412 struct audio_cal_header hdr; member 423 struct audio_cal_header hdr; member 434 struct audio_cal_header hdr; member [all …]
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
D | msm_audio_calibration.h | 134 struct audio_cal_header hdr; member 144 struct audio_cal_header hdr; member 154 struct audio_cal_header hdr; member 164 struct audio_cal_header hdr; member 359 struct audio_cal_header hdr; member 370 struct audio_cal_header hdr; member 381 struct audio_cal_header hdr; member 392 struct audio_cal_header hdr; member 404 struct audio_cal_header hdr; member 415 struct audio_cal_header hdr; member [all …]
|
/hardware/ril/libril/ |
D | RilSapSocket.cpp | 301 MsgHeader *hdr = request->curr; in onRequestComplete() local 319 RLOGE("Token:%d, MessageId:%d", hdr->token, hdr->id); in onRequestComplete() 326 if(!pendingResponseQueue.checkAndDequeue(hdr->id, hdr->token)) { in onRequestComplete() 327 RLOGE("Token:%d, MessageId:%d", hdr->token, hdr->id); in onRequestComplete() 332 free(hdr); in onRequestComplete() 335 void RilSapSocket::sendResponse(MsgHeader* hdr) { in sendResponse() argument 345 hdr)) && encoded_size <= INT32_MAX && commandFd != -1) { in sendResponse() 351 success = pb_encode(&ostream, MsgHeader_fields, hdr); in sendResponse() 358 hdr->token, hdr->type, hdr->id,hdr->error ); in sendResponse() 367 hdr->type, hdr->id, buffer_size, PB_GET_ERROR(&ostream)); in sendResponse() [all …]
|
D | RilSapSocket.h | 162 void sendResponse(MsgHeader *hdr);
|
/hardware/libhardware/include/hardware/ |
D | bt_sdp.h | 69 bluetooth_sdp_hdr_overlay hdr; member 76 bluetooth_sdp_hdr_overlay hdr; member 81 bluetooth_sdp_hdr_overlay hdr; member 87 bluetooth_sdp_hdr_overlay hdr; member 91 bluetooth_sdp_hdr_overlay hdr; member 97 bluetooth_sdp_hdr_overlay hdr; member 101 bluetooth_sdp_hdr_overlay hdr; member
|
D | hardware.h | 40 #define HARDWARE_MAKE_API_VERSION_2(maj,min,hdr) \ argument 41 ((((maj) & 0xff) << 24) | (((min) & 0xff) << 16) | ((hdr) & 0xffff)) 69 #define HARDWARE_MODULE_API_VERSION_2(maj,min,hdr) HARDWARE_MAKE_API_VERSION_2(maj,min,hdr) argument 75 #define HARDWARE_DEVICE_API_VERSION_2(maj,min,hdr) HARDWARE_MAKE_API_VERSION_2(maj,min,hdr) argument
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
D | decode_with_partial_drops.c | 109 int next_packet(struct parsed_header* hdr, int pos, int length, int mtu) in next_packet() argument 114 int uncomp_part_size = (hdr->key_frame ? 10 : 3); in next_packet() 116 int remainFirst = uncomp_part_size + hdr->first_part_size - pos; in next_packet() 147 struct parsed_header hdr; in throw_packets() local 158 hdr.key_frame = !(tmp & 0x1); /* inverse logic */ in throw_packets() 159 hdr.version = (tmp >> 1) & 0x7; in throw_packets() 160 hdr.show_frame = (tmp >> 4) & 0x1; in throw_packets() 161 hdr.first_part_size = (tmp >> 5) & 0x7FFFF; in throw_packets() 164 if (hdr.key_frame) in throw_packets() 173 while ((pkg_size = next_packet(&hdr, pos, *size, mtu)) > 0) in throw_packets()
|
/hardware/intel/bootstub/ |
D | bootstub.c | 144 memcpy(&bp->hdr, sh, sizeof (struct setup_header)); in setup_boot_params() 145 bp->hdr.type_of_loader = 0xff; //bootstub is unknown bootloader for kernel :) in setup_boot_params() 146 bp->hdr.hardware_subarch = X86_SUBARCH_MRST; in setup_boot_params() 169 bp->hdr.ramdisk_size = aosp->ramdisk_size; in bzImage_setup() 182 bp->hdr.ramdisk_size = *(u32 *)INITRD_SIZE_OFFSET; in bzImage_setup() 187 bp->hdr.cmd_line_ptr = BOOT_CMDLINE_OFFSET; in bzImage_setup() 188 bp->hdr.cmdline_size = cmdline_len; in bzImage_setup() 190 bp->hdr.ramdisk_image = (bp->alt_mem_k*1024 - bp->hdr.ramdisk_size) & 0xFFFFF000; in bzImage_setup() 194 memcpy((u8*)bp->hdr.ramdisk_image, initramfs, bp->hdr.ramdisk_size); in bzImage_setup() 199 bp->hdr.ramdisk_image = (u32) initramfs; in bzImage_setup() [all …]
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/test/ |
D | omx_qcelp13_enc_test.c | 1068 struct wav_header hdr; in parse_pcm_header() local 1071 if(fread(&hdr, 1, sizeof(hdr),inputBufferFile)!=sizeof(hdr)) in parse_pcm_header() 1077 if ((hdr.riff_id != ID_RIFF) || in parse_pcm_header() 1078 (hdr.riff_fmt != ID_WAVE)|| in parse_pcm_header() 1079 (hdr.fmt_id != ID_FMT)) in parse_pcm_header() 1085 if (hdr.audio_format != FORMAT_PCM) in parse_pcm_header() 1088 hdr.audio_format, hdr.fmt_sz); in parse_pcm_header() 1092 DEBUG_PRINT("Samplerate is %d\n", hdr.sample_rate); in parse_pcm_header() 1093 DEBUG_PRINT("Channel Count is %d\n", hdr.num_channels); in parse_pcm_header() 1096 samplerate = hdr.sample_rate; in parse_pcm_header() [all …]
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/test/ |
D | omx_evrc_enc_test.c | 1065 struct wav_header hdr; in parse_pcm_header() local 1068 if(fread(&hdr, 1, sizeof(hdr),inputBufferFile)!=sizeof(hdr)) in parse_pcm_header() 1074 if ((hdr.riff_id != ID_RIFF) || in parse_pcm_header() 1075 (hdr.riff_fmt != ID_WAVE)|| in parse_pcm_header() 1076 (hdr.fmt_id != ID_FMT)) in parse_pcm_header() 1082 if (hdr.audio_format != FORMAT_PCM) in parse_pcm_header() 1085 hdr.audio_format, hdr.fmt_sz); in parse_pcm_header() 1089 DEBUG_PRINT("Samplerate is %d\n", hdr.sample_rate); in parse_pcm_header() 1090 DEBUG_PRINT("Channel Count is %d\n", hdr.num_channels); in parse_pcm_header() 1093 samplerate = hdr.sample_rate; in parse_pcm_header() [all …]
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/test/ |
D | omx_amr_enc_test.c | 1022 struct wav_header hdr; in parse_pcm_header() local 1025 if(fread(&hdr, 1, sizeof(hdr),inputBufferFile)!=sizeof(hdr)) in parse_pcm_header() 1031 if ((hdr.riff_id != ID_RIFF) || in parse_pcm_header() 1032 (hdr.riff_fmt != ID_WAVE)|| in parse_pcm_header() 1033 (hdr.fmt_id != ID_FMT)) in parse_pcm_header() 1039 if (hdr.audio_format != FORMAT_PCM) in parse_pcm_header() 1042 hdr.audio_format, hdr.fmt_sz); in parse_pcm_header() 1046 DEBUG_PRINT("Samplerate is %d\n", hdr.sample_rate); in parse_pcm_header() 1047 DEBUG_PRINT("Channel Count is %d\n", hdr.num_channels); in parse_pcm_header() 1050 samplerate = hdr.sample_rate; in parse_pcm_header() [all …]
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/test/ |
D | omx_aac_enc_test.c | 1261 struct wav_header hdr; in parse_pcm_header() local 1264 if(fread(&hdr, 1, sizeof(hdr),inputBufferFile)!=sizeof(hdr)) in parse_pcm_header() 1270 if ((hdr.riff_id != ID_RIFF) || in parse_pcm_header() 1271 (hdr.riff_fmt != ID_WAVE)|| in parse_pcm_header() 1272 (hdr.fmt_id != ID_FMT)) in parse_pcm_header() 1278 if (hdr.audio_format != FORMAT_PCM) in parse_pcm_header() 1281 hdr.audio_format, hdr.fmt_sz); in parse_pcm_header() 1285 DEBUG_PRINT("Samplerate is %d\n", hdr.sample_rate); in parse_pcm_header() 1286 DEBUG_PRINT("Channel Count is %d\n", hdr.num_channels); in parse_pcm_header() 1289 samplerate = hdr.sample_rate; in parse_pcm_header() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
D | read_device_node.c | 80 unsigned short hdr; in read_data() local 114 hdr = *((short *)(dptr)); in read_data() 115 if (hdr & 1) in read_data() 118 switch (hdr & (~1)) { in read_data()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | stress_iio.c | 715 unsigned short hdr; in read_data() local 784 hdr = *((short *)(dptr)); in read_data() 785 if ((hdr & 0xf) && (hdr != STEP_INDICATOR_HDR)) in read_data() 786 printf("STEP$$$$$$$$$$$$$$$=%x ", hdr); in read_data() 787 switch (hdr & (~0xf)) { in read_data() 862 if (hdr == EMPTY_MARKER) { in read_data() 864 } else if (hdr == END_MARKER) { in read_data() 866 } else if (hdr == COMPASS_HDR_2) { in read_data()
|
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
D | spkr_protection.c | 209 cal_data.hdr.data_size = sizeof(cal_data); in get_spkr_prot_cal() 210 cal_data.hdr.version = VERSION_0_0; in get_spkr_prot_cal() 211 cal_data.hdr.cal_type = AFE_FB_SPKR_PROT_CAL_TYPE; in get_spkr_prot_cal() 212 cal_data.hdr.cal_type_size = sizeof(cal_data.cal_type); in get_spkr_prot_cal() 251 cal_data.hdr.data_size = sizeof(cal_data); in set_spkr_prot_cal() 252 cal_data.hdr.version = VERSION_0_0; in set_spkr_prot_cal() 253 cal_data.hdr.cal_type = AFE_FB_SPKR_PROT_CAL_TYPE; in set_spkr_prot_cal() 254 cal_data.hdr.cal_type_size = sizeof(cal_data.cal_type); in set_spkr_prot_cal()
|
/hardware/qcom/audio/hal/audio_extn/ |
D | spkr_protection.c | 199 cal_data.hdr.data_size = sizeof(cal_data); in get_spkr_prot_cal() 200 cal_data.hdr.version = VERSION_0_0; in get_spkr_prot_cal() 201 cal_data.hdr.cal_type = AFE_FB_SPKR_PROT_CAL_TYPE; in get_spkr_prot_cal() 202 cal_data.hdr.cal_type_size = sizeof(cal_data.cal_type); in get_spkr_prot_cal() 241 cal_data.hdr.data_size = sizeof(cal_data); in set_spkr_prot_cal() 242 cal_data.hdr.version = VERSION_0_0; in set_spkr_prot_cal() 243 cal_data.hdr.cal_type = AFE_FB_SPKR_PROT_CAL_TYPE; in set_spkr_prot_cal() 244 cal_data.hdr.cal_type_size = sizeof(cal_data.cal_type); in set_spkr_prot_cal()
|