| /OK3568_Linux_fs/kernel/lib/reed_solomon/ |
| H A D | decode_rs.c | 22 uint16_t *index_of = rs->index_of; variable 72 alpha_to[rs_modnn(rs, index_of[syn[i]] + 84 alpha_to[rs_modnn(rs, index_of[syn[i]] + 95 s[i] = index_of[s[i]]; 116 tmp = index_of[lambda[j - 1]]; 126 b[i] = index_of[lambda[i]]; 141 index_of[lambda[i]] + 145 discr_r = index_of[discr_r]; /* Index form */ 169 rs_modnn(rs, index_of[lambda[i]] 184 lambda[i] = index_of[lambda[i]]; [all …]
|
| H A D | reed_solomon.c | 95 rs->index_of = kmalloc_array(rs->nn + 1, sizeof(uint16_t), gfp); in codec_init() 96 if (rs->index_of == NULL) in codec_init() 104 rs->index_of[0] = rs->nn; /* log(zero) = -inf */ in codec_init() 109 rs->index_of[sr] = i; in codec_init() 119 rs->index_of[sr] = i; in codec_init() 142 rs->index_of[rs->genpoly[j]] + root)]; in codec_init() 149 rs->index_of[rs->genpoly[0]] + root)]; in codec_init() 153 rs->genpoly[i] = rs->index_of[rs->genpoly[i]]; in codec_init() 161 kfree(rs->index_of); in codec_init() 189 kfree(cd->index_of); in free_rs()
|
| H A D | encode_rs.c | 18 uint16_t *index_of = rs->index_of; variable 29 fb = index_of[((((uint16_t) data[i])^invmsk) & msk) ^ par[0]];
|
| H A D | test_rslib.c | 234 uint16_t *index_of = rs->index_of; in compute_syndrome() local 248 alpha_to[rs_modnn(rs, index_of[syn[i]] in compute_syndrome() 256 syn[i] = rs->index_of[syn[i]]; in compute_syndrome()
|
| /OK3568_Linux_fs/external/rkupdate/ |
| H A D | CRC.cpp | 83 UINT alpha_to[nn + 1], index_of[nn + 1] ; // Galois field variable 303 … gg[j] = gg[j - 1] ^ alpha_to[(index_of[gg[j]] + index_of[alpha_to[gen_roots[i]]]) % nn] ; in gen_poly() 309 gg[0] = alpha_to[(index_of[gg[0]] + index_of[alpha_to[gen_roots[i]]]) % nn] ; in gen_poly() 431 index_of[alpha_to[i]] = i ; in generate_gf() 439 index_of[alpha_to[mm]] = mm ; in generate_gf() 452 index_of[alpha_to[i]] = i ; in generate_gf() 454 index_of[0] = -1 ; in generate_gf()
|
| /OK3568_Linux_fs/external/recovery/update_engine/ |
| H A D | crc.c | 99 UINT alpha_to[nn + 1], index_of[nn + 1] ; // Galois field variable 287 … gg[j] = gg[j - 1] ^ alpha_to[(index_of[gg[j]] + index_of[alpha_to[gen_roots[i]]]) % nn] ; in gen_poly() 290 gg[0] = alpha_to[(index_of[gg[0]] + index_of[alpha_to[gen_roots[i]]]) % nn] ; in gen_poly() 343 index_of[alpha_to[i]] = i ; in generate_gf() 349 index_of[alpha_to[mm]] = mm ; in generate_gf() 357 index_of[alpha_to[i]] = i ; in generate_gf() 359 index_of[0] = -1 ; in generate_gf()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/atmel/ |
| H A D | pmecc.c | 138 u16 *index_of; member 205 gf_tables->index_of[x] = i; in atmel_pmecc_build_gf_tables() 214 gf_tables->index_of[0] = 0; in atmel_pmecc_build_gf_tables() 243 gf_tables->index_of = gf_tables->alpha_to + table_size; in atmel_pmecc_create_gf_tables() 452 s16 *index_of = user->gf_tables->index_of; in atmel_pmecc_substitute() local 480 tmp = index_of[si[j]]; in atmel_pmecc_substitute() 498 s16 *index_of = user->gf_tables->index_of; in atmel_pmecc_get_sigma() local 603 a = index_of[dmu[i]]; in atmel_pmecc_get_sigma() 604 b = index_of[dmu[ro]]; in atmel_pmecc_get_sigma() 605 c = index_of[smu[ro * num + k]]; in atmel_pmecc_get_sigma() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | atmel_nand.c | 183 int16_t __iomem *index_of = host->pmecc_index_of; in pmecc_substitute() local 211 tmp = readw(index_of + si[j]); in pmecc_substitute() 241 int16_t __iomem *index_of = host->pmecc_index_of; in pmecc_get_sigma() local 345 a = readw(index_of + dmu[i]); in pmecc_get_sigma() 346 b = readw(index_of + dmu[ro]); in pmecc_get_sigma() 347 c = readw(index_of + smu[ro * num + k]); in pmecc_get_sigma() 371 a = readw(index_of + in pmecc_get_sigma() 374 c = readw(index_of + b); in pmecc_get_sigma() 758 int16_t *index_of, int16_t *alpha_to) in build_gf_tables() argument 770 index_of[x] = i; in build_gf_tables() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | rslib.h | 38 uint16_t *index_of; member
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/tao_tuple/28626e99/include/tao/tuple/ |
| H A D | tuple.hpp | 625 using index_of = index_of_impl< seq::index_sequence_for< Ts... >, T, Ts... >; typedef 633 return get< impl::index_of< T, Ts... >::value >( v ); in get() 640 return get< impl::index_of< T, Ts... >::value >( v ); in get() 647 return get< impl::index_of< T, Ts... >::value >( std::move( v ) ); in get()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | e500.h | 113 #define index_of(tlbsel, esel) (((tlbsel) << 16) | ((esel) & 0xFFFF)) macro
|
| H A D | e500_mmu.c | 444 kvmppc_mmu_map(vcpu, eaddr, raddr, index_of(tlbsel, esel)); in kvmppc_e500_emul_tlbwe() 462 return index_of(tlbsel, esel); in kvmppc_e500_tlb_search()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | cafe_nand.c | 393 syn[i] = cafe->rs->codec->index_of[tmp & 0xfff]; in cafe_nand_read_page() 394 syn[i+1] = cafe->rs->codec->index_of[(tmp >> 16) & 0xfff]; in cafe_nand_read_page()
|
| H A D | diskonchip.c | 161 tmp = cd->index_of[ds[j]]; in doc_ecc_decode() 169 syn[i] = rs_modnn(cd, cd->index_of[s[i]] + (NN - FCR - i)); in doc_ecc_decode()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/container/ |
| H A D | vector.hpp | 1647 size_type index_of(iterator p) BOOST_NOEXCEPT_OR_NOTHROW in index_of() function in boost::container::vector 1663 size_type index_of(const_iterator p) const BOOST_NOEXCEPT_OR_NOTHROW in index_of() function in boost::container::vector
|