Searched refs:symsize (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/lib/reed_solomon/
H A Dreed_solomon.c56 * @symsize: symbol size, bits (1-8)
66 static struct rs_control *rs_init(int symsize, int gfpoly, int (*gffunc)(int), rs_init() argument
79 rs->mm = symsize; rs_init()
80 rs->nn = (1 << symsize) - 1; rs_init()
109 if (sr & (1 << symsize)) rs_init()
187 * @symsize: the symbol size (number of bits)
199 static struct rs_control *init_rs_internal(int symsize, int gfpoly, init_rs_internal() argument
207 if (symsize < 1) init_rs_internal()
209 if (fcr < 0 || fcr >= (1<<symsize)) init_rs_internal()
211 if (prim <= 0 || prim >= (1<<symsize)) init_rs_internal()
213 if (nroots < 0 || nroots >= (1<<symsize)) init_rs_internal()
221 if (symsize != rs->mm) init_rs_internal()
239 rs = rs_init(symsize, gfpoly, gffunc, fcr, prim, nroots); init_rs_internal()
251 * @symsize: the symbol size (number of bits)
260 struct rs_control *init_rs(int symsize, int gfpoly, int fcr, int prim, init_rs() argument
263 return init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots); init_rs()
270 * @symsize: the symbol size (number of bits)
279 struct rs_control *init_rs_non_canonical(int symsize, int (*gffunc)(int), init_rs_non_canonical() argument
282 return init_rs_internal(symsize, 0, gffunc, fcr, prim, nroots); init_rs_non_canonical()
/linux-4.4.14/include/linux/
H A Drslib.h80 struct rs_control *init_rs(int symsize, int gfpoly, int fcr, int prim,
82 struct rs_control *init_rs_non_canonical(int symsize, int (*func)(int),
H A Dpstore_ram.h32 int symsize; member in struct:persistent_ram_ecc_info
/linux-4.4.14/fs/pstore/
H A Dram_core.c234 prz->ecc_info.symsize = ecc_info->symsize ?: 8; persistent_ram_init_ecc()
257 prz->rs_decoder = init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, persistent_ram_init_ecc()
/linux-4.4.14/arch/blackfin/kernel/
H A Dtrace.c36 unsigned long symsize; decode_address() local
47 symname = kallsyms_lookup(address, &symsize, &offset, &modname, namebuf); decode_address()

Completed in 206 milliseconds