/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/ |
H A D | fgraph-retval.tc | 4 # requires: options/funcgraph-retval options/funcgraph-retval-hex function_graph:tracer 31 echo 0 > options/funcgraph-retval-hex 38 echo 1 > options/funcgraph-retval-hex
|
/linux-master/tools/perf/util/ |
H A D | demangle-ocaml.c | 57 /* "$xx" is a hex-encoded character */ 58 result[j++] = (hex(sym[i + 1]) << 4) | hex(sym[i + 2]);
|
H A D | string2.h | 41 unsigned int hex(char c);
|
/linux-master/tools/lib/api/ |
H A D | io.h | 90 /* Read a hexadecimal value with no 0x prefix into the out argument hex. If the 95 static inline int io__get_hex(struct io *io, __u64 *hex) argument 99 *hex = 0; 106 *hex = (*hex << 4) | (ch - '0'); 108 *hex = (*hex << 4) | (ch - 'a' + 10); 110 *hex = (*hex << 4) | (ch - 'A' + 10);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_synproxy.c | 23 static const char *hex = "0123456789ABCDEF"; local 32 *out++ = hex[(in[i] >> 4) & 0xf]; 33 *out++ = hex[in[i] & 0xf];
|
/linux-master/lib/ |
H A D | net_utils.c | 6 #include <linux/hex.h>
|
H A D | seq_buf.c | 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]; local 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 dum [all...] |
/linux-master/tools/firmware/ |
H A D | ihex2fw.c | 36 * nybble/hex are little helpers to parse hexadecimal numbers to a byte value 46 static uint8_t hex(const uint8_t *data, uint8_t *crc) function 157 len = hex(data + i, &crc); i += 2; 160 len += hex(data + i, &crc); i += 2; 178 record->addr = hex(data + i, &crc) << 8; i += 2; 179 record->addr |= hex(data + i, &crc); i += 2; 180 type = hex(data + i, &crc); i += 2; 183 record->data[j] = hex(data + i, &crc); 186 crcbyte = hex(data + i, &crc); i += 2;
|
/linux-master/tools/perf/tests/ |
H A D | api-io.c | 140 __u64 hex; local 145 ch = io__get_hex(&io, &hex); 146 EXPECT_EQUAL64(hex, val1); 149 ch = io__get_hex(&io, &hex); 150 EXPECT_EQUAL64(hex, val2); 153 ch = io__get_hex(&io, &hex); 154 EXPECT_EQUAL64(hex, val3);
|
/linux-master/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_debugfs.c | 28 bool hex = false; local 49 hex = true; 66 hex = true; 71 hex = true; 76 hex = true; 81 hex = true; 86 hex = true; 100 hex = true; 104 if (hex) { 123 bool hex local [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | udbg.h | 24 void udbg_progress(char *s, unsigned short hex);
|
H A D | setup.h | 8 extern void ppc_printk_progress(char *s, unsigned short hex);
|
/linux-master/drivers/bus/ |
H A D | moxtet.c | 468 u8 hex[sizeof(bin) * 2 + 1]; local 476 bin2hex(hex, bin, n); 478 hex[2*n] = '\n'; 480 return simple_read_from_buffer(buf, len, ppos, hex, 2*n + 1); 494 u8 hex[TURRIS_MOX_MAX_MODULES * 2 + 1]; local 495 u8 *p = hex; 507 return simple_read_from_buffer(buf, len, ppos, hex, p - hex); 515 u8 hex[sizeof(bin) * 2 + 1]; local 523 res = simple_write_to_buffer(hex, sizeo [all...] |
/linux-master/drivers/media/cec/usb/rainshadow/ |
H A D | rainshadow-cec.c | 285 char hex[3]; local 290 snprintf(hex, sizeof(hex), "%02x", msg->msg[i]); 291 strlcat(cmd, hex, sizeof(cmd));
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | generate_udp_fragments.py | 47 chunks_fmted = [", ".join([str(hex(b)) for b in chunk]) for chunk in chunks]
|
/linux-master/drivers/mfd/ |
H A D | janz-cmodio.c | 48 /* hex switch position */ 49 u8 hex; member in struct:cmodio_device 157 return sysfs_emit(buf, "%x\n", priv->hex); 210 /* Read the hex switch on the carrier board */ 211 priv->hex = ioread8(&priv->ctrl->int_enable); 213 /* Add the MODULbus number (hex switch value) to the device's sysfs */
|
/linux-master/drivers/isdn/capi/ |
H A D | capiutil.c | 426 unsigned hex = 0; local 432 if (hex) 435 hex = 0; 437 if (!hex) 441 hex = 1; 443 if (hex)
|
/linux-master/tools/testing/selftests/kexec/ |
H A D | test_kexec_file_load.sh | 85 line=$(getfattr -n security.ima -e hex --absolute-names $KERNEL_IMAGE 2>&1)
|
/linux-master/arch/powerpc/kernel/ |
H A D | udbg.c | 136 void __init udbg_progress(char *s, unsigned short hex) argument
|
/linux-master/net/wireless/ |
H A D | Makefile | 28 $(obj)/shipped-certs.c: $(sort $(wildcard $(srctree)/$(src)/certs/*.hex))
|
/linux-master/tools/net/ynl/ |
H A D | cli.py | 15 return bytes.hex(obj)
|
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | setup.c | 249 static void __init ps3_progress(char *s, unsigned short hex) argument 251 printk("*** %04x : %s\n", hex, s ? s : "");
|
/linux-master/arch/parisc/boot/compressed/ |
H A D | misc.c | 156 const char hex[] = "0123456789abcdef"; local 162 str[i--] = hex[num % base];
|
/linux-master/arch/powerpc/platforms/maple/ |
H A D | setup.c | 269 static void __init maple_progress(char *s, unsigned short hex) argument 271 printk("*** %04x : %s\n", hex, s ? s : "");
|
/linux-master/arch/powerpc/platforms/cell/ |
H A D | setup.c | 75 static void cell_progress(char *s, unsigned short hex) argument 77 printk("*** %04x : %s\n", hex, s ? s : "");
|