Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/lib/
H A Dhexdump.c51 int hex_to_bin(char ch) in hex_to_bin() function
53 int hex_to_bin(unsigned char ch) in hex_to_bin()
61 EXPORT_SYMBOL(hex_to_bin);
76 hi = hex_to_bin(*src++); in hex2bin()
79 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()
H A Dbitmap.c706 c = hex_to_bin(*end--); in bitmap_get_x32_reverse()
716 if (hex_to_bin(*end--) >= 0) in bitmap_get_x32_reverse()
/OK3568_Linux_fs/u-boot/include/
H A Dhexdump.h37 static inline int hex_to_bin(char ch) in hex_to_bin() function
58 int hi = hex_to_bin(*src++); in hex2bin()
59 int lo = hex_to_bin(*src++); in hex2bin()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dintel-wmi-thunderbolt.c32 mode = hex_to_bin(buf[0]); in force_power_store()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/staging/wfx/
H A Dfwio.c133 keyset_file = (hex_to_bin(data[6]) * 16) | hex_to_bin(data[7]); in get_firmware()
/OK3568_Linux_fs/kernel/drivers/nvdimm/
H A Dcore.c232 uuid[i] = (hex_to_bin(str[0]) << 4) | hex_to_bin(str[1]); in nd_uuid_parse()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/net/can/
H A Dslcan.c193 tmp = hex_to_bin(*cmd++); in slc_bump()
197 tmp = hex_to_bin(*cmd++); in slc_bump()
/OK3568_Linux_fs/kernel/include/linux/
H A Dkernel.h639 extern int hex_to_bin(char ch);
641 extern int hex_to_bin(unsigned char ch);
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/media/usb/pvrusb2/
H A Dpvrusb2-debugifc.c94 int val = hex_to_bin(*buf++); in debugifc_parse_unsigned_number()
/OK3568_Linux_fs/kernel/drivers/s390/cio/
H A Dblacklist.c86 int value = hex_to_bin(**cp); in pure_hex()
/OK3568_Linux_fs/kernel/drivers/media/cec/usb/rainshadow/
H A Drainshadow-cec.c84 stat = hex_to_bin(cmd[0]); in rain_process_msg()
/OK3568_Linux_fs/kernel/drivers/usb/atm/
H A 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()
/OK3568_Linux_fs/kernel/net/core/
H A Dutils.c97 val = hex_to_bin(c); in xdigit2bin()
/OK3568_Linux_fs/kernel/drivers/target/tcm_fc/
H A Dtfc_conf.c77 val = hex_to_bin(c); in ft_parse_wwn()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Du_ether.c704 num = hex_to_bin(*str++) << 4; in get_ether_addr()
705 num |= hex_to_bin(*str++); in get_ether_addr()
/OK3568_Linux_fs/kernel/drivers/auxdisplay/
H A Dcharlcd.c492 half = hex_to_bin(*esc++); in handle_lcd_special_code()
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dconfigfs.c472 nguid[i] = (hex_to_bin(p[0]) << 4) | hex_to_bin(p[1]); in nvmet_ns_device_nguid_store()
/OK3568_Linux_fs/kernel/drivers/firmware/efi/
H A Dvars.c91 hex_to_bin(var_name[i] & 0xff) < 0) in validate_load_option()

123