Lines Matching refs:tlv_len
41 encoded_bytes, tlv_len, encode_tlv, rc) \ argument
45 tlv_len += rc; \
301 u32 tlv_len; in qmi_encode() local
312 tlv_len = 0; in qmi_encode()
354 encoded_bytes, tlv_len, in qmi_encode()
380 encoded_bytes, tlv_len, in qmi_encode()
392 encoded_bytes, tlv_len, in qmi_encode()
403 encoded_bytes, tlv_len, in qmi_encode()
412 QMI_ENCDEC_ENCODE_TLV(tlv_type, tlv_len, tlv_pointer); in qmi_encode()
415 tlv_len = 0; in qmi_encode()
473 u32 elem_len, u32 tlv_len, in qmi_decode_struct_elem() argument
479 for (i = 0; i < elem_len && decoded_bytes < tlv_len; i++) { in qmi_decode_struct_elem()
481 tlv_len - decoded_bytes, dec_level); in qmi_decode_struct_elem()
489 if ((dec_level <= 2 && decoded_bytes != tlv_len) || in qmi_decode_struct_elem()
490 (dec_level > 2 && (i < elem_len || decoded_bytes > tlv_len))) { in qmi_decode_struct_elem()
492 __func__, dec_level, decoded_bytes, tlv_len, in qmi_decode_struct_elem()
519 u32 tlv_len, int dec_level) in qmi_decode_string_elem() argument
528 string_len = tlv_len; in qmi_decode_string_elem()
541 } else if (string_len > tlv_len) { in qmi_decode_string_elem()
543 __func__, string_len, tlv_len); in qmi_decode_string_elem()
602 u32 tlv_len = 0; in qmi_decode() local
615 &tlv_len, tlv_pointer); in qmi_decode()
624 decoded_bytes, tlv_len); in qmi_decode()
632 tlv_len = in_buf_len - decoded_bytes; in qmi_decode()
650 tlv_len -= data_len_sz; in qmi_decode()
679 data_len_value, tlv_len, in qmi_decode()
688 tlv_len, dec_level); in qmi_decode()