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

/linux-master/lib/reed_solomon/
H A 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[lambd
[all...]
H A Dencode_rs.c18 uint16_t *index_of = rs->index_of; variable
29 fb = index_of[((((uint16_t) data[i])^invmsk) & msk) ^ par[0]];
H A Dreed_solomon.c95 rs->index_of = kmalloc_array(rs->nn + 1, sizeof(uint16_t), gfp);
96 if (rs->index_of == NULL)
104 rs->index_of[0] = rs->nn; /* log(zero) = -inf */
109 rs->index_of[sr] = i;
119 rs->index_of[sr] = i;
142 rs->index_of[rs->genpoly[j]] + root)];
149 rs->index_of[rs->genpoly[0]] + root)];
153 rs->genpoly[i] = rs->index_of[rs->genpoly[i]];
161 kfree(rs->index_of);
189 kfree(cd->index_of);
[all...]
H A Dtest_rslib.c234 uint16_t *index_of = rs->index_of; local
248 alpha_to[rs_modnn(rs, index_of[syn[i]]
256 syn[i] = rs->index_of[syn[i]];
/linux-master/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c138 u16 *index_of; member in struct:atmel_pmecc_gf_tables
205 gf_tables->index_of[x] = i;
214 gf_tables->index_of[0] = 0;
243 gf_tables->index_of = gf_tables->alpha_to + table_size;
452 s16 *index_of = user->gf_tables->index_of; local
480 tmp = index_of[si[j]];
498 s16 *index_of = user->gf_tables->index_of; local
603 a = index_of[dm
[all...]
/linux-master/include/linux/
H A Drslib.h22 * @index_of: Antilog lookup table
37 uint16_t *index_of; member in struct:rs_codec
/linux-master/arch/powerpc/kvm/
H A De500.h113 #define index_of(tlbsel, esel) (((tlbsel) << 16) | ((esel) & 0xFFFF)) macro
H A De500_mmu.c444 kvmppc_mmu_map(vcpu, eaddr, raddr, index_of(tlbsel, esel));
462 return index_of(tlbsel, esel);
/linux-master/drivers/mtd/nand/raw/
H A Dcafe_nand.c393 syn[i] = cafe->rs->codec->index_of[tmp & 0xfff];
394 syn[i+1] = cafe->rs->codec->index_of[(tmp >> 16) & 0xfff];
H A Ddiskonchip.c161 tmp = cd->index_of[ds[j]];
169 syn[i] = rs_modnn(cd, cd->index_of[s[i]] + (NN - FCR - i));

Completed in 162 milliseconds