Home
last modified time | relevance | path

Searched refs:hex_to_bin (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.6.21/drivers/net/can/
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(elm->rxbuf[10]) << 0); in can327_parse_frame()
[all …]
/linux-6.6.21/lib/
Dhexdump.c46 int hex_to_bin(unsigned char ch) in hex_to_bin() function
53 EXPORT_SYMBOL(hex_to_bin);
68 hi = hex_to_bin(*src++); in hex2bin()
71 lo = hex_to_bin(*src++); in hex2bin()
Dnet_utils.c25 mac[i] = (hex_to_bin(s[i * 3]) << 4) | hex_to_bin(s[i * 3 + 1]); in mac_pton()
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()
Dstring_helpers.c234 num = digit = hex_to_bin(*q++); in unescape_hex()
238 digit = hex_to_bin(*q); in unescape_hex()
Dbitmap.c873 c = hex_to_bin(*end--); in bitmap_get_x32_reverse()
883 if (hex_to_bin(*end--) >= 0) in bitmap_get_x32_reverse()
/linux-6.6.21/kernel/debug/
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()
/linux-6.6.21/include/linux/
Dhex.h29 extern int hex_to_bin(unsigned char ch);
/linux-6.6.21/drivers/platform/x86/intel/wmi/
Dthunderbolt.c32 mode = hex_to_bin(buf[0]); in force_power_store()
/linux-6.6.21/sound/usb/6fire/
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()
/linux-6.6.21/drivers/net/wireless/silabs/wfx/
Dfwio.c128 keyset_file = (hex_to_bin(data[6]) * 16) | hex_to_bin(data[7]); in get_firmware()
/linux-6.6.21/drivers/scsi/aacraid/
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()
/linux-6.6.21/drivers/net/can/slcan/
Dslcan-core.c225 tmp = hex_to_bin(*cmd++); in slcan_bump_frame()
230 tmp = hex_to_bin(*cmd++); in slcan_bump_frame()
/linux-6.6.21/drivers/auxdisplay/
Dhd44780_common.c333 half = hex_to_bin(*esc++); in hd44780_common_redefine_char()
Dlcd2s.c249 half = hex_to_bin(*esc++); in lcd2s_redefine_char()
/linux-6.6.21/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c94 int val = hex_to_bin(*buf++); in debugifc_parse_unsigned_number()
/linux-6.6.21/drivers/s390/cio/
Dblacklist.c86 int value = hex_to_bin(**cp); in pure_hex()
/linux-6.6.21/drivers/media/cec/usb/rainshadow/
Drainshadow-cec.c84 stat = hex_to_bin(cmd[0]); in rain_process_msg()
/linux-6.6.21/net/core/
Dutils.c97 val = hex_to_bin(c); in xdigit2bin()
/linux-6.6.21/drivers/target/tcm_fc/
Dtfc_conf.c77 val = hex_to_bin(c); in ft_parse_wwn()
/linux-6.6.21/drivers/usb/atm/
Dspeedtch.c660 atm_dev->esi[i] = (hex_to_bin(mac_str[i * 2]) << 4) + in speedtch_atm_start()
661 hex_to_bin(mac_str[i * 2 + 1]); in speedtch_atm_start()
/linux-6.6.21/fs/efivarfs/
Dvars.c83 hex_to_bin(var_name[i] & 0xff) < 0) in validate_load_option()
/linux-6.6.21/drivers/usb/gadget/function/
Du_ether.c693 num = hex_to_bin(*str++) << 4; in get_ether_addr()
694 num |= hex_to_bin(*str++); in get_ether_addr()
/linux-6.6.21/drivers/comedi/drivers/
Djr3_pci.c306 value = hex_to_bin(data[*pos]); in read_idm_word()
/linux-6.6.21/net/sunrpc/
Dcache.c1292 h = hex_to_bin(bp[0]); in qword_get()
1296 l = hex_to_bin(bp[1]); in qword_get()

12