Lines Matching refs:rows
432 static int solve_linear_system(struct bch_control *bch, unsigned int *rows, in solve_linear_system() argument
448 if (rows[r] & mask) { in solve_linear_system()
450 tmp = rows[r]; in solve_linear_system()
451 rows[r] = rows[p]; in solve_linear_system()
452 rows[p] = tmp; in solve_linear_system()
460 tmp = rows[p]; in solve_linear_system()
462 if (rows[r] & mask) in solve_linear_system()
463 rows[r] ^= tmp; in solve_linear_system()
475 if ((r > m-1-k) && rows[r]) in solve_linear_system()
479 rows[r] = (p && (r == param[p-1])) ? in solve_linear_system()
480 p--, 1u << (m-r) : rows[r-p]; in solve_linear_system()
491 rows[param[c]] = (rows[param[c]] & ~1)|((p >> c) & 1); in solve_linear_system()
496 mask = rows[r] & (tmp|1); in solve_linear_system()
514 unsigned int mask = 0xff, t, rows[16] = {0,}; in find_affine4_roots() local
518 rows[0] = c; in find_affine4_roots()
522 rows[i+1] = bch->a_pow_tab[4*i]^ in find_affine4_roots()
534 t = ((rows[k] >> j)^rows[k+j]) & mask; in find_affine4_roots()
535 rows[k] ^= (t << j); in find_affine4_roots()
536 rows[k+j] ^= t; in find_affine4_roots()
539 return solve_linear_system(bch, rows, roots, 4); in find_affine4_roots()