Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 25 of 37) sorted by relevance

12

/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmcdc.h60 #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/
Darec.c45 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 …]
Daplay.c500 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/
Dmsm_audio_calibration.h147 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 …]
Dmsm_rmnet.h152 struct QMI_QOS_HDR_S hdr; member
/hardware/qcom/msm8x09/original-kernel-headers/linux/
Dmsm_audio_calibration.h147 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 …]
Dmsm_rmnet.h152 struct QMI_QOS_HDR_S hdr; member
/hardware/qcom/msm8x09/kernel-headers/linux/
Dmsm_audio_calibration.h141 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/msm8996/kernel-headers/linux/
Dmsm_audio_calibration.h141 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/kernel-headers/linux/
Dmsm_audio_calibration.h129 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/msm8x26/original-kernel-headers/linux/
Dmsm_audio_calibration.h135 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/msm8994/kernel-headers/linux/
Dmsm_audio_calibration.h134 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 …]
Dmsm_rmnet.h150 struct QMI_QOS_HDR_S hdr; member
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dmsm_audio_calibration.h139 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 …]
Dmsm_rmnet.h143 struct QMI_QOS_HDR_S hdr; member
/hardware/libhardware/include/hardware/
Dbt_sdp.h69 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
Dhardware.h42 #define HARDWARE_MAKE_API_VERSION_2(maj,min,hdr) \ argument
43 ((((maj) & 0xff) << 24) | (((min) & 0xff) << 16) | ((hdr) & 0xffff))
71 #define HARDWARE_MODULE_API_VERSION_2(maj,min,hdr) HARDWARE_MAKE_API_VERSION_2(maj,min,hdr) argument
77 #define HARDWARE_DEVICE_API_VERSION_2(maj,min,hdr) HARDWARE_MAKE_API_VERSION_2(maj,min,hdr) argument
/hardware/intel/bootstub/
Dbootstub.c144 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/ril/libril/
DRilSapSocket.cpp237 MsgHeader *hdr = request->curr; in onRequestComplete() local
256 hdr->token, hdr->id, t); in onRequestComplete()
263 if(!pendingResponseQueue.checkAndDequeue(hdr->id, hdr->token)) { in onRequestComplete()
264 RLOGE("Token:%d, MessageId:%d", hdr->token, hdr->id); in onRequestComplete()
269 free(hdr); in onRequestComplete()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Dread_device_node.c80 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/
Dstress_iio.c715 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/hal/audio_extn/
Dspkr_protection.c199 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()
/hardware/qcom/display/msm8998/sdm/include/core/
Dlayer_buffer.h208 uint32_t hdr : 1; //!< This flag shall be set by the client to indicate that the member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_rmnet.h141 struct QMI_QOS_HDR_S hdr; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_rmnet.h147 struct QMI_QOS_HDR_S hdr; member

12