Home
last modified time | relevance | path

Searched refs:hval (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/isdn/i4l/
Disdn_bsdcomp.c466 int hval, disp, ilen, mxcode; in bsd_compress() local
515 hval = BSD_HASH(ent, c, hshift); in bsd_compress()
516 dictp = dict_ptr(db, hval); in bsd_compress()
528 disp = (hval == 0) ? 1 : hval; in bsd_compress()
531 hval += disp; in bsd_compress()
532 if (hval >= db->hsize) in bsd_compress()
533 hval -= db->hsize; in bsd_compress()
534 dictp = dict_ptr(db, hval); in bsd_compress()
568 dictp2->cptr = hval; in bsd_compress()
834 int hval, disp, indx; in bsd_decompress() local
[all …]
/Linux-v4.19/drivers/net/ppp/
Dbsd_comp.c576 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-v4.19/sound/usb/6fire/
Dfirmware.c66 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-v4.19/drivers/isdn/hisax/
Dtelespci.c231 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-v4.19/drivers/net/ethernet/intel/igb/
De1000_nvm.c690 u8 q, hval, rem, result; in igb_get_fw_version() local
770 hval = q * NVM_HEX_TENS; in igb_get_fw_version()
772 result = hval + rem; in igb_get_fw_version()
/Linux-v4.19/net/ipv4/
Droute.c615 u32 hval; in fnhe_hashfun() local
618 hval = jhash_1word((__force u32) daddr, fnhe_hashrnd); in fnhe_hashfun()
619 return hash_32(hval, FNHE_HASH_SHIFT); in fnhe_hashfun()
641 u32 genid, hval; in update_or_create_fnhe() local
646 hval = fnhe_hashfun(daddr); in update_or_create_fnhe()
658 hash += hval; in update_or_create_fnhe()
1294 u32 hval = fnhe_hashfun(daddr); in ip_del_fnhe() local
1300 hash += hval; in ip_del_fnhe()
1324 u32 hval; in find_exception() local
1329 hval = fnhe_hashfun(daddr); in find_exception()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c314 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-v4.19/net/ipv6/
Droute.c1341 u32 hval; in __rt6_find_exception_spinlock() local
1346 hval = rt6_exception_hash(daddr, saddr); in __rt6_find_exception_spinlock()
1347 *bucket += hval; in __rt6_find_exception_spinlock()
1374 u32 hval; in __rt6_find_exception_rcu() local
1381 hval = rt6_exception_hash(daddr, saddr); in __rt6_find_exception_rcu()
1382 *bucket += hval; in __rt6_find_exception_rcu()
/Linux-v4.19/drivers/net/ethernet/sun/
Dcassini.c4401 u16 hval; in cas_read_regs() local
4404 hval = cas_phy_read(cp, in cas_read_regs()
4406 val = hval; in cas_read_regs()