Home
last modified time | relevance | path

Searched refs:groupsize (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/lib/
Dhexdump.c105 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer() argument
120 if (!is_power_of_2(groupsize) || groupsize > 8) in hex_dump_to_buffer()
121 groupsize = 1; in hex_dump_to_buffer()
122 if ((len % groupsize) != 0) /* no mixed size output */ in hex_dump_to_buffer()
123 groupsize = 1; in hex_dump_to_buffer()
125 ngroups = len / groupsize; in hex_dump_to_buffer()
126 ascii_column = rowsize * 2 + rowsize / groupsize + 1; in hex_dump_to_buffer()
134 if (groupsize == 8) { in hex_dump_to_buffer()
145 } else if (groupsize == 4) { in hex_dump_to_buffer()
156 } else if (groupsize == 2) { in hex_dump_to_buffer()
[all …]
Dtest_hexdump.c68 int groupsize, char *test, 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()
161 int rowsize, int groupsize, in test_hexdump_overflow() argument
166 int rs = rowsize, gs = groupsize; in test_hexdump_overflow()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_osdep.h34 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument
37 groupsize, buf, len, false)
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.h485 int groupsize, char *linebuf, size_t linebuflen,
489 int prefix_type, int rowsize, int groupsize,
493 int prefix_type, int rowsize, int groupsize, in print_hex_dump() argument
506 groupsize, buf, len, ascii) \ argument
508 groupsize, buf, len, ascii)
511 groupsize, buf, len, ascii) \ argument
513 groupsize, buf, len, ascii)
516 int rowsize, int groupsize, in print_hex_dump_debug() argument
Ddynamic_debug.h169 groupsize, buf, len, ascii) \ argument
173 rowsize, groupsize, buf, len, ascii)
208 groupsize, buf, len, ascii) \ 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
39 groupsize, buf, len, ascii); 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/drivers/firmware/efi/
Dcper-x86.c328 int groupsize = 4; in cper_print_proc_ia() local
340 groupsize = 8; /* MSRs are 8 bytes wide. */ in cper_print_proc_ia()
351 print_hex_dump(newpfx, "", DUMP_PREFIX_OFFSET, 16, groupsize, in cper_print_proc_ia()
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dwil6210.h1169 groupsize, buf, len, ascii) \ argument
1172 groupsize, buf, len, ascii)
1175 groupsize, buf, len, ascii) \ argument
1178 groupsize, buf, len, ascii)
1181 groupsize, buf, len, ascii) \ argument
1184 groupsize, buf, len, ascii)
1188 int groupsize, const void *buf, size_t len, bool ascii) in wil_hex_dump_txrx() argument
1194 int groupsize, const void *buf, size_t len, bool ascii) in wil_hex_dump_wmi() argument
1200 int groupsize, const void *buf, size_t len, bool ascii) in wil_hex_dump_misc() argument
Dfw_inc.c25 groupsize, buf, len, ascii) \ argument
28 groupsize, buf, len, ascii)
/Linux-v5.4/drivers/mtd/chips/
Dcfi_cmdset_0001.c2219 u_long prot_offset, u_int groupno, u_int groupsize);
2306 u_int groups, groupno, groupsize, reg_fact_groups, reg_user_groups; in cfi_intelext_otp_walk() local
2353 groupsize = reg_user_size; in cfi_intelext_otp_walk()
2359 groupsize = reg_fact_size; in cfi_intelext_otp_walk()
2383 otpinfo->length = groupsize; in cfi_intelext_otp_walk()
2387 from += groupsize; in cfi_intelext_otp_walk()
2390 } else if (from >= groupsize) { in cfi_intelext_otp_walk()
2391 from -= groupsize; in cfi_intelext_otp_walk()
2392 data_offset += groupsize; in cfi_intelext_otp_walk()
2394 int size = groupsize; in cfi_intelext_otp_walk()
[all …]
/Linux-v5.4/drivers/staging/fbtft/
Dfbtft.h242 void fbtft_dbg_hex(const struct device *dev, int groupsize,
Dfbtft-core.c51 void fbtft_dbg_hex(const struct device *dev, int groupsize, in fbtft_dbg_hex() argument
63 hex_dump_to_buffer(buf, len, 32, groupsize, text + text_len, in fbtft_dbg_hex()
/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()
/Linux-v5.4/fs/
Dseq_file.c858 int rowsize, int groupsize, const void *buf, size_t len, in seq_hex_dump() argument
887 ret = hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, in seq_hex_dump()