Home
last modified time | relevance | path

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

/linux-4.19.296/lib/reed_solomon/
Ddecode_rs.c22 uint16_t *index_of = rs->index_of; variable
71 alpha_to[rs_modnn(rs, index_of[syn[i]] +
83 alpha_to[rs_modnn(rs, index_of[syn[i]] +
94 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]];
/linux-4.19.296/include/linux/
Drslib.h38 uint16_t *index_of; member