Home
last modified time | relevance | path

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

12

/Linux-v5.10/lib/
Dhexdump.c26 int hex_to_bin(char ch) in hex_to_bin() function
35 EXPORT_SYMBOL(hex_to_bin);
48 int hi = hex_to_bin(*src++); in hex2bin()
49 int lo = hex_to_bin(*src++); in hex2bin()
Dnet_utils.c23 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.c189 num = digit = hex_to_bin(*q++); in unescape_hex()
193 digit = hex_to_bin(*q); in unescape_hex()
Dbitmap.c704 c = hex_to_bin(*end--); in bitmap_get_x32_reverse()
714 if (hex_to_bin(*end--) >= 0) in bitmap_get_x32_reverse()
/Linux-v5.10/kernel/debug/
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()
/Linux-v5.10/drivers/platform/x86/
Dintel-wmi-thunderbolt.c32 mode = hex_to_bin(buf[0]); in force_power_store()
/Linux-v5.10/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-v5.10/drivers/staging/wfx/
Dfwio.c133 keyset_file = (hex_to_bin(data[6]) * 16) | hex_to_bin(data[7]); in get_firmware()
/Linux-v5.10/drivers/nvdimm/
Dcore.c232 uuid[i] = (hex_to_bin(str[0]) << 4) | hex_to_bin(str[1]); in nd_uuid_parse()
/Linux-v5.10/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-v5.10/drivers/net/can/
Dslcan.c193 tmp = hex_to_bin(*cmd++); in slc_bump()
197 tmp = hex_to_bin(*cmd++); in slc_bump()
/Linux-v5.10/drivers/ptp/
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()
/Linux-v5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c94 int val = hex_to_bin(*buf++); in debugifc_parse_unsigned_number()
/Linux-v5.10/drivers/s390/cio/
Dblacklist.c86 int value = hex_to_bin(**cp); in pure_hex()
/Linux-v5.10/drivers/media/cec/usb/rainshadow/
Drainshadow-cec.c84 stat = hex_to_bin(cmd[0]); in rain_process_msg()
/Linux-v5.10/net/core/
Dutils.c97 val = hex_to_bin(c); in xdigit2bin()
/Linux-v5.10/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-v5.10/drivers/target/tcm_fc/
Dtfc_conf.c77 val = hex_to_bin(c); in ft_parse_wwn()
/Linux-v5.10/drivers/usb/gadget/function/
Du_ether.c701 num = hex_to_bin(*str++) << 4; in get_ether_addr()
702 num |= hex_to_bin(*str++); in get_ether_addr()
/Linux-v5.10/drivers/auxdisplay/
Dcharlcd.c492 half = hex_to_bin(*esc++); in handle_lcd_special_code()
/Linux-v5.10/include/linux/
Dkernel.h638 extern int hex_to_bin(char ch);
/Linux-v5.10/drivers/firmware/efi/
Dvars.c91 hex_to_bin(var_name[i] & 0xff) < 0) in validate_load_option()
/Linux-v5.10/drivers/nvme/target/
Dconfigfs.c472 nguid[i] = (hex_to_bin(p[0]) << 4) | hex_to_bin(p[1]); in nvmet_ns_device_nguid_store()
/Linux-v5.10/drivers/staging/comedi/drivers/
Djr3_pci.c320 value = hex_to_bin(data[*pos]); in read_idm_word()

12