Lines Matching full:encoded

68  * skip_to_next_elem() - Skip to next element in the structure to be encoded
77 * Return: struct info of the next element that can be encoded.
153 * @buf_dst: Buffer to store the encoded information.
154 * @buf_src: Buffer containing the elements to be encoded.
155 * @elem_len: Number of elements, in the buf_src, to be encoded.
156 * @elem_size: Size of a single instance of the element to be encoded.
160 * encoded information in the destination buffer "buf_dst". The elements are
162 * function returns the number of bytes of encoded information.
164 * Return: The number of bytes of encoded information.
182 * @buf_dst: Buffer to store the encoded information.
183 * @buf_src: Buffer containing the elements to be encoded.
184 * @elem_len: Number of elements, in the buf_src, to be encoded.
190 * stores the encoded information in the destination buffer "buf_dst". The
192 * function returns the number of bytes of encoded information.
194 * Return: The number of bytes of encoded information on success or negative
223 * @buf_dst: Buffer to store the encoded information.
224 * @buf_src: Buffer containing the elements to be encoded.
229 * bytes from the source buffer "buf_src" and stores the encoded information in
231 * of encoded information.
233 * Return: The number of bytes of encoded information on success or negative
250 pr_err("%s: String to be encoded is longer - %d > %d\n", in qmi_encode_string_elem()
282 * @ei_array: Struct info array describing the structure to be encoded.
283 * @out_buf: Buffer to hold the encoded QMI message.
284 * @in_c_struct: Pointer to the C structure to be encoded.
287 * within the main structure, being encoded.
289 * Return: The number of bytes of encoded information on success or negative
458 * @tlv_len: Total size of the encoded inforation corresponding to
505 * @tlv_len: Total size of the encoded inforation corresponding to
560 * Every element that got encoded in the QMI message will have a type
705 * qmi_encode_message() - Encode C structure as QMI encoded message
713 * Return: Buffer with encoded message, or negative ERR_PTR() on error
760 * qmi_decode_message() - Decode QMI encoded message to C structure
761 * @buf: Buffer with encoded message