Home
last modified time | relevance | path

Searched refs:index_of (Results 1 – 10 of 10) sorted by relevance

/linux/lib/reed_solomon/
A Ddecode_rs.c22 uint16_t *index_of = rs->index_of; variable
72 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]] +
169 rs_modnn(rs, index_of[lambda[i]]
184 lambda[i] = index_of[lambda[i]];
244 omega[i] = index_of[tmp];
280 index_of[num2] +
[all …]
A Dreed_solomon.c95 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()
A Dencode_rs.c18 uint16_t *index_of = rs->index_of; variable
29 fb = index_of[((((uint16_t) data[i])^invmsk) & msk) ^ par[0]];
A Dtest_rslib.c234 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()
/linux/drivers/mtd/nand/raw/atmel/
A Dpmecc.c138 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()
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()
630 a = index_of[smu[(i + 1) * num + k]]; in atmel_pmecc_get_sigma()
[all …]
/linux/include/linux/
A Drslib.h38 uint16_t *index_of; member
/linux/arch/powerpc/kvm/
A De500.h113 #define index_of(tlbsel, esel) (((tlbsel) << 16) | ((esel) & 0xFFFF)) macro
A De500_mmu.c444 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()
/linux/drivers/mtd/nand/raw/
A Dcafe_nand.c393 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()
A Ddiskonchip.c161 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()

Completed in 19 milliseconds