Lines Matching +full:- +full:- +full:prefix

1 // SPDX-License-Identifier: GPL-2.0+
23 * hex_dump_to_buffer - convert a blob of data to "hex ASCII" in memory
37 * The converted output is always NUL-terminated.
40 * hex_dump_to_buffer(frame->data, frame->len, 16, 1,
85 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()
88 if (ret >= linebuflen - lx) in hex_dump_to_buffer()
96 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()
99 if (ret >= linebuflen - lx) in hex_dump_to_buffer()
107 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()
110 if (ret >= linebuflen - lx) in hex_dump_to_buffer()
128 lx--; in hex_dump_to_buffer()
150 return ascii ? ascii_column + len : (groupsize * 2 + 1) * ngroups - 1; in hex_dump_to_buffer()
154 * print_hex_dump - print a text hex dump to syslog for a binary blob of data
155 * @prefix_str: string to prefix each line with;
157 * @prefix_type: controls whether prefix of an offset, address, or none
166 * to the stdio, with an optional leading prefix.
174 * print_hex_dump("raw data: ", DUMP_PREFIX_ADDRESS, 16, 1, frame->data,
175 * frame->len, true);
177 * Example output using %DUMP_PREFIX_OFFSET and 1-byte mode:
179 * Example output using %DUMP_PREFIX_ADDRESS and 4-byte mode:
194 remaining -= rowsize; in print_hex_dump()
214 * print_hex_dump_bytes - shorthand form of print_hex_dump() with default params
215 * @prefix_str: string to prefix each line with;
217 * @prefix_type: controls whether prefix of an offset, address, or none
232 * Some code in U-Boot copy-pasted from Linux kernel uses both