Lines Matching refs:rce
3073 uint32 hwv, fw, rce, e, sign, row, st;
3091 rce = hndotp_otpr(oh, cc, fw+1) << 16 | hndotp_otpr(oh, cc, fw);
3092 rce >>= ((e * OTP_RCE_BITS) + OTP_RCE_BIT0 - (e * 16));
3093 row = rce & OTP_RCE_ROW_MASK;
3094 sign = (rce >> OTP_RCE_ROW_SZ) & OTP_RCE_SIGN_MASK;
3096 OTP_MSG(("rce %d sign %x row %d hwv %x\n", i, sign, row, hwv));
3104 int i, rce = -1;
3111 for (rce = OTP_RCE_ROW_SZ -1; rce >= 0; rce--) {
3114 int rr = hndotp_valid_rce(oh, cc, rce);
3119 __FUNCTION__, r, rce));
3127 * previously used bad rce entry maybe treaed as valid rce and used again, abort on
3133 err += hndotp_write_word(oh, cc, hndotp_size(oh)/2+OTP_RD_OFF+rce*4+i,
3136 OTP_MSG(("fail to write redundant row %d\n", rce));
3142 if (rce < 3) {
3143 e = rce;
3146 e = rce - 3;
3157 " number bit %x\n", __FUNCTION__, r, rce, i));
3170 " number bit %x\n", __FUNCTION__, r, rce, i));
3179 " RCE\n", __FUNCTION__, r, rce, err));
3182 OTP_MSG(("%s: Fixed row %d by RCE %d\n", __FUNCTION__, r, rce));
3403 OTP_MSG(("locking rce %d\n", i));