Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Domap_elm.c32 static void elm_load_syndromes(u8 *syndrome, enum bch_level bch_type, u8 poly) in elm_load_syndromes()
96 u8 poly = ELM_DEFAULT_POLY; in elm_check_error() local
146 u8 poly = ELM_DEFAULT_POLY; in elm_config() local
H A Datmel_nand.c750 static inline int deg(unsigned int poly) in deg()
756 static int build_gf_tables(int mm, unsigned int poly, in build_gf_tables()
789 unsigned int poly = (sector_size == 512) ? in create_lookup_table() local
/openbmc/linux/lib/
H A Dgen_crc64table.c25 static void generate_reflected_crc64_table(uint64_t table[256], uint64_t poly) in generate_reflected_crc64_table()
43 static void generate_crc64_table(uint64_t table[256], uint64_t poly) in generate_crc64_table()
H A Dbch.c114 struct gf_poly poly; member
308 static inline int deg(unsigned int poly) in deg()
375 uint32_t poly; in compute_syndromes() local
578 static int find_poly_deg1_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg1_roots()
593 static int find_poly_deg2_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg2_roots()
635 static int find_poly_deg3_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg3_roots()
668 static int find_poly_deg4_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg4_roots()
908 struct gf_poly *poly, unsigned int *roots) in find_poly_roots()
1086 static int build_gf_tables(struct bch_control *bch, unsigned int poly) in build_gf_tables()
H A Dpolynomial.c79 long polynomial_calc(const struct polynomial *poly, long data) in polynomial_calc()
/openbmc/u-boot/lib/
H A Dbch.c121 struct gf_poly poly; member
321 static inline int deg(unsigned int poly) in deg()
388 uint32_t poly; in compute_syndromes() local
591 static int find_poly_deg1_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg1_roots()
606 static int find_poly_deg2_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg2_roots()
648 static int find_poly_deg3_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg3_roots()
681 static int find_poly_deg4_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg4_roots()
921 struct gf_poly *poly, unsigned int *roots) in find_poly_roots()
1096 static int build_gf_tables(struct bch_control *bch, unsigned int poly) in build_gf_tables()
H A Dcrc32c.c29 const uint32_t poly = pol; /* Bit-reflected CRC32C polynomial */ in crc32c_init() local
H A Dcrc32.c66 uLong poly; /* polynomial exclusive-or pattern */ in make_crc_table() local
/openbmc/linux/crypto/
H A Dchacha20poly1305.c21 struct crypto_ahash_spawn poly; member
27 struct crypto_ahash *poly; member
65 struct poly_req poly; member
506 struct crypto_ahash *poly; in chachapoly_init() local
562 struct hash_alg_common *poly; in chachapoly_create() local
/openbmc/linux/lib/xz/
H A Dxz_crc32.c32 const uint32_t poly = 0xEDB88320; in xz_crc32_init() local
/openbmc/u-boot/tools/
H A Dpbl_crc32.c16 uint32_t poly; /* polynomial exclusive-or pattern */ in make_crc_table() local
/openbmc/linux/include/linux/
H A Dpstore_ram.h17 int poly; member
/openbmc/u-boot/drivers/w1-eeprom/
H A Dds2502.c39 static const u8 poly = 0x8C; /* (1 + x^4 + x^5) + x^8 */ in ds2502_crc8() local
/openbmc/linux/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c186 static inline int deg(unsigned int poly) in deg()
192 static int atmel_pmecc_build_gf_tables(int mm, unsigned int poly, in atmel_pmecc_build_gf_tables()
223 unsigned int poly, degree, table_size; in atmel_pmecc_create_gf_tables() local
/openbmc/linux/drivers/crypto/stm32/
H A Dstm32-crc32.c65 u32 poly; member
/openbmc/linux/drivers/net/dsa/sja1105/
H A Dsja1105_dynamic_config.c1372 static u8 sja1105_crc8_add(u8 crc, u8 byte, u8 poly) in sja1105_crc8_add()
1400 u8 poly = (u8)(1 + (poly_koopman << 1)); in sja1105et_fdb_hash() local
H A Dsja1105_static_config.h288 u64 poly; /* E/T only */ member
/openbmc/linux/drivers/char/hw_random/
H A Dn2-drv.c485 static u64 advance_polynomial(u64 poly, u64 val, int count) in advance_polynomial()
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_init.c70 const u32 poly = 0x00DB2777; in sas_hash_addr() local
/openbmc/linux/drivers/net/ethernet/amd/
H A Dnmclan_cs.c1289 static const int poly[]={ in updateCRC() local