/linux-4.1.27/drivers/isdn/i4l/ |
D | isdn_bsdcomp.c | 465 int hval, disp, ilen, mxcode; in bsd_compress() local 514 hval = BSD_HASH(ent, c, hshift); in bsd_compress() 515 dictp = dict_ptr(db, hval); in bsd_compress() 527 disp = (hval == 0) ? 1 : hval; in bsd_compress() 530 hval += disp; in bsd_compress() 531 if (hval >= db->hsize) in bsd_compress() 532 hval -= db->hsize; in bsd_compress() 533 dictp = dict_ptr(db, hval); in bsd_compress() 567 dictp2->cptr = hval; in bsd_compress() 832 int hval, disp, indx; in bsd_decompress() local [all …]
|
/linux-4.1.27/drivers/net/ppp/ |
D | bsd_comp.c | 576 int hval; in bsd_compress() local 658 hval = BSD_HASH (ent, c, hshift); in bsd_compress() 659 dictp = dict_ptr (db, hval); in bsd_compress() 674 disp = (hval == 0) ? 1 : hval; in bsd_compress() 678 hval += disp; in bsd_compress() 679 if (hval >= db->hsize) in bsd_compress() 681 hval -= db->hsize; in bsd_compress() 683 dictp = dict_ptr (db, hval); in bsd_compress() 724 dictp2->cptr = hval; in bsd_compress() 1056 int hval, disp, indx; in bsd_decompress() local [all …]
|
/linux-4.1.27/scripts/kconfig/ |
D | zconf.hash.c | 76 register int hval = len; in kconf_id_hash() local 78 switch (hval) in kconf_id_hash() 81 hval += asso_values[(unsigned char)str[2]]; in kconf_id_hash() 85 hval += asso_values[(unsigned char)str[0]]; in kconf_id_hash() 88 return hval + asso_values[(unsigned char)str[len - 1]]; in kconf_id_hash()
|
D | zconf.hash.c_shipped | 76 register int hval = len; 78 switch (hval) 81 hval += asso_values[(unsigned char)str[2]]; 85 hval += asso_values[(unsigned char)str[0]]; 88 return hval + asso_values[(unsigned char)str[len - 1]];
|
/linux-4.1.27/sound/usb/6fire/ |
D | firmware.c | 66 int hval; in usb6fire_fw_ihex_hex() local 68 hval = hex_to_bin(data[0]); in usb6fire_fw_ihex_hex() 69 if (hval >= 0) in usb6fire_fw_ihex_hex() 70 val |= (hval << 4); in usb6fire_fw_ihex_hex() 72 hval = hex_to_bin(data[1]); in usb6fire_fw_ihex_hex() 73 if (hval >= 0) in usb6fire_fw_ihex_hex() 74 val |= hval; in usb6fire_fw_ihex_hex()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | telespci.c | 231 u_char hval, ival; in telespci_interrupt() local 235 hval = readhscx(cs->hw.teles0.membase, 1, HSCX_ISTA); in telespci_interrupt() 236 if (hval) in telespci_interrupt() 237 hscx_int_main(cs, hval); in telespci_interrupt() 239 if ((hval | ival) == 0) { in telespci_interrupt()
|
/linux-4.1.27/net/ipv4/ |
D | inet_fragment.c | 87 unsigned int hval = inet_frag_hashfn(f, q); in inet_frag_secret_rebuild() local 89 if (hval != i) { in inet_frag_secret_rebuild() 95 hb_dest = &f->hash[hval]; in inet_frag_secret_rebuild()
|
D | route.c | 600 u32 hval; in fnhe_hashfun() local 603 hval = jhash_1word((__force u32) daddr, fnhe_hashrnd); in fnhe_hashfun() 604 return hash_32(hval, FNHE_HASH_SHIFT); in fnhe_hashfun() 627 u32 hval = fnhe_hashfun(daddr); in update_or_create_fnhe() local 639 hash += hval; in update_or_create_fnhe() 1251 u32 hval; in find_exception() local 1256 hval = fnhe_hashfun(daddr); in find_exception() 1258 for (fnhe = rcu_dereference(hash[hval].chain); fnhe; in find_exception() 1546 u32 hval = fnhe_hashfun(daddr); in ip_del_fnhe() local 1552 hash += hval; in ip_del_fnhe()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | e1000_nvm.c | 709 u8 q, hval, rem, result; in igb_get_fw_version() local 789 hval = q * NVM_HEX_TENS; in igb_get_fw_version() 791 result = hval + rem; in igb_get_fw_version()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | nv50.c | 1759 u32 hval, hreg = 0x614200 + (head * 0x800); in nv50_disp_intr_unk20_2() local 1815 hval = 0x00000000; in nv50_disp_intr_unk20_2() 1823 hval = 0x00000000; in nv50_disp_intr_unk20_2() 1828 hval = 0x00000001; in nv50_disp_intr_unk20_2() 1832 nv_mask(priv, hreg, 0x0000000f, hval); in nv50_disp_intr_unk20_2()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 315 u8 hindex, hval; in qlcnic_send_filter() local 330 hval = qlcnic_mac_hash(src_addr, vlan_id); in qlcnic_send_filter() 331 hindex = hval & (adapter->fhash.fbucket_size - 1); in qlcnic_send_filter()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | cassini.c | 4403 u16 hval; in cas_read_regs() local 4406 hval = cas_phy_read(cp, in cas_read_regs() 4408 val = hval; in cas_read_regs()
|