tag | line | file | source code |
gfpow | 129 | drivers/char/ftape/ecc.c | static const unsigned char gfpow[] = |
gfpow | 291 | drivers/char/ftape/ecc.c | return gfpow[mod255(gflog[a] + gflog[b])]; |
gfpow | 305 | drivers/char/ftape/ecc.c | return gfpow[mod255(gflog[a] + b)]; |
gfpow | 324 | drivers/char/ftape/ecc.c | ((t = a >> 24 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 24) : 0) | |
gfpow | 325 | drivers/char/ftape/ecc.c | ((t = a >> 16 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 16) : 0) | |
gfpow | 326 | drivers/char/ftape/ecc.c | ((t = a >> 8 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 8) : 0) | |
gfpow | 327 | drivers/char/ftape/ecc.c | ((t = a >> 0 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 0) : 0); |
gfpow | 332 | drivers/char/ftape/ecc.c | ((t = a >> 56 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 56) : 0) | |
gfpow | 333 | drivers/char/ftape/ecc.c | ((t = a >> 48 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 48) : 0) | |
gfpow | 334 | drivers/char/ftape/ecc.c | ((t = a >> 40 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 40) : 0) | |
gfpow | 335 | drivers/char/ftape/ecc.c | ((t = a >> 32 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 32) : 0) | |
gfpow | 336 | drivers/char/ftape/ecc.c | ((t = a >> 24 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 24) : 0) | |
gfpow | 337 | drivers/char/ftape/ecc.c | ((t = a >> 16 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 16) : 0) | |
gfpow | 338 | drivers/char/ftape/ecc.c | ((t = a >> 8 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 8) : 0) | |
gfpow | 339 | drivers/char/ftape/ecc.c | ((t = a >> 0 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 0) : 0); |
gfpow | 361 | drivers/char/ftape/ecc.c | return gfpow[mod255(gflog[a] - gflog[b])]; |
gfpow | 392 | drivers/char/ftape/ecc.c | t20 = gfpow[l2 - l0]; /* t20 = r^l2/r^l0 */ |
gfpow | 393 | drivers/char/ftape/ecc.c | t10 = gfpow[l1 - l0]; /* t10 = r^l1/r^l0 */ |
gfpow | 394 | drivers/char/ftape/ecc.c | t21 = gfpow[l2 - l1]; /* t21 = r^l2/r^l1 */ |
gfpow | 395 | drivers/char/ftape/ecc.c | t12 = gfpow[l1 - l2 + 255]; /* t12 = r^l1/r^l2 */ |
gfpow | 396 | drivers/char/ftape/ecc.c | t01 = gfpow[l0 - l1 + 255]; /* t01 = r^l0/r^l1 */ |
gfpow | 397 | drivers/char/ftape/ecc.c | t02 = gfpow[l0 - l2 + 255]; /* t02 = r^l0/r^l2 */ |
gfpow | 413 | drivers/char/ftape/ecc.c | Ainv[0][0] = gfmul_exp(gfadd(gfpow[l1], gfpow[l2]), log_det); |
gfpow | 415 | drivers/char/ftape/ecc.c | Ainv[0][2] = gfmul_exp(gfadd(gfpow[255 - l1], gfpow[255 - l2]), log_det); |
gfpow | 417 | drivers/char/ftape/ecc.c | Ainv[1][0] = gfmul_exp(gfadd(gfpow[l0], gfpow[l2]), log_det); |
gfpow | 419 | drivers/char/ftape/ecc.c | Ainv[1][2] = gfmul_exp(gfadd(gfpow[255 - l0], gfpow[255 - l2]), log_det); |
gfpow | 421 | drivers/char/ftape/ecc.c | Ainv[2][0] = gfmul_exp(gfadd(gfpow[l0], gfpow[l1]), log_det); |
gfpow | 423 | drivers/char/ftape/ecc.c | Ainv[2][2] = gfmul_exp(gfadd(gfpow[255 - l0], gfpow[255 - l1]), log_det); |
gfpow | 437 | drivers/char/ftape/ecc.c | t1 = gfpow[255 - l0]; |
gfpow | 438 | drivers/char/ftape/ecc.c | t2 = gfpow[255 - l1]; |
gfpow | 450 | drivers/char/ftape/ecc.c | Ainv[0][0] = Ainv[1][0] = gfpow[log_det]; |
gfpow | 659 | drivers/char/ftape/ecc.c | Ainv[0][0] = gfpow[bad_loc[0]]; |
gfpow | 715 | drivers/char/ftape/ecc.c | c0 = gfadd(c0, gfpow[mod255(log_error_mag - l)]); |
gfpow | 717 | drivers/char/ftape/ecc.c | c2 = gfadd(c2, gfpow[mod255(log_error_mag + l)]); |