Home
last modified time | relevance | path

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

/external/u-boot/lib/
Dhexdump.c52 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer() argument
67 if (!is_power_of_2(groupsize) || groupsize > 8) in hex_dump_to_buffer()
68 groupsize = 1; in hex_dump_to_buffer()
69 if ((len % groupsize) != 0) /* no mixed size output */ in hex_dump_to_buffer()
70 groupsize = 1; in hex_dump_to_buffer()
72 ngroups = len / groupsize; in hex_dump_to_buffer()
73 ascii_column = rowsize * 2 + rowsize / groupsize + 1; in hex_dump_to_buffer()
81 if (groupsize == 8) { in hex_dump_to_buffer()
92 } else if (groupsize == 4) { in hex_dump_to_buffer()
103 } else if (groupsize == 2) { in hex_dump_to_buffer()
[all …]
/external/u-boot/include/
Dhexdump.h84 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize,
87 int groupsize, const void *buf, size_t len, bool ascii);
/external/u-boot/drivers/gpio/
Dsunxi_gpio.c100 int groupsize = 9 * 32; in sunxi_name_to_gpio() local
108 groupsize = 32; in sunxi_name_to_gpio()
115 if (pin < 0 || pin > groupsize || group >= 9) in sunxi_name_to_gpio()