Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dhexdump.c109 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer() argument
124 if (!is_power_of_2(groupsize) || groupsize > 8) in hex_dump_to_buffer()
125 groupsize = 1; in hex_dump_to_buffer()
126 if ((len % groupsize) != 0) /* no mixed size output */ in hex_dump_to_buffer()
127 groupsize = 1; in hex_dump_to_buffer()
129 ngroups = len / groupsize; in hex_dump_to_buffer()
130 ascii_column = rowsize * 2 + rowsize / groupsize + 1; in hex_dump_to_buffer()
138 if (groupsize == 8) { in hex_dump_to_buffer()
149 } else if (groupsize == 4) { in hex_dump_to_buffer()
160 } 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-v4.19/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-v4.19/include/linux/
Dprintk.h489 int groupsize, char *linebuf, size_t linebuflen,
493 int prefix_type, int rowsize, int groupsize,
504 int prefix_type, int rowsize, int groupsize, in print_hex_dump() argument
517 groupsize, buf, len, ascii) \ argument
519 groupsize, buf, len, ascii)
522 groupsize, buf, len, ascii) \ argument
524 groupsize, buf, len, ascii)
527 int rowsize, int groupsize, in print_hex_dump_debug() argument
Ddynamic_debug.h148 groupsize, buf, len, ascii) \ argument
154 prefix_type, rowsize, groupsize, \
Dseq_file.h132 int rowsize, int groupsize, const void *buf, size_t len,
/Linux-v4.19/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.h14 int rowsize, int groupsize, struct scatterlist *sg,
/Linux-v4.19/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-v4.19/drivers/net/wireless/ath/wil6210/
Dwil6210.h1112 groupsize, buf, len, ascii) \ argument
1115 groupsize, buf, len, ascii)
1118 groupsize, buf, len, ascii) \ argument
1121 groupsize, buf, len, ascii)
1124 groupsize, buf, len, ascii) \ argument
1127 groupsize, buf, len, ascii)
1131 int groupsize, const void *buf, size_t len, bool ascii) in wil_hex_dump_txrx() argument
1137 int groupsize, const void *buf, size_t len, bool ascii) in wil_hex_dump_wmi() argument
1143 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-v4.19/drivers/mtd/chips/
Dcfi_cmdset_0001.c2218 u_long prot_offset, u_int groupno, u_int groupsize);
2305 u_int groups, groupno, groupsize, reg_fact_groups, reg_user_groups; in cfi_intelext_otp_walk() local
2352 groupsize = reg_user_size; in cfi_intelext_otp_walk()
2358 groupsize = reg_fact_size; in cfi_intelext_otp_walk()
2382 otpinfo->length = groupsize; in cfi_intelext_otp_walk()
2386 from += groupsize; in cfi_intelext_otp_walk()
2389 } else if (from >= groupsize) { in cfi_intelext_otp_walk()
2390 from -= groupsize; in cfi_intelext_otp_walk()
2391 data_offset += groupsize; in cfi_intelext_otp_walk()
2393 int size = groupsize; in cfi_intelext_otp_walk()
[all …]
/Linux-v4.19/drivers/staging/fbtft/
Dfbtft.h242 void fbtft_dbg_hex(const struct device *dev, int groupsize,
Dfbtft-core.c52 void fbtft_dbg_hex(const struct device *dev, int groupsize, in fbtft_dbg_hex() argument
64 hex_dump_to_buffer(buf, len, 32, groupsize, text + text_len, in fbtft_dbg_hex()
/Linux-v4.19/fs/
Dseq_file.c846 int rowsize, int groupsize, const void *buf, size_t len, in seq_hex_dump() argument
875 ret = hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, in seq_hex_dump()