Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 25 of 201) sorted by relevance

123456789

/linux-6.6.21/tools/lib/api/
Dio.h95 static inline int io__get_hex(struct io *io, __u64 *hex) in io__get_hex() argument
99 *hex = 0; in io__get_hex()
106 *hex = (*hex << 4) | (ch - '0'); in io__get_hex()
108 *hex = (*hex << 4) | (ch - 'a' + 10); in io__get_hex()
110 *hex = (*hex << 4) | (ch - 'A' + 10); in io__get_hex()
/linux-6.6.21/tools/firmware/
Dihex2fw.c46 static uint8_t hex(const uint8_t *data, uint8_t *crc) in hex() function
157 len = hex(data + i, &crc); i += 2; in process_ihex()
160 len += hex(data + i, &crc); i += 2; in process_ihex()
178 record->addr = hex(data + i, &crc) << 8; i += 2; in process_ihex()
179 record->addr |= hex(data + i, &crc); i += 2; in process_ihex()
180 type = hex(data + i, &crc); i += 2; in process_ihex()
183 record->data[j] = hex(data + i, &crc); in process_ihex()
186 crcbyte = hex(data + i, &crc); i += 2; in process_ihex()
/linux-6.6.21/tools/perf/tests/
Dapi-io.c140 __u64 hex; in do_test_get_hex() local
145 ch = io__get_hex(&io, &hex); in do_test_get_hex()
146 EXPECT_EQUAL64(hex, val1); in do_test_get_hex()
149 ch = io__get_hex(&io, &hex); in do_test_get_hex()
150 EXPECT_EQUAL64(hex, val2); in do_test_get_hex()
153 ch = io__get_hex(&io, &hex); in do_test_get_hex()
154 EXPECT_EQUAL64(hex, val3); in do_test_get_hex()
/linux-6.6.21/arch/m68k/ifpsp060/
DREADME32 fpsp.sa Full FP Kernel Module - hex image
36 pfpsp.sa Partial FP Kernel Module - hex image
39 fplsp.sa FP Library Module - hex image
43 isp.sa Integer Unimplemented Kernel Module - hex image
47 ilsp.sa Integer Unimplemented Library Module - hex image
58 was connected properly; hex image
62 connected properly; hex image
/linux-6.6.21/Documentation/misc-devices/
Dspear-pcie-gadget.rst44 vendor_id returns programmed vendor id (hex)
45 device_id returns programmed device id(hex)
46 bar0_size: returns size of bar0 in hex.
47 bar0_address returns address of bar0 mapped area in hex.
63 vendor_id write vendor id(hex) to be programmed.
64 device_id write device id(hex) to be programmed.
65 bar0_size write size of bar0 in hex. default bar0 size is 1000 (hex)
67 bar0_address write address of bar0 mapped area in hex. (default mapping of
/linux-6.6.21/arch/arm/
DKconfig-nommu14 hex '(S)DRAM Base Address' if SET_MEM_PARAM
18 hex '(S)DRAM SIZE' if SET_MEM_PARAM
22 hex 'FLASH Base Address' if SET_MEM_PARAM
27 hex 'FLASH Size' if SET_MEM_PARAM
32 hex 'Hard wire the processor ID'
/linux-6.6.21/Documentation/ABI/testing/
Dconfigfs-usb-gadget-rndis16 class USB interface class, default is 02 (hex)
17 subclass USB interface subclass, default is 06 (hex)
18 protocol USB interface protocol, default is 00 (hex)
Dconfigfs-spear-pcie-gadget26 vendor_id used to write and read vendor id (hex)
27 device_id used to write and read device id (hex)
29 bar0_address used to write and read bar0 mapped area in hex.
Dsysfs-kernel-vmcoreinfo9 First value contains physical address of note in hex and
10 second value contains the size of note in hex. This ELF
Ddebugfs-olpc11 CC is the (hex) command, N is the count of expected reply bytes, and A A A A
12 are optional (hex) arguments.
/linux-6.6.21/drivers/net/ethernet/microchip/vcap/
Dvcap_api_debugfs.c28 bool hex = false; in vcap_debugfs_show_rule_keyfield() local
49 hex = true; in vcap_debugfs_show_rule_keyfield()
66 hex = true; in vcap_debugfs_show_rule_keyfield()
71 hex = true; in vcap_debugfs_show_rule_keyfield()
76 hex = true; in vcap_debugfs_show_rule_keyfield()
81 hex = true; in vcap_debugfs_show_rule_keyfield()
86 hex = true; in vcap_debugfs_show_rule_keyfield()
100 hex = true; in vcap_debugfs_show_rule_keyfield()
104 if (hex) { in vcap_debugfs_show_rule_keyfield()
123 bool hex = false; in vcap_debugfs_show_rule_actionfield() local
[all …]
/linux-6.6.21/drivers/bus/
Dmoxtet.c468 u8 hex[sizeof(bin) * 2 + 1]; in input_read() local
476 bin2hex(hex, bin, n); in input_read()
478 hex[2*n] = '\n'; in input_read()
480 return simple_read_from_buffer(buf, len, ppos, hex, 2*n + 1); in input_read()
494 u8 hex[TURRIS_MOX_MAX_MODULES * 2 + 1]; in output_read() local
495 u8 *p = hex; in output_read()
507 return simple_read_from_buffer(buf, len, ppos, hex, p - hex); in output_read()
515 u8 hex[sizeof(bin) * 2 + 1]; in output_write() local
523 res = simple_write_to_buffer(hex, sizeof(hex), &dummy, buf, len); in output_write()
527 if (len % 2 == 1 && hex[len - 1] != '\n') in output_write()
[all …]
/linux-6.6.21/lib/
Dseq_buf.c257 unsigned char hex[HEX_CHARS]; local
273 hex[j++] = hex_asc_hi(data[i]);
274 hex[j++] = hex_asc_lo(data[i]);
280 hex[j++] = ' ';
282 seq_buf_putmem(s, hex, j);
/linux-6.6.21/tools/testing/selftests/ftrace/test.d/ftrace/
Dfgraph-retval.tc31 echo 0 > options/funcgraph-retval-hex
38 echo 1 > options/funcgraph-retval-hex
/linux-6.6.21/drivers/usb/serial/
DMakefile-keyspan_pda_fw12 %.hex: %.asm
16 %_fw.h: %.hex ezusb_convert.pl
/linux-6.6.21/Documentation/devicetree/bindings/leds/
Dleds-el15203000.txt9 Vending area LED encoded with symbol 'V' (hex code 0x56).
13 encoded with symbol 'S' (hex code 0x53). Supports blinking breathing pattern.
15 Water Pipe LED encoded with symbol 'P' (hex code 0x50) and
/linux-6.6.21/tools/perf/util/
Ddemangle-ocaml.c58 result[j++] = (hex(sym[i + 1]) << 4) | hex(sym[i + 2]); in ocaml_demangle_sym()
/linux-6.6.21/Documentation/usb/
Dmisc_usbsevseg.rst26 The device can accept "text" either in raw, hex, or ascii textmode.
28 hex expects a value between 0-15 per character,
44 echo -ne "\x01\x02\x03" > /sys/bus/usb/.../text (hex)
/linux-6.6.21/Documentation/ABI/stable/
Dsysfs-firmware-opal-dump16 id 0xYYYY (in hex). The name of this
29 in hex (e.g. '0x01')
32 in hex and a description of the dump type
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dxdp_synproxy.c23 static const char *hex = "0123456789ABCDEF"; in escape_str() local
32 *out++ = hex[(in[i] >> 4) & 0xf]; in escape_str()
33 *out++ = hex[in[i] & 0xf]; in escape_str()
/linux-6.6.21/arch/nios2/platform/
DKconfig.platform7 hex "Memory base address"
32 hex "DTB Address"
128 hex "D-Cache size" if CUSTOM_CACHE_SETTINGS
135 hex "D-Cache line size" if CUSTOM_CACHE_SETTINGS
142 hex "I-Cache size" if CUSTOM_CACHE_SETTINGS
/linux-6.6.21/drivers/isdn/capi/
Dcapiutil.c426 unsigned hex = 0; in printstructlen() local
432 if (hex) in printstructlen()
435 hex = 0; in printstructlen()
437 if (!hex) in printstructlen()
441 hex = 1; in printstructlen()
443 if (hex) in printstructlen()
/linux-6.6.21/drivers/mfd/
Djanz-cmodio.c49 u8 hex; member
157 return sysfs_emit(buf, "%x\n", priv->hex); in modulbus_number_show()
211 priv->hex = ioread8(&priv->ctrl->int_enable); in cmodio_pci_probe()
/linux-6.6.21/drivers/media/cec/usb/rainshadow/
Drainshadow-cec.c285 char hex[3]; in rain_cec_adap_transmit() local
290 snprintf(hex, sizeof(hex), "%02x", msg->msg[i]); in rain_cec_adap_transmit()
291 strlcat(cmd, hex, sizeof(cmd)); in rain_cec_adap_transmit()
/linux-6.6.21/scripts/
Dleaking_addresses.pl340 my $hex = hex($match);
344 return ($hex >= $region_min and $hex <= $region_max);

123456789