• Home
  • Raw
  • Download

Lines Matching full:smu

175 	s16 *smu;  member
356 /* Reserve space for partial_syn, si and smu */ in atmel_pmecc_create_user()
374 user->smu = user->lmu + (req->ecc.strength + 1); in atmel_pmecc_create_user()
375 user->mu = (s32 *)PTR_ALIGN(user->smu + in atmel_pmecc_create_user()
502 s16 *smu = user->smu; in atmel_pmecc_get_sigma() local
516 memset(smu, 0, sizeof(s16) * num); in atmel_pmecc_get_sigma()
517 smu[0] = 1; in atmel_pmecc_get_sigma()
530 memset(&smu[num], 0, sizeof(s16) * num); in atmel_pmecc_get_sigma()
531 smu[num] = 1; in atmel_pmecc_get_sigma()
542 memset(&smu[(strength + 1) * num], 0, sizeof(s16) * num); in atmel_pmecc_get_sigma()
559 smu[(strength + 1) * num + j] = in atmel_pmecc_get_sigma()
560 smu[i * num + j]; in atmel_pmecc_get_sigma()
568 smu[(i + 1) * num + j] = smu[i * num + j]; in atmel_pmecc_get_sigma()
586 /* Compute degree of the new smu polynomial */ in atmel_pmecc_get_sigma()
592 /* Init smu[i+1] with 0 */ in atmel_pmecc_get_sigma()
594 smu[(i + 1) * num + k] = 0; in atmel_pmecc_get_sigma()
596 /* Compute smu[i+1] */ in atmel_pmecc_get_sigma()
600 if (!(smu[ro * num + k] && dmu[i])) in atmel_pmecc_get_sigma()
605 c = index_of[smu[ro * num + k]]; in atmel_pmecc_get_sigma()
608 smu[(i + 1) * num + (k + diff)] = a; in atmel_pmecc_get_sigma()
612 smu[(i + 1) * num + k] ^= smu[i * num + k]; in atmel_pmecc_get_sigma()
627 } else if (smu[(i + 1) * num + k] && si[tmp + 3 - k]) { in atmel_pmecc_get_sigma()
630 a = index_of[smu[(i + 1) * num + k]]; in atmel_pmecc_get_sigma()
649 s16 *smu = user->smu; in atmel_pmecc_err_location() local
655 writel_relaxed(smu[(strength + 1) * num + i], in atmel_pmecc_err_location()
679 /* Number of roots == degree of smu hence <= cap */ in atmel_pmecc_err_location()
684 * Number of roots does not match the degree of smu in atmel_pmecc_err_location()