Searched refs:alpha_to (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/lib/reed_solomon/ |
H A D | encode_rs.c | 24 uint16_t *alpha_to = rs->alpha_to; variable 40 par[j] ^= alpha_to[rs_modnn(rs, fb + 47 par[nroots - 1] = alpha_to[rs_modnn(rs,
|
H A D | decode_rs.c | 27 uint16_t *alpha_to = rs->alpha_to; variable 61 alpha_to[rs_modnn(rs, index_of[syn[i]] + 73 alpha_to[rs_modnn(rs, index_of[syn[i]] + 101 lambda[1] = alpha_to[rs_modnn(rs, 109 alpha_to[rs_modnn(rs, u + tmp)]; 130 alpha_to[rs_modnn(rs, 146 alpha_to[rs_modnn(rs, discr_r + 186 q ^= alpha_to[reg[j]]; 218 alpha_to[rs_modnn(rs, s[i - j] + lambda[j])]; 231 num1 ^= alpha_to[rs_modnn(rs, omega[i] + 234 num2 = alpha_to[rs_modnn(rs, root[j] * (fcr - 1) + nn)]; 241 den ^= alpha_to[rs_modnn(rs, lambda[i + 1] + 247 uint16_t cor = alpha_to[rs_modnn(rs,index_of[num1] +
|
H A D | reed_solomon.c | 88 rs->alpha_to = kmalloc(sizeof(uint16_t) * (rs->nn + 1), GFP_KERNEL); rs_init() 89 if (rs->alpha_to == NULL) rs_init() 102 rs->alpha_to[rs->nn] = 0; /* alpha**-inf = 0 */ rs_init() 107 rs->alpha_to[i] = sr; rs_init() 117 rs->alpha_to[i] = sr; rs_init() 122 if(sr != rs->alpha_to[0]) rs_init() 138 rs->alpha_to[rs_modnn(rs, rs_init() 145 rs->alpha_to[rs_modnn(rs, rs_init() 159 kfree(rs->alpha_to); rs_init() 177 kfree(rs->alpha_to); free_rs()
|
/linux-4.1.27/include/linux/ |
H A D | rslib.h | 29 * @alpha_to: log lookup table 44 uint16_t *alpha_to; member in struct:rs_control
|
/linux-4.1.27/drivers/mtd/nand/ |
H A D | atmel_nand.c | 146 /* lookup table for alpha_to and index_of */ 555 int16_t __iomem *alpha_to = host->pmecc_alpha_to; pmecc_substitute() local 574 si[i] = readw_relaxed(alpha_to + i * j) ^ si[i]; pmecc_substitute() 586 si[i] = readw_relaxed(alpha_to + tmp); pmecc_substitute() 607 int16_t __iomem *alpha_to = host->pmecc_alpha_to; pmecc_get_sigma() local 714 a = readw_relaxed(alpha_to + tmp % cw_len); pmecc_get_sigma() 742 dmu[i + 1] = readw_relaxed(alpha_to + tmp) ^ pmecc_get_sigma() 1112 int16_t *index_of, int16_t *alpha_to) build_gf_tables() 1123 alpha_to[i] = x; build_gf_tables() 1132 alpha_to[nn] = 1; build_gf_tables() 1111 build_gf_tables(int mm, unsigned int poly, int16_t *index_of, int16_t *alpha_to) build_gf_tables() argument
|
H A D | diskonchip.c | 168 s[i] ^= rs->alpha_to[rs_modnn(rs, tmp + (FCR + i) * j)]; doc_ecc_decode()
|
Completed in 152 milliseconds