/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | omap_elm.c | 32 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 D | atmel_nand.c | 750 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 D | gen_crc64table.c | 25 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 D | bch.c | 114 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 D | polynomial.c | 79 long polynomial_calc(const struct polynomial *poly, long data) in polynomial_calc()
|
/openbmc/u-boot/lib/ |
H A D | bch.c | 121 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 D | crc32c.c | 29 const uint32_t poly = pol; /* Bit-reflected CRC32C polynomial */ in crc32c_init() local
|
H A D | crc32.c | 66 uLong poly; /* polynomial exclusive-or pattern */ in make_crc_table() local
|
/openbmc/linux/crypto/ |
H A D | chacha20poly1305.c | 21 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 D | xz_crc32.c | 32 const uint32_t poly = 0xEDB88320; in xz_crc32_init() local
|
/openbmc/u-boot/tools/ |
H A D | pbl_crc32.c | 16 uint32_t poly; /* polynomial exclusive-or pattern */ in make_crc_table() local
|
/openbmc/linux/include/linux/ |
H A D | pstore_ram.h | 17 int poly; member
|
/openbmc/u-boot/drivers/w1-eeprom/ |
H A D | ds2502.c | 39 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 D | pmecc.c | 186 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 D | stm32-crc32.c | 65 u32 poly; member
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_dynamic_config.c | 1372 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 D | sja1105_static_config.h | 288 u64 poly; /* E/T only */ member
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | n2-drv.c | 485 static u64 advance_polynomial(u64 poly, u64 val, int count) in advance_polynomial()
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_init.c | 70 const u32 poly = 0x00DB2777; in sas_hash_addr() local
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | nmclan_cs.c | 1289 static const int poly[]={ in updateCRC() local
|