Searched refs:index_of (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/lib/reed_solomon/ |
H A D | decode_rs.c | 22 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 D | reed_solomon.c | 95 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 D | encode_rs.c | 18 uint16_t *index_of = rs->index_of; variable 29 fb = index_of[((((uint16_t) data[i])^invmsk) & msk) ^ par[0]];
|
H A D | test_rslib.c | 234 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 D | pmecc.c | 138 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 D | atmel_nand.c | 182 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 D | rslib.h | 38 uint16_t *index_of; member
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | e500.h | 113 #define index_of(tlbsel, esel) (((tlbsel) << 16) | ((esel) & 0xFFFF)) macro
|
H A D | e500_mmu.c | 444 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 D | cafe_nand.c | 393 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 D | diskonchip.c | 161 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()
|