Home
last modified time | relevance | path

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

/openbmc/linux/lib/reed_solomon/
H A Ddecode_rs.c22 uint16_t *index_of = rs->index_of; variable
72 alpha_to[rs_modnn(rs, index_of[syn[i]] +
95 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]] +
169 rs_modnn(rs, index_of[lambda[i]]
184 lambda[i] = index_of[lambda[i]];
244 omega[i] = index_of[tmp];
280 index_of[num2] +
[all …]
H A 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()
H A Dencode_rs.c18 uint16_t *index_of = rs->index_of; variable
29 fb = index_of[((((uint16_t) data[i])^invmsk) & msk) ^ par[0]];
H A Dtest_rslib.c234 uint16_t *index_of = rs->index_of; in compute_syndrome() local
248 alpha_to[rs_modnn(rs, index_of[syn[i]] in compute_syndrome()
256 syn[i] = rs->index_of[syn[i]]; in compute_syndrome()
/openbmc/linux/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c138 u16 *index_of; member
205 gf_tables->index_of[x] = i; in atmel_pmecc_build_gf_tables()
214 gf_tables->index_of[0] = 0; in atmel_pmecc_build_gf_tables()
452 s16 *index_of = user->gf_tables->index_of; in atmel_pmecc_substitute() local
480 tmp = index_of[si[j]]; in atmel_pmecc_substitute()
498 s16 *index_of = user->gf_tables->index_of; in atmel_pmecc_get_sigma() local
603 a = index_of[dmu[i]]; in atmel_pmecc_get_sigma()
604 b = index_of[dmu[ro]]; in atmel_pmecc_get_sigma()
605 c = index_of[smu[ro * num + k]]; in atmel_pmecc_get_sigma()
630 a = index_of[smu[(i + 1) * num + k]]; in atmel_pmecc_get_sigma()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Datmel_nand.c182 int16_t __iomem *index_of = host->pmecc_index_of; in pmecc_substitute() local
210 tmp = readw(index_of + si[j]); in pmecc_substitute()
240 int16_t __iomem *index_of = host->pmecc_index_of; in pmecc_get_sigma() local
344 a = readw(index_of + dmu[i]); in pmecc_get_sigma()
345 b = readw(index_of + dmu[ro]); in pmecc_get_sigma()
346 c = readw(index_of + smu[ro * num + k]); in pmecc_get_sigma()
370 a = readw(index_of + in pmecc_get_sigma()
373 c = readw(index_of + b); in pmecc_get_sigma()
757 int16_t *index_of, int16_t *alpha_to) in build_gf_tables() argument
769 index_of[x] = i; in build_gf_tables()
[all …]
/openbmc/linux/include/linux/
H A Drslib.h38 uint16_t *index_of; member
/openbmc/linux/arch/powerpc/kvm/
H A De500.h113 #define index_of(tlbsel, esel) (((tlbsel) << 16) | ((esel) & 0xFFFF)) macro
H A De500_mmu.c444 kvmppc_mmu_map(vcpu, eaddr, raddr, index_of(tlbsel, esel)); in kvmppc_e500_emul_tlbwe()
462 return index_of(tlbsel, esel); in kvmppc_e500_tlb_search()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dcafe_nand.c393 syn[i] = cafe->rs->codec->index_of[tmp & 0xfff]; in cafe_nand_read_page()
394 syn[i+1] = cafe->rs->codec->index_of[(tmp >> 16) & 0xfff]; in cafe_nand_read_page()
H A Ddiskonchip.c161 tmp = cd->index_of[ds[j]]; in doc_ecc_decode()
169 syn[i] = rs_modnn(cd, cd->index_of[s[i]] + (NN - FCR - i)); in doc_ecc_decode()