Searched refs:hval (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/drivers/net/ppp/ |
| H A D | bsd_comp.c | 576 int hval; in bsd_compress() local 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() 724 dictp2->cptr = hval; in bsd_compress() 1056 int hval, disp, indx; in bsd_decompress() local 1065 disp = (hval == 0) ? 1 : hval; in bsd_decompress() 1068 hval += disp; in bsd_decompress() 1071 hval -= db->hsize; in bsd_decompress() [all …]
|
| /linux-6.15/drivers/net/phy/ |
| H A D | intel-xway.c | 430 int lval, hval; in xway_gphy_led_hw_control_get() local 436 if (hval < 0) in xway_gphy_led_hw_control_get() 437 return hval; in xway_gphy_led_hw_control_get() 443 if (hval & XWAY_MMD_LEDxH_CON_LINK10) in xway_gphy_led_hw_control_get() 446 if (hval & XWAY_MMD_LEDxH_CON_LINK100) in xway_gphy_led_hw_control_get() 449 if (hval & XWAY_MMD_LEDxH_CON_LINK1000) in xway_gphy_led_hw_control_get() 452 if ((hval & XWAY_MMD_LEDxH_CON_LINK10) && in xway_gphy_led_hw_control_get() 469 u16 hval = 0, lval = 0; in xway_gphy_led_hw_control_set() local 477 hval |= XWAY_MMD_LEDxH_CON_LINK10; in xway_gphy_led_hw_control_set() 481 hval |= XWAY_MMD_LEDxH_CON_LINK100; in xway_gphy_led_hw_control_set() [all …]
|
| /linux-6.15/sound/usb/6fire/ |
| H A D | firmware.c | 62 int hval; in usb6fire_fw_ihex_hex() local 64 hval = hex_to_bin(data[0]); in usb6fire_fw_ihex_hex() 65 if (hval >= 0) in usb6fire_fw_ihex_hex() 66 val |= (hval << 4); in usb6fire_fw_ihex_hex() 68 hval = hex_to_bin(data[1]); in usb6fire_fw_ihex_hex() 69 if (hval >= 0) in usb6fire_fw_ihex_hex() 70 val |= hval; in usb6fire_fw_ihex_hex()
|
| /linux-6.15/tools/perf/util/ |
| H A D | srccode.c | 95 unsigned hval = shash((unsigned char *)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-6.15/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_nvm.c | 690 u8 q, hval, rem, result; in igb_get_fw_version() local 768 hval = q * NVM_HEX_TENS; in igb_get_fw_version() 770 result = hval + rem; in igb_get_fw_version()
|
| /linux-6.15/net/ipv4/ |
| H A D | route.c | 612 u64 hval; in fnhe_hashfun() local 615 hval = siphash_1u32((__force u32)daddr, &fnhe_hash_key); in fnhe_hashfun() 616 return hash_64(hval, FNHE_HASH_SHIFT); in fnhe_hashfun() 640 u32 genid, hval; in update_or_create_fnhe() local 645 hval = fnhe_hashfun(daddr); in update_or_create_fnhe() 657 hash += hval; in update_or_create_fnhe() 1340 u32 hval = fnhe_hashfun(daddr); in ip_del_fnhe() local 1346 hash += hval; in ip_del_fnhe() 1375 u32 hval; in find_exception() local 1380 hval = fnhe_hashfun(daddr); in find_exception() [all …]
|
| /linux-6.15/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-6.15/net/ipv6/ |
| H A D | route.c | 1566 u32 hval; in __rt6_find_exception_spinlock() local 1571 hval = rt6_exception_hash(daddr, saddr); in __rt6_find_exception_spinlock() 1572 *bucket += hval; in __rt6_find_exception_spinlock() 1599 u32 hval; in __rt6_find_exception_rcu() local 1606 hval = rt6_exception_hash(daddr, saddr); in __rt6_find_exception_rcu() 1607 *bucket += hval; in __rt6_find_exception_rcu()
|
| /linux-6.15/drivers/net/ethernet/sun/ |
| H A D | cassini.c | 4339 u16 hval; in cas_read_regs() local 4342 hval = cas_phy_read(cp, in cas_read_regs() 4344 val = hval; in cas_read_regs()
|