Lines Matching refs:i

1070     MS_U32 i = 0;  in HAL_CA_BGC_SetSec()  local
1144 for(i = 0 ; i < 0x20 ; i ++) in HAL_CA_BGC_SetSec()
1146 if(HAL_CA_BGC_Ctrl(BGC_CMD_TYPE_GOLDEN, pstSecCfg->u8Golden[i]) == FALSE) in HAL_CA_BGC_SetSec()
1160 for(i = 0 ; i < 0x4 ; i ++) in HAL_CA_BGC_SetSec()
1162 if(HAL_CA_BGC_Ctrl(BGC_CMD_TYPE_SET_PASSWD, pstSecCfg->u8ResetPassword[i]) == FALSE) in HAL_CA_BGC_SetSec()
1199 MS_U32 i = 0; in HAL_CA_BGC_ResetSec() local
1222 for(i = 0 ; i < 0x4 ; i ++) in HAL_CA_BGC_ResetSec()
1224 if(HAL_CA_BGC_Ctrl(BGC_CMD_TYPE_RESET_PASSWD, pu8RstPSWD[i]) == FALSE) in HAL_CA_BGC_ResetSec()
1291 int i; in HAL_CA_OTP_Write() local
1306 for(i = 0; i < 4; i++) { in HAL_CA_OTP_Write()
1307 if(_HAL_CA_OTP_Write_Real(addr + i, (value >> (i * 8)) & 0xff) == FALSE) in HAL_CA_OTP_Write()
1697 MS_U32 i, u32Addr; in HAL_CA_OTP_SetDeviceId() local
1701 for(i = 0; i < sizeof(did) && i < u32Size; i++) in HAL_CA_OTP_SetDeviceId()
1703 p[i] = pu8Did[i]; in HAL_CA_OTP_SetDeviceId()
1707 for(i = 0; i < Did_Size; i++) in HAL_CA_OTP_SetDeviceId()
1709 if(HAL_CA_OTP_Write(u32Addr,did[i]) == FALSE) in HAL_CA_OTP_SetDeviceId()
1716 for(i = Did_Size; i < (2*Did_Size); i++) in HAL_CA_OTP_SetDeviceId()
1718 if(HAL_CA_OTP_Write(u32Addr,did[i]) == FALSE) in HAL_CA_OTP_SetDeviceId()
1725 for(i = (2*Did_Size); i < (3*Did_Size); i++) in HAL_CA_OTP_SetDeviceId()
1727 if(HAL_CA_OTP_Write(u32Addr,did[i]) == FALSE) in HAL_CA_OTP_SetDeviceId()
1734 for(i = (3*Did_Size); i < (4*Did_Size); i++) in HAL_CA_OTP_SetDeviceId()
1736 if(HAL_CA_OTP_Write(u32Addr,did[i]) == FALSE) in HAL_CA_OTP_SetDeviceId()
1750 MS_U32 i, u32Addr; in HAL_CA_OTP_GetDeviceId() local
1754 for(i = 0; i < Did_Size; i++) in HAL_CA_OTP_GetDeviceId()
1756 did[i] = HAL_CA_OTP_Read(u32Addr); in HAL_CA_OTP_GetDeviceId()
1760 for(i = Did_Size; i < (2*Did_Size) ; i++) in HAL_CA_OTP_GetDeviceId()
1762 did[i] = HAL_CA_OTP_Read(u32Addr); in HAL_CA_OTP_GetDeviceId()
1766 for(i = (2*Did_Size) ; i < (3*Did_Size) ; i++) in HAL_CA_OTP_GetDeviceId()
1768 did[i] = HAL_CA_OTP_Read(u32Addr); in HAL_CA_OTP_GetDeviceId()
1772 for(i = (3*Did_Size); i < (4*Did_Size) ; i++) in HAL_CA_OTP_GetDeviceId()
1774 did[i] = HAL_CA_OTP_Read(u32Addr); in HAL_CA_OTP_GetDeviceId()
1778 for(i = 0; i < sizeof(did) && i < u32Size; i++) in HAL_CA_OTP_GetDeviceId()
1780 pu8Did[i] = p[i]; in HAL_CA_OTP_GetDeviceId()
2086 MS_U8 i = 0; in HAL_CA_STR_SetMAC() local
2088 for(i = 0; i < (u32STRMACSize/2); i++) { in HAL_CA_STR_SetMAC()
2089 REG16_PM(REG_STR_AUTH_RESULT + i*4) = (pu8STRMAC[i*2 + 1]<<8 |pu8STRMAC[i*2]); in HAL_CA_STR_SetMAC()
2119 MS_U32 i, j, u32Addr; in HAL_CA_OTP_SetSecretKey() local
2159 for(i = 0; i < sizeof(secret_key) && i < u32Size; i++) in HAL_CA_OTP_SetSecretKey()
2161 p[i] = pu8SecretKey[(j-1)-i]; // Array reverse, for user easy viewing in HAL_CA_OTP_SetSecretKey()
2164 for(i = 0; i < 4; i++) in HAL_CA_OTP_SetSecretKey()
2166 if(HAL_CA_OTP_Write(u32Addr,secret_key[i]) == FALSE) in HAL_CA_OTP_SetSecretKey()
2178 MS_U32 i, j, u32Addr; in HAL_CA_OTP_GetSecretKey() local
2210 for(i = 0; i < 4; i++) in HAL_CA_OTP_GetSecretKey()
2212 secret_key[i] = HAL_CA_OTP_Read(u32Addr); in HAL_CA_OTP_GetSecretKey()
2225 for(i = 0; i < sizeof(secret_key) && i < u32Size; i++) in HAL_CA_OTP_GetSecretKey()
2227 pu8SecretKey[i] = p[(j-1)-i]; // Array reverse, for user easy viewing in HAL_CA_OTP_GetSecretKey()
2236 MS_U32 i, u32Addr; in HAL_CA_OTP_SetRSAKey() local
2250 for(i = 0; i < sizeof(RSA_key) && i < u32Size; i++) in HAL_CA_OTP_SetRSAKey()
2252 p[i] = pu8RSAKey[i]; in HAL_CA_OTP_SetRSAKey()
2254 for(i = 0; i < 64; i++) in HAL_CA_OTP_SetRSAKey()
2256 if(HAL_CA_OTP_Write(u32Addr,RSA_key[i]) == FALSE) in HAL_CA_OTP_SetRSAKey()
2268 MS_U32 i, u32Addr; in HAL_CA_OTP_GetRSAKey() local
2282 for(i = 0; i < 64; i++) in HAL_CA_OTP_GetRSAKey()
2284 RSA_key[i] = HAL_CA_OTP_Read(u32Addr); in HAL_CA_OTP_GetRSAKey()
2287 for(i = 0; i < sizeof(RSA_key) && i < u32Size; i++) in HAL_CA_OTP_GetRSAKey()
2289 pu8RSAKey[i] = p[i]; in HAL_CA_OTP_GetRSAKey()
2300 MS_U32 i, j, u32Addr; in HAL_CA_OTP_SetDebugPortPassword() local
2326 for(i = 0; i < sizeof(pwd) && i < u32Size; i++) in HAL_CA_OTP_SetDebugPortPassword()
2328 p[i] = pu8Password[(j-1)-i]; // Array reverse, for user easy viewing in HAL_CA_OTP_SetDebugPortPassword()
2332 for(i = 0; i < 4; i++) in HAL_CA_OTP_SetDebugPortPassword()
2334 if(HAL_CA_OTP_Write(u32Addr,pwd[i]) == FALSE) in HAL_CA_OTP_SetDebugPortPassword()
2347 MS_U32 i, j, u32Addr; in HAL_CA_OTP_GetDebugPortPassword() local
2364 for(i = 0; i < 4; i++) in HAL_CA_OTP_GetDebugPortPassword()
2366 pwd[i] = HAL_CA_OTP_Read(u32Addr); in HAL_CA_OTP_GetDebugPortPassword()
2377 for(i = 0; i < sizeof(pwd) &&i < u32Size; i++) in HAL_CA_OTP_GetDebugPortPassword()
2379 pu8Password[i] = p[(j-1)-i]; // Array reverse, for user easy viewing in HAL_CA_OTP_GetDebugPortPassword()
2393 MS_U32 i, u32Addr; in HAL_CA_OTP_WriteReserved() local
2397 for(i = 0; i < sizeof(u32rdata) && i < u32Size; i++) in HAL_CA_OTP_WriteReserved()
2399 p[i] = pu8RData[i]; in HAL_CA_OTP_WriteReserved()
2403 for(i = 0; i <u32ReservedSize; i++) in HAL_CA_OTP_WriteReserved()
2405 if(HAL_CA_OTP_Write(u32Addr,u32rdata[i]) == FALSE) in HAL_CA_OTP_WriteReserved()
2418 MS_U32 i, u32Addr; in HAL_CA_OTP_ReadReserved() local
2423 for(i = 0; i < u32ReservedSize; i++) in HAL_CA_OTP_ReadReserved()
2425 u32rdata[i] = HAL_CA_OTP_Read(u32Addr); in HAL_CA_OTP_ReadReserved()
2429 for(i = 0; i < sizeof(u32rdata) && i < u32Size; i++) in HAL_CA_OTP_ReadReserved()
2431 pu8RData[i] = p[i]; in HAL_CA_OTP_ReadReserved()