Home
last modified time | relevance | path

Searched refs:rowsize (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/lib/
Dtest_hexdump.c67 static void __init test_hexdump_prepare_test(size_t len, int rowsize, in test_hexdump_prepare_test() argument
74 int gs = groupsize, rs = rowsize; in test_hexdump_prepare_test()
125 static void __init test_hexdump(size_t len, int rowsize, int groupsize, in test_hexdump() argument
134 hex_dump_to_buffer(data_b, len, rowsize, groupsize, real, sizeof(real), in test_hexdump()
138 test_hexdump_prepare_test(len, rowsize, groupsize, test, sizeof(test), in test_hexdump()
142 pr_err("Len: %zu row: %d group: %d\n", len, rowsize, groupsize); in test_hexdump()
149 static void __init test_hexdump_set(int rowsize, bool ascii) in test_hexdump_set() argument
151 size_t d = min_t(size_t, sizeof(data_b), rowsize); in test_hexdump_set()
154 test_hexdump(len, rowsize, 4, ascii); in test_hexdump_set()
155 test_hexdump(len, rowsize, 2, ascii); in test_hexdump_set()
[all …]
Dhexdump.c105 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer() argument
115 if (rowsize != 16 && rowsize != 32) in hex_dump_to_buffer()
116 rowsize = 16; in hex_dump_to_buffer()
118 if (len > rowsize) /* limit to one line at a time */ in hex_dump_to_buffer()
119 len = rowsize; in hex_dump_to_buffer()
126 ascii_column = rowsize * 2 + rowsize / groupsize + 1; in hex_dump_to_buffer()
240 int rowsize, int groupsize, in print_hex_dump() argument
247 if (rowsize != 16 && rowsize != 32) in print_hex_dump()
248 rowsize = 16; in print_hex_dump()
250 for (i = 0; i < len; i += rowsize) { in print_hex_dump()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_osdep.h34 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument
36 DUMP_PREFIX_OFFSET, rowsize, \
46 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument
51 rowsize, groupsize, buf, \
55 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument
/Linux-v5.4/include/linux/
Dprintk.h484 extern int hex_dump_to_buffer(const void *buf, size_t len, int rowsize,
489 int prefix_type, int rowsize, int groupsize,
493 int prefix_type, int rowsize, int groupsize, in print_hex_dump() argument
505 #define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \ argument
507 dynamic_hex_dump(prefix_str, prefix_type, rowsize, \
510 #define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \ argument
512 print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, rowsize, \
516 int rowsize, int groupsize, in print_hex_dump_debug() argument
Ddynamic_debug.h168 #define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ argument
173 rowsize, groupsize, buf, len, ascii)
207 #define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ argument
211 rowsize, groupsize, buf, len, ascii); \
Dseq_file.h133 int rowsize, int groupsize, const void *buf, size_t len,
/Linux-v5.4/drivers/crypto/caam/
Derror.c17 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
Derror.h21 int rowsize, int groupsize, struct scatterlist *sg,
/Linux-v5.4/fs/
Dseq_file.c858 int rowsize, int groupsize, const void *buf, size_t len, in seq_hex_dump() argument
867 if (rowsize != 16 && rowsize != 32) in seq_hex_dump()
868 rowsize = 16; in seq_hex_dump()
870 for (i = 0; i < len && !seq_has_overflowed(m); i += rowsize) { in seq_hex_dump()
871 linelen = min(remaining, rowsize); in seq_hex_dump()
872 remaining -= rowsize; in seq_hex_dump()
887 ret = hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, in seq_hex_dump()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv50.c509 u64 rowsize, predicted; in nv50_fb_vram_rblock() local
523 rowsize = ram->parts * banks * (1 << colbits) * 8; in nv50_fb_vram_rblock()
524 predicted = rowsize << rowbitsa; in nv50_fb_vram_rblock()
526 predicted += rowsize << rowbitsb; in nv50_fb_vram_rblock()
533 rblock_size = rowsize; in nv50_fb_vram_rblock()
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dwil6210.h1168 #define wil_hex_dump_txrx(prefix_str, prefix_type, rowsize, \ argument
1171 prefix_type, rowsize, \
1174 #define wil_hex_dump_wmi(prefix_str, prefix_type, rowsize, \ argument
1177 prefix_type, rowsize, \
1180 #define wil_hex_dump_misc(prefix_str, prefix_type, rowsize, \ argument
1183 prefix_type, rowsize, \
1187 void wil_hex_dump_txrx(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_txrx() argument
1193 void wil_hex_dump_wmi(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_wmi() argument
1199 void wil_hex_dump_misc(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_misc() argument
Dfw_inc.c24 #define wil_hex_dump_fw(prefix_str, prefix_type, rowsize, \ argument
27 prefix_type, rowsize, \
/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_engine_cs.c1169 const size_t rowsize = 8 * sizeof(u32); in hexdump() local
1174 for (pos = 0; pos < len; pos += rowsize) { in hexdump()
1177 if (prev && !memcmp(prev, buf + pos, rowsize)) { in hexdump()
1186 rowsize, sizeof(u32), in hexdump()
/Linux-v5.4/mm/
Dkmemleak.c263 int rowsize, int groupsize, const void *buf, in warn_or_seq_hex_dump() argument
267 seq_hex_dump(seq, HEX_PREFIX, prefix_type, rowsize, groupsize, in warn_or_seq_hex_dump()
271 rowsize, groupsize, buf, len, ascii); in warn_or_seq_hex_dump()