Home
last modified time | relevance | path

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

/linux-4.1.27/fs/efivarfs/
Dinode.c86 guid->b[0] = hex_to_bin(str[6]) << 4 | hex_to_bin(str[7]); in efivarfs_hex_to_guid()
87 guid->b[1] = hex_to_bin(str[4]) << 4 | hex_to_bin(str[5]); in efivarfs_hex_to_guid()
88 guid->b[2] = hex_to_bin(str[2]) << 4 | hex_to_bin(str[3]); in efivarfs_hex_to_guid()
89 guid->b[3] = hex_to_bin(str[0]) << 4 | hex_to_bin(str[1]); in efivarfs_hex_to_guid()
90 guid->b[4] = hex_to_bin(str[11]) << 4 | hex_to_bin(str[12]); in efivarfs_hex_to_guid()
91 guid->b[5] = hex_to_bin(str[9]) << 4 | hex_to_bin(str[10]); in efivarfs_hex_to_guid()
92 guid->b[6] = hex_to_bin(str[16]) << 4 | hex_to_bin(str[17]); in efivarfs_hex_to_guid()
93 guid->b[7] = hex_to_bin(str[14]) << 4 | hex_to_bin(str[15]); in efivarfs_hex_to_guid()
94 guid->b[8] = hex_to_bin(str[19]) << 4 | hex_to_bin(str[20]); in efivarfs_hex_to_guid()
95 guid->b[9] = hex_to_bin(str[21]) << 4 | hex_to_bin(str[22]); in efivarfs_hex_to_guid()
[all …]
/linux-4.1.27/lib/
Dnet_utils.c22 mac[i] = (hex_to_bin(s[i * 3]) << 4) | hex_to_bin(s[i * 3 + 1]); in mac_pton()
Dhexdump.c27 int hex_to_bin(char ch) in hex_to_bin() function
36 EXPORT_SYMBOL(hex_to_bin);
49 int hi = hex_to_bin(*src++); in hex2bin()
50 int lo = hex_to_bin(*src++); in hex2bin()
Dstring_helpers.c184 num = digit = hex_to_bin(*q++); in unescape_hex()
188 digit = hex_to_bin(*q); in unescape_hex()
Dbitmap.c408 chunk = (chunk << 4) | hex_to_bin(c); in __bitmap_parse()
/linux-4.1.27/kernel/debug/
Dgdbstub.c124 xmitcsum = hex_to_bin(gdbstub_read_wait()) << 4; in get_packet()
125 xmitcsum += hex_to_bin(gdbstub_read_wait()); in get_packet()
281 *tmp_raw = hex_to_bin(*tmp_hex--); in kgdb_hex2mem()
282 *tmp_raw |= hex_to_bin(*tmp_hex--) << 4; in kgdb_hex2mem()
305 hex_val = hex_to_bin(**ptr); in kgdb_hex2long()
628 if (hex_to_bin(ptr[i]) >= 0) in gdb_cmd_reg_set()
/linux-4.1.27/sound/usb/6fire/
Dfirmware.c68 hval = hex_to_bin(data[0]); in usb6fire_fw_ihex_hex()
72 hval = hex_to_bin(data[1]); in usb6fire_fw_ihex_hex()
/linux-4.1.27/drivers/acpi/
Dbus.c214 uuid[i] = hex_to_bin(str[opc_map_to_uuid[i]]) << 4; in acpi_str_to_uuid()
215 uuid[i] |= hex_to_bin(str[opc_map_to_uuid[i] + 1]); in acpi_str_to_uuid()
/linux-4.1.27/drivers/net/can/
Dslcan.c194 tmp = hex_to_bin(*cmd++); in slc_bump()
198 tmp = hex_to_bin(*cmd++); in slc_bump()
/linux-4.1.27/drivers/scsi/aacraid/
Drx.c376 ret = (hex_to_bin(buffer[2]) << 4) + in aac_rx_check_health()
377 hex_to_bin(buffer[3]); in aac_rx_check_health()
/linux-4.1.27/include/linux/
Dgenhd.h220 *to++ = (hex_to_bin(*uuid_str) << 4) | in part_pack_uuid()
221 (hex_to_bin(*(uuid_str + 1))); in part_pack_uuid()
Dkernel.h510 extern int hex_to_bin(char ch);
/linux-4.1.27/drivers/ptp/
Dptp_pch.c328 tmp = hex_to_bin(addr[i * 3]); in pch_set_station_address()
335 tmp = hex_to_bin(addr[(i * 3) + 1]); in pch_set_station_address()
/linux-4.1.27/net/core/
Dutils.c99 val = hex_to_bin(c); in xdigit2bin()
Dpktgen.c747 value = hex_to_bin(c); in hex32_arg()
/linux-4.1.27/drivers/platform/x86/
Dwmi.c133 h = value = hex_to_bin(src[0]); in wmi_parse_hexbyte()
138 value = hex_to_bin(src[1]); in wmi_parse_hexbyte()
/linux-4.1.27/drivers/s390/cio/
Dblacklist.c86 int value = hex_to_bin(**cp); in pure_hex()
/linux-4.1.27/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c108 int val = hex_to_bin(*buf++); in debugifc_parse_unsigned_number()
/linux-4.1.27/drivers/usb/atm/
Dspeedtch.c670 atm_dev->esi[i] = (hex_to_bin(mac_str[i * 2]) << 4) + in speedtch_atm_start()
671 hex_to_bin(mac_str[i * 2 + 1]); in speedtch_atm_start()
Dueagle-atm.c2467 esi[i] = hex_to_bin(mac_str[2 * i]) * 16 + in uea_getesi()
2468 hex_to_bin(mac_str[2 * i + 1]); in uea_getesi()
/linux-4.1.27/drivers/target/tcm_fc/
Dtfc_conf.c94 val = hex_to_bin(c); in ft_parse_wwn()
/linux-4.1.27/drivers/usb/gadget/function/
Du_ether.c716 num = hex_to_bin(*str++) << 4; in get_ether_addr()
717 num |= hex_to_bin(*str++); in get_ether_addr()
/linux-4.1.27/block/partitions/
Dldm.c83 x = h = hex_to_bin(src[0]); in ldm_parse_hexbyte()
88 h = hex_to_bin(src[1]); in ldm_parse_hexbyte()
/linux-4.1.27/kernel/
Dsysctl_binary.c1136 uuid[i] = (hex_to_bin(str[0]) << 4) | in bin_uuid()
1137 hex_to_bin(str[1]); in bin_uuid()
/linux-4.1.27/drivers/firmware/efi/
Dvars.c100 hex_to_bin(var_name[i] & 0xff) < 0) in validate_load_option()
/linux-4.1.27/drivers/staging/comedi/drivers/
Djr3_pci.c332 value = hex_to_bin(data[*pos]); in read_idm_word()
/linux-4.1.27/net/sunrpc/
Dcache.c1224 h = hex_to_bin(bp[0]); in qword_get()
1228 l = hex_to_bin(bp[1]); in qword_get()
/linux-4.1.27/security/selinux/
Dselinuxfs.c808 c1 = hex_to_bin(*r++); in sel_write_create()
811 c2 = hex_to_bin(*r++); in sel_write_create()
/linux-4.1.27/drivers/target/
Dtarget_core_spc.c160 int val = hex_to_bin(*p); in spc_parse_naa_6h_vendor_specific()
/linux-4.1.27/drivers/isdn/gigaset/
Dcapi.c170 out[++l] = (hex_to_bin(in[0]) << 4) + hex_to_bin(in[1]); in encode_ie()
/linux-4.1.27/drivers/net/wireless/
Dray_cs.c1669 if ((k = hex_to_bin(in_str[j--])) != -1) in parse_addr()
1676 if ((k = hex_to_bin(in_str[j--])) != -1) in parse_addr()
Dairo.c5131 hex_to_bin(data->wbuffer[j+i*6*3])<<4; in proc_APList_on_close()
5135 hex_to_bin(data->wbuffer[j+i*6*3]); in proc_APList_on_close()
5282 key[i/3] = hex_to_bin(data->wbuffer[i+j])<<4; in proc_wepkey_on_close()
5285 key[i/3] |= hex_to_bin(data->wbuffer[i+j]); in proc_wepkey_on_close()
/linux-4.1.27/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c88 a = hex_to_bin(*txt++); in hwaddr_aton_i()
91 b = hex_to_bin(*txt++); in hwaddr_aton_i()
/linux-4.1.27/drivers/s390/kvm/
Dvirtio_ccw.c1290 int value = hex_to_bin(**cp); in pure_hex()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c724 p->port_type[0] = hex_to_bin(vpd.port0_data[0]); in get_vpd_params()
725 p->port_type[1] = hex_to_bin(vpd.port1_data[0]); in get_vpd_params()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c137 value = hex_to_bin(*ns++); in tcm_qla2xxx_npiv_extract_wwn()
/linux-4.1.27/drivers/atm/
Dhorizon.c1625 d = (d << 4) | hex_to_bin(*s++); in hrz_send()
/linux-4.1.27/sound/pci/riptide/
Driptide.c675 value = hex_to_bin(c); in atoh()
/linux-4.1.27/drivers/tty/vt/
Dvt.c1860 vc->vc_par[vc->vc_npar++] = hex_to_bin(c); in do_con_trol()
/linux-4.1.27/drivers/scsi/
Dscsi_transport_fc.c1829 value = hex_to_bin(*ns++); in fc_parse_wwn()
/linux-4.1.27/drivers/net/ethernet/micrel/
Dksz884x.c6860 digit = hex_to_bin(macaddr[i]); in get_mac_addr()