Home
last modified time | relevance | path

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

1234567

/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/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/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/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/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/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
H A 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/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/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/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/drivers/usb/serial/
H A DMakefile-keyspan_pda_fw12 %.hex: %.asm
16 %_fw.h: %.hex ezusb_convert.pl
/linux/tools/perf/util/
H A Ddemangle-ocaml.c58 result[j++] = (hex(sym[i + 1]) << 4) | hex(sym[i + 2]); in ocaml_demangle_sym()
/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"
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/drivers/isdn/capi/
H A 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/drivers/media/cec/usb/rainshadow/
H A 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/drivers/mfd/
H A 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/arch/nios2/
H A DKconfig127 hex "Link address offset for booting"
153 hex "Virtual base address of the kernel MMU region " if NIOS2_KERNEL_MMU_REGION_BASE_BOOL
167 hex "Virtual base address of the kernel region " if NIOS2_KERNEL_REGION_BASE_BOOL
179 hex "Virtual base address of the I/O region" if NIOS2_IO_REGION_BASE_BOOL
/linux/scripts/
H A Dleaking_addresses.pl365 my $hex = hex($match);
369 return ($hex >= $region_min and $hex <= $region_max);
/linux/arch/microblaze/
H A DKconfig166 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
170 hex "Microblaze reset vector address setup"
192 hex "Virtual address of kernel base" if KERNEL_START_BOOL
206 hex "Size of user task space" if TASK_SIZE_BOOL

1234567