Home
last modified time | relevance | path

Searched refs:hex_to_bin (Results 1 - 25 of 81) sorted by relevance

1234

/kernel/linux/linux-6.6/drivers/net/can/
H A Dcan327.c411 if (hex_to_bin(elm->rxbuf[hexlen]) < 0 && in can327_parse_frame()
462 frame->len = (hex_to_bin(elm->rxbuf[datastart - 2]) << 0); in can327_parse_frame()
466 frame->can_id |= (hex_to_bin(elm->rxbuf[0]) << 28) | in can327_parse_frame()
467 (hex_to_bin(elm->rxbuf[1]) << 24) | in can327_parse_frame()
468 (hex_to_bin(elm->rxbuf[3]) << 20) | in can327_parse_frame()
469 (hex_to_bin(elm->rxbuf[4]) << 16) | in can327_parse_frame()
470 (hex_to_bin(elm->rxbuf[6]) << 12) | in can327_parse_frame()
471 (hex_to_bin(elm->rxbuf[7]) << 8) | in can327_parse_frame()
472 (hex_to_bin(elm->rxbuf[9]) << 4) | in can327_parse_frame()
473 (hex_to_bin(el in can327_parse_frame()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dhexdump.c20 * hex_to_bin - convert a hex digit to its real value
23 * hex_to_bin() converts one hex digit to its actual value or -1 in case of bad
46 int hex_to_bin(unsigned char ch) in hex_to_bin() function
53 EXPORT_SYMBOL(hex_to_bin); variable
68 hi = hex_to_bin(*src++); in hex2bin()
71 lo = hex_to_bin(*src++); in hex2bin()
H A Dnet_utils.c23 mac[i] = (hex_to_bin(s[i * 3]) << 4) | hex_to_bin(s[i * 3 + 1]); in mac_pton()
H A Duuid.c114 int hi = hex_to_bin(uuid[si[i] + 0]); in __uuid_parse()
115 int lo = hex_to_bin(uuid[si[i] + 1]); in __uuid_parse()
H A Dstring_helpers.c189 num = digit = hex_to_bin(*q++); in unescape_hex()
193 digit = hex_to_bin(*q); in unescape_hex()
/kernel/linux/linux-6.6/lib/
H A Dhexdump.c20 * hex_to_bin - convert a hex digit to its real value
23 * hex_to_bin() converts one hex digit to its actual value or -1 in case of bad
46 int hex_to_bin(unsigned char ch) in hex_to_bin() function
53 EXPORT_SYMBOL(hex_to_bin); variable
68 hi = hex_to_bin(*src++); in hex2bin()
71 lo = hex_to_bin(*src++); in hex2bin()
H A Dnet_utils.c25 mac[i] = (hex_to_bin(s[i * 3]) << 4) | hex_to_bin(s[i * 3 + 1]); in mac_pton()
H A Duuid.c114 int hi = hex_to_bin(uuid[si[i] + 0]); in __uuid_parse()
115 int lo = hex_to_bin(uuid[si[i] + 1]); in __uuid_parse()
H A Dstring_helpers.c234 num = digit = hex_to_bin(*q++); in unescape_hex()
238 digit = hex_to_bin(*q); in unescape_hex()
/kernel/linux/linux-5.10/kernel/debug/
H A Dgdbstub.c125 xmitcsum = hex_to_bin(gdbstub_read_wait()) << 4; in get_packet()
126 xmitcsum += hex_to_bin(gdbstub_read_wait()); in get_packet()
282 *tmp_raw = hex_to_bin(*tmp_hex--); in kgdb_hex2mem()
283 *tmp_raw |= hex_to_bin(*tmp_hex--) << 4; in kgdb_hex2mem()
306 hex_val = hex_to_bin(**ptr); in kgdb_hex2long()
629 if (hex_to_bin(ptr[i]) >= 0) in gdb_cmd_reg_set()
/kernel/linux/linux-6.6/kernel/debug/
H A Dgdbstub.c122 xmitcsum = hex_to_bin(gdbstub_read_wait()) << 4; in get_packet()
123 xmitcsum += hex_to_bin(gdbstub_read_wait()); in get_packet()
279 *tmp_raw = hex_to_bin(*tmp_hex--); in kgdb_hex2mem()
280 *tmp_raw |= hex_to_bin(*tmp_hex--) << 4; in kgdb_hex2mem()
303 hex_val = hex_to_bin(**ptr); in kgdb_hex2long()
626 if (hex_to_bin(ptr[i]) >= 0) in gdb_cmd_reg_set()
/kernel/linux/linux-6.6/include/linux/
H A Dhex.h29 extern int hex_to_bin(unsigned char ch);
/kernel/linux/linux-6.6/drivers/platform/x86/intel/wmi/
H A Dthunderbolt.c32 mode = hex_to_bin(buf[0]); in force_power_store()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dintel-wmi-thunderbolt.c32 mode = hex_to_bin(buf[0]); in force_power_store()
/kernel/linux/linux-5.10/sound/usb/6fire/
H A Dfirmware.c64 hval = hex_to_bin(data[0]); in usb6fire_fw_ihex_hex()
68 hval = hex_to_bin(data[1]); in usb6fire_fw_ihex_hex()
/kernel/linux/linux-6.6/sound/usb/6fire/
H A Dfirmware.c64 hval = hex_to_bin(data[0]); in usb6fire_fw_ihex_hex()
68 hval = hex_to_bin(data[1]); in usb6fire_fw_ihex_hex()
/kernel/linux/linux-5.10/drivers/net/can/
H A Dslcan.c193 tmp = hex_to_bin(*cmd++); in slc_bump()
197 tmp = hex_to_bin(*cmd++); in slc_bump()
/kernel/linux/linux-5.10/drivers/nvdimm/
H A Dcore.c232 uuid[i] = (hex_to_bin(str[0]) << 4) | hex_to_bin(str[1]); in nd_uuid_parse()
/kernel/linux/linux-5.10/drivers/staging/wfx/
H A Dfwio.c133 keyset_file = (hex_to_bin(data[6]) * 16) | hex_to_bin(data[7]); in get_firmware()
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/
H A Dfwio.c128 keyset_file = (hex_to_bin(data[6]) * 16) | hex_to_bin(data[7]); in get_firmware()
/kernel/linux/linux-5.10/drivers/scsi/aacraid/
H A Drx.c374 ret = (hex_to_bin(buffer[2]) << 4) + in aac_rx_check_health()
375 hex_to_bin(buffer[3]); in aac_rx_check_health()
/kernel/linux/linux-5.10/drivers/ptp/
H A Dptp_pch.c316 tmp = hex_to_bin(addr[i * 3]); in pch_set_station_address()
323 tmp = hex_to_bin(addr[(i * 3) + 1]); in pch_set_station_address()
/kernel/linux/linux-6.6/drivers/net/can/slcan/
H A Dslcan-core.c225 tmp = hex_to_bin(*cmd++); in slcan_bump_frame()
230 tmp = hex_to_bin(*cmd++); in slcan_bump_frame()
/kernel/linux/linux-6.6/drivers/scsi/aacraid/
H A Drx.c374 ret = (hex_to_bin(buffer[2]) << 4) + in aac_rx_check_health()
375 hex_to_bin(buffer[3]); in aac_rx_check_health()
/kernel/linux/linux-5.10/drivers/media/cec/usb/rainshadow/
H A Drainshadow-cec.c84 stat = hex_to_bin(cmd[0]); in rain_process_msg()

Completed in 17 milliseconds

1234