Home
last modified time | relevance | path

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

/Linux-v5.10/lib/reed_solomon/
Ddecode_rs.c22 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 …]
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()
Dencode_rs.c18 uint16_t *index_of = rs->index_of; variable
29 fb = index_of[((((uint16_t) data[i])^invmsk) & msk) ^ par[0]];
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-v5.10/drivers/mtd/nand/raw/atmel/
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()
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 …]
/Linux-v5.10/include/linux/
Drslib.h38 uint16_t *index_of; member
/Linux-v5.10/arch/powerpc/kvm/
De500.h113 #define index_of(tlbsel, esel) (((tlbsel) << 16) | ((esel) & 0xFFFF)) macro
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-v5.10/drivers/mtd/nand/raw/
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()
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()