Home
last modified time | relevance | path

Searched refs:alpha_to (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/lib/reed_solomon/
Ddecode_rs.c21 uint16_t *alpha_to = rs->alpha_to; variable
72 alpha_to[rs_modnn(rs, index_of[syn[i]] +
84 alpha_to[rs_modnn(rs, index_of[syn[i]] +
111 lambda[1] = alpha_to[rs_modnn(rs,
119 alpha_to[rs_modnn(rs, u + tmp)];
140 alpha_to[rs_modnn(rs,
156 alpha_to[rs_modnn(rs, discr_r +
205 q ^= alpha_to[reg[j]];
242 alpha_to[rs_modnn(rs, s[i - j] + lambda[j])];
257 num1 ^= alpha_to[rs_modnn(rs, omega[i] +
[all …]
Dreed_solomon.c91 rs->alpha_to = kmalloc_array(rs->nn + 1, sizeof(uint16_t), gfp); in codec_init()
92 if (rs->alpha_to == NULL) in codec_init()
105 rs->alpha_to[rs->nn] = 0; /* alpha**-inf = 0 */ in codec_init()
110 rs->alpha_to[i] = sr; in codec_init()
120 rs->alpha_to[i] = sr; in codec_init()
125 if(sr != rs->alpha_to[0]) in codec_init()
141 rs->alpha_to[rs_modnn(rs, in codec_init()
148 rs->alpha_to[rs_modnn(rs, in codec_init()
162 kfree(rs->alpha_to); in codec_init()
188 kfree(cd->alpha_to); in free_rs()
Dencode_rs.c17 uint16_t *alpha_to = rs->alpha_to; variable
33 par[j] ^= alpha_to[rs_modnn(rs, fb +
40 par[nroots - 1] = alpha_to[rs_modnn(rs,
Dtest_rslib.c233 uint16_t *alpha_to = rs->alpha_to; in compute_syndrome() local
248 alpha_to[rs_modnn(rs, index_of[syn[i]] in compute_syndrome()
/Linux-v6.1/drivers/mtd/nand/raw/atmel/
Dpmecc.c137 u16 *alpha_to; member
204 gf_tables->alpha_to[i] = x; in atmel_pmecc_build_gf_tables()
213 gf_tables->alpha_to[nn] = 1; in atmel_pmecc_build_gf_tables()
242 gf_tables->alpha_to = (void *)(gf_tables + 1); in atmel_pmecc_create_gf_tables()
243 gf_tables->index_of = gf_tables->alpha_to + table_size; in atmel_pmecc_create_gf_tables()
451 s16 *alpha_to = user->gf_tables->alpha_to; in atmel_pmecc_substitute() local
470 si[i] = alpha_to[i * j] ^ si[i]; in atmel_pmecc_substitute()
482 si[i] = alpha_to[tmp]; in atmel_pmecc_substitute()
499 s16 *alpha_to = user->gf_tables->alpha_to; in atmel_pmecc_get_sigma() local
607 a = alpha_to[tmp % cw_len]; in atmel_pmecc_get_sigma()
[all …]
/Linux-v6.1/include/linux/
Drslib.h37 uint16_t *alpha_to; member
/Linux-v6.1/drivers/mtd/nand/raw/
Ddiskonchip.c163 s[i] ^= cd->alpha_to[rs_modnn(cd, tmp + (FCR + i) * j)]; in doc_ecc_decode()