Home
last modified time | relevance | path

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

123456789

/linux/tools/mm/
H A Dshow_page_info.py86 "Page Address": hex(page.value_()),
89 "Page PFN": hex(page_to_pfn(page).value_()),
90 "Page Physical": hex(page_to_phys(page).value_()),
91 "Page Virtual": hex(page_to_virt(page).value_()),
94 "Page Index": hex(page.__folio_index.value_()),
95 "Page Memcg Data": hex(page.memcg_data.value_()),
101 fields["Page Mapping"] = hex(page.mapping.value_())
106 fields["Page VMA"] = hex(vma.value_())
107 fields["VMA Start"] = hex(vma.vm_start.value_())
108 fields["VMA End"] = hex(vma.vm_end.value_())
/linux/tools/lib/api/
H A Dio.h102 static inline int io__get_hex(struct io *io, __u64 *hex) in io__get_hex() argument
106 *hex = 0; in io__get_hex()
113 *hex = (*hex << 4) | (ch - '0'); in io__get_hex()
115 *hex = (*hex << 4) | (ch - 'a' + 10); in io__get_hex()
117 *hex = (*hex << 4) | (ch - 'A' + 10); in io__get_hex()
/linux/drivers/target/
H A Dtarget_core_fabric_lib.c262 char hex[17] = {}; in sas_parse_pr_out_transport_id() local
264 bin2hex(hex, buf + 4, 8); in sas_parse_pr_out_transport_id()
265 snprintf(i_str, TRANSPORT_IQN_LEN, "naa.%s", hex); in sas_parse_pr_out_transport_id()
270 char hex[33] = {}; in srp_parse_pr_out_transport_id() local
272 bin2hex(hex, buf + 8, 16); in srp_parse_pr_out_transport_id()
273 snprintf(i_str, TRANSPORT_IQN_LEN, "0x%s", hex); in srp_parse_pr_out_transport_id()
283 char hex[17] = {}; in sbp_parse_pr_out_transport_id() local
285 bin2hex(hex, buf + 8, 8); in sbp_parse_pr_out_transport_id()
286 snprintf(i_str, TRANSPORT_IQN_LEN, "%s", hex); in sbp_parse_pr_out_transport_id()
/linux/tools/firmware/
H A 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/scripts/gdb/linux/
H A Dsymbols.py56 hex(vmcore_info))
66 utils.get_vmlinux(), hex(kaslr_offset_phys)))
68 return "KERNELOFFSET=" + hex(kaslr_offset)[2:]
73 return gdb.parse_and_eval("(char *)" + hex(desc_paddr)).string()
104 hex(svc_old_pswa)))
105 gdb.execute("tbreak *" + hex(jump_to_kernel))
188 module_addr = hex(int(module_addr, 0) + plt_offset + plt_size)
217 offset_arg = " -o " + hex(kerneloffset)
/linux/scripts/kconfig/tests/transitional/
H A DKconfig36 hex "New hex option"
40 hex
77 hex "New hex option with precedence"
81 hex
/linux/tools/perf/tests/
H A 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/arch/m68k/ifpsp060/
H A 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/Documentation/misc-devices/
H A 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/arch/arm/
H A 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/Documentation/ABI/testing/
H A 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)
H A 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.
H A 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
/linux/drivers/net/ethernet/microchip/vcap/
H A 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/drivers/bus/
H A 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()
493 u8 hex[TURRIS_MOX_MAX_MODULES * 2 + 1]; in output_read() local
494 u8 *p = hex; in output_read()
506 return simple_read_from_buffer(buf, len, ppos, hex, p - hex); in output_read()
514 u8 hex[sizeof(bin) * 2 + 1]; in output_write() local
522 res = simple_write_to_buffer(hex, sizeof(hex), &dummy, buf, len); in output_write()
526 if (len % 2 == 1 && hex[len - 1] != '\n') in output_write()
[all …]
/linux/lib/
H A Dseq_buf.c267 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);
/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfgraph-retval.tc31 echo 0 > options/funcgraph-retval-hex
38 echo 1 > options/funcgraph-retval-hex
/linux/Documentation/devicetree/bindings/leds/
H A 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/drivers/usb/serial/
H A DMakefile-keyspan_pda_fw12 %.hex: %.asm
16 %_fw.h: %.hex ezusb_convert.pl
/linux/Documentation/usb/
H A 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/tools/perf/util/
H A Ddemangle-ocaml.c58 result[j++] = (hex(sym[i + 1]) << 4) | hex(sym[i + 2]); in ocaml_demangle_sym()
H A Ddemangle-rust-v0.c1264 struct buf hex; in printer_print_const_uint() local
1265 PARSE(printer, parser_hex_nibbles, &hex); in printer_print_const_uint()
1268 if (try_parse_uint(hex.start, hex.len, &val)) { in printer_print_const_uint()
1272 PRINT(printer_print_buf(printer, hex.start, hex.len)); in printer_print_const_uint()
1286 struct buf hex; in printer_print_const_str_literal() local
1287 PARSE(printer, parser_hex_nibbles, &hex); in printer_print_const_str_literal()
1290 nibbles_to_string_status nts_status = nibbles_to_string(hex.start, hex.len, NULL, &out_len); in printer_print_const_str_literal()
1295 nts_status = nibbles_to_string(hex.start, hex.len, (uint8_t*)printer->out, &out_len); in printer_print_const_str_literal()
1340 struct buf hex; in printer_print_const() local
1375 PARSE(printer, parser_hex_nibbles, &hex); in printer_print_const()
[all …]
/linux/Documentation/ABI/stable/
H A 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/tools/testing/selftests/bpf/prog_tests/
H A 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/arch/nios2/platform/
H A DKconfig.platform7 hex "Memory base address"
32 hex "DTB Address"
129 hex "D-Cache size" if CUSTOM_CACHE_SETTINGS
136 hex "D-Cache line size" if CUSTOM_CACHE_SETTINGS
143 hex "I-Cache size" if CUSTOM_CACHE_SETTINGS

123456789