Home
last modified time | relevance | path

Searched refs:poly (Results 1 – 20 of 20) sorted by relevance

/linux-4.1.27/lib/
Dbch.c107 struct gf_poly poly; member
275 static inline int deg(unsigned int poly) in deg() argument
278 return fls(poly)-1; in deg()
342 uint32_t poly; in compute_syndromes() local
355 poly = *ecc++; in compute_syndromes()
357 while (poly) { in compute_syndromes()
358 i = deg(poly); in compute_syndromes()
362 poly ^= (1 << i); in compute_syndromes()
545 static int find_poly_deg1_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg1_roots() argument
550 if (poly->c[0]) in find_poly_deg1_roots()
[all …]
/linux-4.1.27/lib/xz/
Dxz_crc32.c32 const uint32_t poly = 0xEDB88320; in xz_crc32_init() local
41 r = (r >> 1) ^ (poly & ~((r & 1) - 1)); in xz_crc32_init()
/linux-4.1.27/arch/x86/crypto/
Daesni-intel_avx-x86_64.S117 ## poly = x^128 + x^127 + x^126 + x^121 + 1
148 # u8 shifted_hkey_1[16] store HashKey <<1 mod poly here
149 # u8 shifted_hkey_2[16] store HashKey^2 <<1 mod poly here
150 # u8 shifted_hkey_3[16] store HashKey^3 <<1 mod poly here
151 # u8 shifted_hkey_4[16] store HashKey^4 <<1 mod poly here
152 # u8 shifted_hkey_5[16] store HashKey^5 <<1 mod poly here
153 # u8 shifted_hkey_6[16] store HashKey^6 <<1 mod poly here
154 # u8 shifted_hkey_7[16] store HashKey^7 <<1 mod poly here
155 # u8 shifted_hkey_8[16] store HashKey^8 <<1 mod poly here
156 # u8 shifted_hkey_1_k[16] store XOR HashKey <<1 mod poly here (for Karatsuba purposes)
[all …]
Daesni-intel_asm.S357 # TMP5 = HashKey^2<<1 (mod poly)
359 # HashKey_2 = HashKey^2<<1 (mod poly)
371 # TMP5 = HashKey^3<<1 (mod poly)
384 # TMP5 = HashKey^3<<1 (mod poly)
578 # TMP5 = HashKey^2<<1 (mod poly)
580 # HashKey_2 = HashKey^2<<1 (mod poly)
592 # TMP5 = HashKey^3<<1 (mod poly)
605 # TMP5 = HashKey^3<<1 (mod poly)
1299 # Precompute HashKey<<1 (mod poly) from the hash key (required for GHASH)
1314 pxor %xmm2, %xmm13 # %xmm13 holds the HashKey<<1 (mod poly)
[all …]
/linux-4.1.27/include/linux/
Dpstore_ram.h33 int poly; member
/linux-4.1.27/drivers/crypto/
Dbfin_crc.h71 u32 poly; member
Dbfin_crc.c57 u32 poly; member
662 crc->poly = (u32)pdev->dev.platform_data; in bfin_crypto_crc_probe()
663 writel(crc->poly, &crc->regs->poly); in bfin_crypto_crc_probe()
/linux-4.1.27/arch/m68k/fpsp040/
Dslogn.S35 | log(1+u) = poly.
38 | by k*log(2) + (log(F) + poly). The values of log(F) are calculated
47 | k*log(2) + log(F) + poly where poly approximates log(1+u),
Dsatan.S30 | Step 3. Approximate arctan(u) by a polynomial poly.
32 | Step 4. Return arctan(F) + poly, arctan(F) is fetched from a table of values
/linux-4.1.27/drivers/scsi/libsas/
Dsas_init.c88 const u32 poly = 0x00DB2777; in sas_hash_addr() local
98 r ^= poly; in sas_hash_addr()
100 r ^= poly; in sas_hash_addr()
/linux-4.1.27/fs/pstore/
Dram_core.c235 prz->ecc_info.poly = ecc_info->poly ?: 0x11d; in persistent_ram_init_ecc()
257 prz->rs_decoder = init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, in persistent_ram_init_ecc()
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/iop/
Diop_crc_par_defs.h94 unsigned int poly : 3; member
/linux-4.1.27/drivers/char/hw_random/
Dn2-drv.c452 static u64 advance_polynomial(u64 poly, u64 val, int count) in advance_polynomial() argument
461 val ^= poly; in advance_polynomial()
/linux-4.1.27/drivers/mtd/nand/
Datmel_nand.c1105 static inline int deg(unsigned int poly) in deg() argument
1108 return fls(poly) - 1; in deg()
1111 static int build_gf_tables(int mm, unsigned int poly, in build_gf_tables() argument
1115 const unsigned int k = 1 << deg(poly); in build_gf_tables()
1130 x ^= poly; in build_gf_tables()
1143 unsigned int poly = (sector_size == 512) ? in create_lookup_table() local
1152 if (addr && build_gf_tables(degree, poly, addr, addr + table_size)) in create_lookup_table()
/linux-4.1.27/Documentation/hwmon/
Dltc297839 output poly-phase step-down DC/DC controller. LTC3883 is a single phase
/linux-4.1.27/drivers/net/ethernet/amd/
Dnmclan_cs.c1293 static const int poly[]={ in updateCRC() local
1311 CRC[j] ^= poly[j]; in updateCRC()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c1026 u32 poly = CRCPOLY_LE; in xgbe_vid_crc32_le() local
1043 crc ^= poly; in xgbe_vid_crc32_le()
/linux-4.1.27/drivers/dma/ppc4xx/
Dadma.c4416 static DRIVER_ATTR(poly, S_IRUGO | S_IWUSR, show_ppc440spe_r6poly,
/linux-4.1.27/arch/m68k/ifpsp060/src/
Dfplsp.S7991 # polynomial in u, log(1+u) = poly. #
7995 # by k*log(2) + (log(F) + poly). The values of log(F) are #
8005 # log(1+X) as k*log(2) + log(F) + poly where poly #
Dfpsp.S6168 # Step 3. Approximate arctan(u) by a polynomial poly. #
6170 # Step 4. Return arctan(F) + poly, arctan(F) is fetched from a #