Lines Matching full:elements
72 * This function is used while encoding optional elements. If the flag
114 /* Optional elements do not count in minimum length */ in qmi_calc_min_msg_len()
141 * Type & Length info. not prepended for elements in the in qmi_calc_min_msg_len()
152 * qmi_encode_basic_elem() - Encodes elements of basic/primary data type
154 * @buf_src: Buffer containing the elements to be encoded.
155 * @elem_len: Number of elements, in the buf_src, to be encoded.
158 * This function encodes the "elem_len" number of data elements, each of
160 * encoded information in the destination buffer "buf_dst". The elements are
180 * qmi_encode_struct_elem() - Encodes elements of struct data type
183 * @buf_src: Buffer containing the elements to be encoded.
184 * @elem_len: Number of elements, in the buf_src, to be encoded.
188 * This function encodes the "elem_len" number of struct elements, each of
191 * elements are of struct data type which includes any C structure. This
221 * qmi_encode_string_elem() - Encodes elements of string data type
224 * @buf_src: Buffer containing the elements to be encoded.
425 * qmi_decode_basic_elem() - Decodes elements of basic/primary data type
427 * @buf_src: Buffer containing the elements in QMI wire format.
428 * @elem_len: Number of elements to be decoded.
431 * This function decodes the "elem_len" number of elements in QMI wire format,
433 * the decoded elements in the destination buffer "buf_dst". The elements are
437 * Return: The total size of the decoded data elements, in bytes.
453 * qmi_decode_struct_elem() - Decodes elements of struct data type
456 * @buf_src: Buffer containing the elements in QMI wire format.
457 * @elem_len: Number of elements to be decoded.
462 * This function decodes the "elem_len" number of elements in QMI wire format,
464 * and stores the decoded elements in the destination buffer "buf_dst". The
465 * elements are of struct data type which includes any C structure. This
468 * Return: The total size of the decoded data elements on success, negative
501 * qmi_decode_string_elem() - Decodes elements of string data type
504 * @buf_src: Buffer containing the elements in QMI wire format.
514 * Return: The total size of the decoded data elements on success, negative
629 * No length information for elements in nested in qmi_decode()