Searched refs:index_of (Results 1 - 9 of 9) sorted by relevance
/linux-4.1.27/lib/reed_solomon/ |
H A D | encode_rs.c | 25 uint16_t *index_of = rs->index_of; variable 36 fb = index_of[((((uint16_t) data[i])^invmsk) & msk) ^ par[0]];
|
H A D | decode_rs.c | 28 uint16_t *index_of = rs->index_of; variable 61 alpha_to[rs_modnn(rs, index_of[syn[i]] + 73 alpha_to[rs_modnn(rs, index_of[syn[i]] + 84 s[i] = index_of[s[i]]; 106 tmp = index_of[lambda[j - 1]]; 116 b[i] = index_of[lambda[i]]; 131 index_of[lambda[i]] + 135 discr_r = index_of[discr_r]; /* Index form */ 159 rs_modnn(rs, index_of[lambda[i]] 174 lambda[i] = index_of[lambda[i]]; 220 omega[i] = index_of[tmp]; 247 uint16_t cor = alpha_to[rs_modnn(rs,index_of[num1] + 248 index_of[num2] + 249 nn - index_of[den])];
|
H A D | reed_solomon.c | 92 rs->index_of = kmalloc(sizeof(uint16_t) * (rs->nn + 1), GFP_KERNEL); rs_init() 93 if (rs->index_of == NULL) rs_init() 101 rs->index_of[0] = rs->nn; /* log(zero) = -inf */ rs_init() 106 rs->index_of[sr] = i; rs_init() 116 rs->index_of[sr] = i; rs_init() 139 rs->index_of[rs->genpoly[j]] + root)]; rs_init() 146 rs->index_of[rs->genpoly[0]] + root)]; rs_init() 150 rs->genpoly[i] = rs->index_of[rs->genpoly[i]]; rs_init() 157 kfree(rs->index_of); rs_init() 178 kfree(rs->index_of); free_rs()
|
/linux-4.1.27/include/linux/ |
H A D | rslib.h | 30 * @index_of: Antilog lookup table 45 uint16_t *index_of; member in struct:rs_control
|
/linux-4.1.27/drivers/mtd/nand/ |
H A D | atmel_nand.c | 146 /* lookup table for alpha_to and index_of */ 556 int16_t __iomem *index_of = host->pmecc_index_of; pmecc_substitute() local 584 tmp = readw_relaxed(index_of + si[j]); pmecc_substitute() 606 int16_t __iomem *index_of = host->pmecc_index_of; pmecc_get_sigma() local 710 a = readw_relaxed(index_of + dmu[i]); pmecc_get_sigma() 711 b = readw_relaxed(index_of + dmu[ro]); pmecc_get_sigma() 712 c = readw_relaxed(index_of + smu[ro * num + k]); pmecc_get_sigma() 736 a = readw_relaxed(index_of + pmecc_get_sigma() 739 c = readw_relaxed(index_of + b); pmecc_get_sigma() 1112 int16_t *index_of, int16_t *alpha_to) build_gf_tables() 1124 index_of[x] = i; build_gf_tables() 1133 index_of[0] = 0; build_gf_tables() 1111 build_gf_tables(int mm, unsigned int poly, int16_t *index_of, int16_t *alpha_to) build_gf_tables() argument
|
H A D | cafe_nand.c | 398 syn[i] = cafe->rs->index_of[tmp & 0xfff]; cafe_nand_read_page() 399 syn[i+1] = cafe->rs->index_of[(tmp >> 16) & 0xfff]; cafe_nand_read_page()
|
H A D | diskonchip.c | 166 tmp = rs->index_of[ds[j]]; doc_ecc_decode() 174 syn[i] = rs_modnn(rs, rs->index_of[s[i]] + (NN - FCR - i)); doc_ecc_decode()
|
/linux-4.1.27/arch/powerpc/kvm/ |
H A D | e500.h | 116 #define index_of(tlbsel, esel) (((tlbsel) << 16) | ((esel) & 0xFFFF)) macro
|
H A D | e500_mmu.c | 447 kvmppc_mmu_map(vcpu, eaddr, raddr, index_of(tlbsel, esel)); kvmppc_e500_emul_tlbwe() 465 return index_of(tlbsel, esel); kvmppc_e500_tlb_search()
|
Completed in 133 milliseconds