Searched refs:hval (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ppp/ |
| H A D | bsd_comp.c | 575 int hval; in bsd_compress() local 657 hval = BSD_HASH (ent, c, hshift); in bsd_compress() 658 dictp = dict_ptr (db, hval); in bsd_compress() 673 disp = (hval == 0) ? 1 : hval; in bsd_compress() 677 hval += disp; in bsd_compress() 678 if (hval >= db->hsize) in bsd_compress() 680 hval -= db->hsize; in bsd_compress() 682 dictp = dict_ptr (db, hval); in bsd_compress() 723 dictp2->cptr = hval; in bsd_compress() 1055 int hval, disp, indx; in bsd_decompress() local [all …]
|
| /linux/drivers/net/phy/ |
| H A D | intel-xway.c | 481 int lval, hval; in xway_gphy_led_hw_control_get() local 486 hval = phy_read_mmd(phydev, MDIO_MMD_VEND2, XWAY_MMD_LEDxH(index)); in xway_gphy_led_hw_control_get() 487 if (hval < 0) in xway_gphy_led_hw_control_get() 488 return hval; in xway_gphy_led_hw_control_get() 494 if (hval & XWAY_MMD_LEDxH_CON_LINK10) in xway_gphy_led_hw_control_get() 497 if (hval & XWAY_MMD_LEDxH_CON_LINK100) in xway_gphy_led_hw_control_get() 500 if (hval & XWAY_MMD_LEDxH_CON_LINK1000) in xway_gphy_led_hw_control_get() 503 if ((hval & XWAY_MMD_LEDxH_CON_LINK10) && in xway_gphy_led_hw_control_get() 504 (hval & XWAY_MMD_LEDxH_CON_LINK100) && in xway_gphy_led_hw_control_get() 505 (hval & XWAY_MMD_LEDxH_CON_LINK1000)) in xway_gphy_led_hw_control_get() [all …]
|
| /linux/sound/usb/6fire/ |
| H A D | firmware.c | 63 int hval; in usb6fire_fw_ihex_hex() local 65 hval = hex_to_bin(data[0]); in usb6fire_fw_ihex_hex() 66 if (hval >= 0) in usb6fire_fw_ihex_hex() 67 val |= (hval << 4); in usb6fire_fw_ihex_hex() 69 hval = hex_to_bin(data[1]); in usb6fire_fw_ihex_hex() 70 if (hval >= 0) in usb6fire_fw_ihex_hex() 71 val |= hval; in usb6fire_fw_ihex_hex()
|
| /linux/tools/perf/util/ |
| H A D | srccode.c | 95 size_t hval = str_hash(fn) % SRC_HTAB_SZ; in find_srcfile() local 97 hlist_for_each_entry (h, &srcfile_htab[hval], hash_nd) { in find_srcfile() 141 hlist_add_head(&h->hash_nd, &srcfile_htab[hval]); in find_srcfile()
|
| /linux/net/ipv4/ |
| H A D | route.c | 623 u64 hval; in fnhe_hashfun() local 626 hval = siphash_1u32((__force u32)daddr, &fnhe_hash_key); in fnhe_hashfun() 627 return hash_64(hval, FNHE_HASH_SHIFT); in fnhe_hashfun() 651 u32 genid, hval; in update_or_create_fnhe() local 656 hval = fnhe_hashfun(daddr); in update_or_create_fnhe() 668 hash += hval; in update_or_create_fnhe() 1385 u32 hval = fnhe_hashfun(daddr); in ip_del_fnhe() 1391 hash += hval; in ip_del_fnhe() 1420 u32 hval; in find_exception() 1425 hval in find_exception() 1383 u32 hval = fnhe_hashfun(daddr); ip_del_fnhe() local 1418 u32 hval; find_exception() local [all...] |
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_io.c | 314 u8 hindex, hval; in qlcnic_send_filter() local 329 hval = qlcnic_mac_hash(src_addr, vlan_id); in qlcnic_send_filter() 330 hindex = hval & (adapter->fhash.fbucket_size - 1); in qlcnic_send_filter()
|
| /linux/net/ipv6/ |
| H A D | route.c | 1583 u32 hval; in __rt6_find_exception_spinlock() local 1588 hval = rt6_exception_hash(daddr, saddr); in __rt6_find_exception_spinlock() 1589 *bucket += hval; in __rt6_find_exception_spinlock() 1616 u32 hval; in __rt6_find_exception_rcu() local 1623 hval = rt6_exception_hash(daddr, saddr); in __rt6_find_exception_rcu() 1624 *bucket += hval; in __rt6_find_exception_rcu()
|