Searched refs:rs_decoder (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/
H A Drtc_from4.c138 static struct rs_control *rs_decoder; variable in typeref:struct:rs_control
362 par[5] = rs_decoder->index_of[(((uint16_t) ecc[0] >> 0) & 0x0ff) | (((uint16_t) ecc[1] << 8) & 0x300)];
363 par[4] = rs_decoder->index_of[(((uint16_t) ecc[1] >> 2) & 0x03f) | (((uint16_t) ecc[2] << 6) & 0x3c0)];
364 par[3] = rs_decoder->index_of[(((uint16_t) ecc[2] >> 4) & 0x00f) | (((uint16_t) ecc[3] << 4) & 0x3f0)];
365 par[2] = rs_decoder->index_of[(((uint16_t) ecc[3] >> 6) & 0x003) | (((uint16_t) ecc[4] << 2) & 0x3fc)];
366 par[1] = rs_decoder->index_of[(((uint16_t) ecc[5] >> 0) & 0x0ff) | (((uint16_t) ecc[6] << 8) & 0x300)];
373 if (par[j] != rs_decoder->nn)
374 syn[i] ^= rs_decoder->alpha_to[rs_modnn(rs_decoder, par[j] + i * j)];
377 syn[i] = rs_decoder
[all...]
H A Ddiskonchip.c131 static struct rs_control *rs_decoder; variable in typeref:struct:rs_control
1007 ret = doc_ecc_decode(rs_decoder, dat, calc_ecc);
1713 rs_decoder = init_rs(10, 0x409, FCR, 1, NROOTS);
1714 if (!rs_decoder) {
1738 free_rs(rs_decoder);
1748 if (rs_decoder) {
1749 free_rs(rs_decoder);

Completed in 71 milliseconds