Searched refs:hval (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/sound/usb/6fire/
H A Dfirmware.c66 int hval; usb6fire_fw_ihex_hex() local
68 hval = hex_to_bin(data[0]); usb6fire_fw_ihex_hex()
69 if (hval >= 0) usb6fire_fw_ihex_hex()
70 val |= (hval << 4); usb6fire_fw_ihex_hex()
72 hval = hex_to_bin(data[1]); usb6fire_fw_ihex_hex()
73 if (hval >= 0) usb6fire_fw_ihex_hex()
74 val |= hval; usb6fire_fw_ihex_hex()
/linux-4.4.14/drivers/isdn/hisax/
H A Dtelespci.c231 u_char hval, ival; telespci_interrupt() local
235 hval = readhscx(cs->hw.teles0.membase, 1, HSCX_ISTA); telespci_interrupt()
236 if (hval) telespci_interrupt()
237 hscx_int_main(cs, hval); telespci_interrupt()
239 if ((hval | ival) == 0) { telespci_interrupt()
/linux-4.4.14/drivers/isdn/i4l/
H A Disdn_bsdcomp.c465 int hval, disp, ilen, mxcode; bsd_compress() local
514 hval = BSD_HASH(ent, c, hshift); bsd_compress()
515 dictp = dict_ptr(db, hval); bsd_compress()
527 disp = (hval == 0) ? 1 : hval; bsd_compress()
530 hval += disp; bsd_compress()
531 if (hval >= db->hsize) bsd_compress()
532 hval -= db->hsize; bsd_compress()
533 dictp = dict_ptr(db, hval); bsd_compress()
567 dictp2->cptr = hval; bsd_compress()
832 int hval, disp, indx; bsd_decompress() local
835 hval = BSD_HASH(oldcode, finchar, db->hshift); bsd_decompress()
836 dictp = dict_ptr(db, hval); bsd_decompress()
840 disp = (hval == 0) ? 1 : hval; bsd_decompress()
842 hval += disp; bsd_decompress()
843 if (hval >= db->hsize) bsd_decompress()
844 hval -= db->hsize; bsd_decompress()
845 dictp = dict_ptr(db, hval); bsd_decompress()
861 dictp2->cptr = hval; bsd_decompress()
/linux-4.4.14/drivers/net/ppp/
H A Dbsd_comp.c576 int hval; bsd_compress() local
658 hval = BSD_HASH (ent, c, hshift); bsd_compress()
659 dictp = dict_ptr (db, hval); bsd_compress()
674 disp = (hval == 0) ? 1 : hval; bsd_compress()
678 hval += disp; bsd_compress()
679 if (hval >= db->hsize) bsd_compress()
681 hval -= db->hsize; bsd_compress()
683 dictp = dict_ptr (db, hval); bsd_compress()
724 dictp2->cptr = hval; bsd_compress()
1056 int hval, disp, indx; bsd_decompress() local
1059 hval = BSD_HASH(oldcode,finchar,db->hshift); bsd_decompress()
1060 dictp = dict_ptr (db, hval); bsd_decompress()
1065 disp = (hval == 0) ? 1 : hval; bsd_decompress()
1068 hval += disp; bsd_decompress()
1069 if (hval >= db->hsize) bsd_decompress()
1071 hval -= db->hsize; bsd_decompress()
1073 dictp = dict_ptr (db, hval); bsd_decompress()
1092 dictp2->cptr = hval; bsd_decompress()
/linux-4.4.14/net/ipv4/
H A Dinet_fragment.c87 unsigned int hval = inet_frag_hashfn(f, q); inet_frag_secret_rebuild() local
89 if (hval != i) { inet_frag_secret_rebuild()
95 hb_dest = &f->hash[hval]; inet_frag_secret_rebuild()
H A Droute.c602 u32 hval; fnhe_hashfun() local
605 hval = jhash_1word((__force u32) daddr, fnhe_hashrnd); fnhe_hashfun()
606 return hash_32(hval, FNHE_HASH_SHIFT); fnhe_hashfun()
629 u32 hval = fnhe_hashfun(daddr); update_or_create_fnhe() local
641 hash += hval; update_or_create_fnhe()
1256 u32 hval; find_exception() local
1261 hval = fnhe_hashfun(daddr); find_exception()
1263 for (fnhe = rcu_dereference(hash[hval].chain); fnhe; find_exception()
1564 u32 hval = fnhe_hashfun(daddr); ip_del_fnhe() local
1570 hash += hval; ip_del_fnhe()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dnv50.c611 u32 hval, hreg = 0x614200 + (head * 0x800); nv50_disp_intr_unk20_2() local
667 hval = 0x00000000; nv50_disp_intr_unk20_2()
675 hval = 0x00000000; nv50_disp_intr_unk20_2()
680 hval = 0x00000001; nv50_disp_intr_unk20_2()
684 nvkm_mask(device, hreg, 0x0000000f, hval); nv50_disp_intr_unk20_2()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A De1000_nvm.c709 u8 q, hval, rem, result; igb_get_fw_version() local
789 hval = q * NVM_HEX_TENS; igb_get_fw_version()
791 result = hval + rem; igb_get_fw_version()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c315 u8 hindex, hval; qlcnic_send_filter() local
330 hval = qlcnic_mac_hash(src_addr, vlan_id); qlcnic_send_filter()
331 hindex = hval & (adapter->fhash.fbucket_size - 1); qlcnic_send_filter()
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dcassini.c4402 u16 hval; cas_read_regs() local
4405 hval = cas_phy_read(cp, cas_read_regs()
4407 val = hval; cas_read_regs()

Completed in 455 milliseconds