Lines Matching refs:hex
20 #include <linux/hex.h>
253 * seq_buf_putmem_hex - write raw memory into the buffer in ASCII hex
255 * @mem: The raw memory to write its hex ASCII representation of
260 * in hex characters.
267 unsigned char hex[HEX_CHARS];
283 hex[j++] = hex_asc_hi(data[i]);
284 hex[j++] = hex_asc_lo(data[i]);
290 hex[j++] = ' ';
292 seq_buf_putmem(s, hex, j);
379 * seq_buf_hex_dump - print formatted hex dump into the sequence buffer
389 * @ascii: include ASCII after the hex output
396 * 2 - spaces separating hex dump and ASCII representation