Home
last modified time | relevance | path

Searched refs:BCH_ECC_WORDS (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/lib/
H A Dbch.c92 #define BCH_ECC_WORDS(_p) DIV_ROUND_UP(GF_M(_p)*GF_T(_p), 32) macro
135 const int l = BCH_ECC_WORDS(bch)-1; in bch_encode_unaligned()
156 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in load_ecc8()
178 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in store_ecc8()
210 const unsigned int l = BCH_ECC_WORDS(bch)-1; in bch_encode()
214 const size_t r_bytes = BCH_ECC_WORDS(bch) * sizeof(*r); in bch_encode()
1023 const unsigned int ecc_words = BCH_ECC_WORDS(bch); in bch_decode()
1118 const int l = BCH_ECC_WORDS(bch); in build_mod8_tables()
/openbmc/u-boot/lib/
H A Dbch.c101 #define BCH_ECC_WORDS(_p) DIV_ROUND_UP(GF_M(_p)*GF_T(_p), 32) macro
167 const int l = BCH_ECC_WORDS(bch)-1; in encode_bch_unaligned()
186 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in load_ecc8()
202 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in store_ecc8()
234 const unsigned int l = BCH_ECC_WORDS(bch)-1; in encode_bch()
1036 const unsigned int ecc_words = BCH_ECC_WORDS(bch); in decode_bch()
1128 const int l = BCH_ECC_WORDS(bch); in build_mod8_tables()