Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/lib/
H A Dbch.c91 #define BCH_ECC_WORDS(_p) DIV_ROUND_UP(GF_M(_p)*GF_T(_p), 32) macro
169 const int l = BCH_ECC_WORDS(bch)-1; in bch_encode_unaligned()
190 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in load_ecc8()
212 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in store_ecc8()
244 const unsigned int l = BCH_ECC_WORDS(bch)-1; in bch_encode()
248 const size_t r_bytes = BCH_ECC_WORDS(bch) * sizeof(*r); in bch_encode()
1057 const unsigned int ecc_words = BCH_ECC_WORDS(bch); in bch_decode()
1152 const int l = BCH_ECC_WORDS(bch); in build_mod8_tables()
/OK3568_Linux_fs/u-boot/lib/
H A Dbch.c95 #define BCH_ECC_WORDS(_p) DIV_ROUND_UP(GF_M(_p)*GF_T(_p), 32) macro
161 const int l = BCH_ECC_WORDS(bch)-1; in encode_bch_unaligned()
180 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in load_ecc8()
196 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in store_ecc8()
228 const unsigned int l = BCH_ECC_WORDS(bch)-1; in encode_bch()
1030 const unsigned int ecc_words = BCH_ECC_WORDS(bch); in decode_bch()
1122 const int l = BCH_ECC_WORDS(bch); in build_mod8_tables()