/openbmc/u-boot/lib/ |
H A D | hexdump.c | 62 if (rowsize != 16 && rowsize != 32) in hex_dump_to_buffer() 63 rowsize = 16; in hex_dump_to_buffer() 65 if (len > rowsize) /* limit to one line at a time */ in hex_dump_to_buffer() 66 len = rowsize; in hex_dump_to_buffer() 73 ascii_column = rowsize * 2 + rowsize / groupsize + 1; in hex_dump_to_buffer() 189 if (rowsize != 16 && rowsize != 32) in print_hex_dump() 190 rowsize = 16; in print_hex_dump() 192 for (i = 0; i < len; i += rowsize) { in print_hex_dump() 193 linelen = min(remaining, rowsize); in print_hex_dump() 194 remaining -= rowsize; in print_hex_dump() [all …]
|
/openbmc/linux/lib/ |
H A D | test_hexdump.c | 74 int gs = groupsize, rs = rowsize; in test_hexdump_prepare_test() 154 test_hexdump(len, rowsize, 4, ascii); in test_hexdump_set() 155 test_hexdump(len, rowsize, 2, ascii); in test_hexdump_set() 156 test_hexdump(len, rowsize, 8, ascii); in test_hexdump_set() 157 test_hexdump(len, rowsize, 1, ascii); in test_hexdump_set() 161 int rowsize, int groupsize, in test_hexdump_overflow() argument 166 int rs = rowsize, gs = groupsize; in test_hexdump_overflow() 224 int rowsize; in test_hexdump_init() local 226 rowsize = get_random_u32_inclusive(1, 2) * 16; in test_hexdump_init() 228 test_hexdump_set(rowsize, false); in test_hexdump_init() [all …]
|
H A D | hexdump.c | 137 if (rowsize != 16 && rowsize != 32) in hex_dump_to_buffer() 138 rowsize = 16; in hex_dump_to_buffer() 140 if (len > rowsize) /* limit to one line at a time */ in hex_dump_to_buffer() 141 len = rowsize; in hex_dump_to_buffer() 148 ascii_column = rowsize * 2 + rowsize / groupsize + 1; in hex_dump_to_buffer() 262 int rowsize, int groupsize, in print_hex_dump() argument 269 if (rowsize != 16 && rowsize != 32) in print_hex_dump() 270 rowsize = 16; in print_hex_dump() 272 for (i = 0; i < len; i += rowsize) { in print_hex_dump() 273 linelen = min(remaining, rowsize); in print_hex_dump() [all …]
|
H A D | seq_buf.c | 394 int rowsize, int groupsize, argument 402 if (rowsize != 16 && rowsize != 32) 403 rowsize = 16; 405 for (i = 0; i < len; i += rowsize) { 406 linelen = min(remaining, rowsize); 407 remaining -= rowsize; 409 hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize,
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_osdep.h | 42 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument 44 DUMP_PREFIX_OFFSET, rowsize, \ 54 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument 59 rowsize, groupsize, buf, \ 63 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument
|
/openbmc/linux/tools/testing/selftests/tdx/ |
H A D | tdx_guest_test.c | 115 int i, j, line_len, rowsize = HEX_DUMP_SIZE; in print_array_hex() local 120 for (j = 0; j < len; j += rowsize) { in print_array_hex() 121 line_len = rowsize < (len - j) ? rowsize : (len - j); in print_array_hex()
|
/openbmc/linux/include/linux/ |
H A D | printk.h | 709 extern int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, 714 int prefix_type, int rowsize, int groupsize, 718 int prefix_type, int rowsize, int groupsize, in print_hex_dump() argument 731 #define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \ argument 733 dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ 736 #define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \ argument 738 print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, rowsize, \ 742 int rowsize, int groupsize, in print_hex_dump_debug() argument
|
H A D | dynamic_debug.h | 284 #define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ argument 289 rowsize, groupsize, buf, len, ascii) 311 #define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ argument 315 rowsize, groupsize, buf, len, ascii); \
|
H A D | trace_seq.h | 96 int prefix_type, int rowsize, int groupsize,
|
H A D | seq_buf.h | 154 int prefix_type, int rowsize, int groupsize,
|
H A D | seq_file.h | 156 int rowsize, int groupsize, const void *buf, size_t len,
|
H A D | trace_events.h | 51 int prefix_type, int rowsize, int groupsize,
|
/openbmc/u-boot/include/ |
H A D | hexdump.h | 84 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, 86 void print_hex_dump(const char *prefix_str, int prefix_type, int rowsize,
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | error.c | 17 int rowsize, int groupsize, struct scatterlist *sg, in caam_dump_sg() argument 38 print_hex_dump_debug(prefix_str, prefix_type, rowsize, in caam_dump_sg() 47 int rowsize, int groupsize, struct scatterlist *sg, in caam_dump_sg() argument
|
H A D | error.h | 21 int rowsize, int groupsize, struct scatterlist *sg,
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_selftest.c | 433 const size_t rowsize = 8 * sizeof(u32); in igt_hexdump() local 438 for (pos = 0; pos < len; pos += rowsize) { in igt_hexdump() 441 if (prev && !memcmp(prev, buf + pos, rowsize)) { in igt_hexdump() 450 rowsize, sizeof(u32), in igt_hexdump()
|
/openbmc/linux/fs/ |
H A D | seq_file.c | 865 int rowsize, int groupsize, const void *buf, size_t len, in seq_hex_dump() argument 874 if (rowsize != 16 && rowsize != 32) in seq_hex_dump() 875 rowsize = 16; in seq_hex_dump() 877 for (i = 0; i < len && !seq_has_overflowed(m); i += rowsize) { in seq_hex_dump() 878 linelen = min(remaining, rowsize); in seq_hex_dump() 879 remaining -= rowsize; in seq_hex_dump() 894 ret = hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, in seq_hex_dump()
|
/openbmc/linux/include/trace/stages/ |
H A D | stage3_trace_output.h | 124 rowsize, groupsize, buf, len, ascii) \ argument 126 rowsize, groupsize, buf, len, ascii)
|
/openbmc/linux/kernel/trace/ |
H A D | trace_seq.c | 379 int prefix_type, int rowsize, int groupsize, in trace_seq_hex_dump() argument 395 prefix_type, rowsize, groupsize, in trace_seq_hex_dump()
|
H A D | trace_output.c | 282 int prefix_type, int rowsize, int groupsize, in trace_print_hex_dump_seq() argument 289 rowsize, groupsize, buf, len, ascii); in trace_print_hex_dump_seq()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramnv50.c | 508 u64 rowsize, predicted; in nv50_fb_vram_rblock() local 522 rowsize = ram->parts * banks * (1 << colbits) * 8; in nv50_fb_vram_rblock() 523 predicted = rowsize << rowbitsa; in nv50_fb_vram_rblock() 525 predicted += rowsize << rowbitsb; in nv50_fb_vram_rblock() 532 rblock_size = rowsize; in nv50_fb_vram_rblock()
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wil6210.h | 1161 #define wil_hex_dump_txrx(prefix_str, prefix_type, rowsize, \ argument 1164 prefix_type, rowsize, \ 1167 #define wil_hex_dump_wmi(prefix_str, prefix_type, rowsize, \ argument 1170 prefix_type, rowsize, \ 1173 #define wil_hex_dump_misc(prefix_str, prefix_type, rowsize, \ argument 1176 prefix_type, rowsize, \ 1180 void wil_hex_dump_txrx(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_txrx() argument 1186 void wil_hex_dump_wmi(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_wmi() argument 1192 void wil_hex_dump_misc(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_misc() argument
|
H A D | fw_inc.c | 13 #define wil_hex_dump_fw(prefix_str, prefix_type, rowsize, \ argument 16 prefix_type, rowsize, \
|
/openbmc/linux/mm/ |
H A D | kmemleak.c | 278 int rowsize, int groupsize, const void *buf, in warn_or_seq_hex_dump() argument 282 seq_hex_dump(seq, HEX_PREFIX, prefix_type, rowsize, groupsize, in warn_or_seq_hex_dump() 286 rowsize, groupsize, buf, len, ascii); in warn_or_seq_hex_dump()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_engine_cs.c | 2035 const size_t rowsize = 8 * sizeof(u32); in hexdump() local 2040 for (pos = 0; pos < len; pos += rowsize) { in hexdump() 2043 if (prev && !memcmp(prev, buf + pos, rowsize)) { in hexdump() 2052 rowsize, sizeof(u32), in hexdump()
|