Searched refs:tlv_size (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
D | hw_rome.c | 912 int rome_tlv_dnld_req(int fd, int tlv_size) in rome_tlv_dnld_req() argument 917 total_segment = tlv_size/MAX_SIZE_PER_TLV_SEGMENT; in rome_tlv_dnld_req() 918 remain_size = (tlv_size < MAX_SIZE_PER_TLV_SEGMENT)?\ in rome_tlv_dnld_req() 919 tlv_size: (tlv_size%MAX_SIZE_PER_TLV_SEGMENT); in rome_tlv_dnld_req() 922 __FUNCTION__,tlv_size, total_segment, remain_size); in rome_tlv_dnld_req() 1008 int tlv_size, err = -1; in rome_download_tlv_file() local 1012 if((tlv_size = rome_get_tlv_file(rampatch_file_path)) < 0) in rome_download_tlv_file() 1015 if((err =rome_tlv_dnld_req(fd, tlv_size)) <0 ) in rome_download_tlv_file() 1023 if((tlv_size = rome_get_tlv_file(nvm_file_path)) < 0) in rome_download_tlv_file() 1026 if((err =rome_tlv_dnld_req(fd, tlv_size)) <0 ) in rome_download_tlv_file()
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | alsa_mixer.c | 315 unsigned int tlv_size = DEFAULT_TLV_SIZE; in mixer_ctl_read_tlv() local 323 xtlv = calloc(1, sizeof(struct snd_ctl_tlv) + tlv_size); in mixer_ctl_read_tlv() 327 xtlv->length = tlv_size; in mixer_ctl_read_tlv() 328 memcpy(xtlv->tlv, tlv, tlv_size); in mixer_ctl_read_tlv() 334 if (xtlv->tlv[1] + 2 * sizeof(unsigned int) > tlv_size) { in mixer_ctl_read_tlv()
|