Lines Matching refs:otp_num
678 int32_t RMC_ReadOTP(uint32_t otp_num, uint32_t *low_word, uint32_t *high_word) in RMC_ReadOTP() argument
682 if (otp_num > 255UL) in RMC_ReadOTP()
689 *low_word = RMC_Read(RMC_OTP_BASE + otp_num * 8UL); in RMC_ReadOTP()
691 *high_word = RMC_Read(RMC_OTP_BASE + otp_num * 8UL +4); in RMC_ReadOTP()
703 int32_t RMC_LockOTP(uint32_t otp_num) in RMC_LockOTP() argument
707 if (otp_num > 255UL) in RMC_LockOTP()
714 RMC_Write(RMC_OTP_BASE + 0x800UL + otp_num * 4UL, 0); in RMC_LockOTP()
727 int32_t RMC_IsOTPLocked(uint32_t otp_num) in RMC_IsOTPLocked() argument
732 if (otp_num > 255UL) in RMC_IsOTPLocked()
739 u32data = RMC_Read(RMC_OTP_BASE + 0x800UL + otp_num * 4UL); in RMC_IsOTPLocked()
757 int32_t RMC_WriteOTP(uint32_t otp_num, uint32_t low_word, uint32_t high_word) in RMC_WriteOTP() argument
761 if (otp_num > 255UL) in RMC_WriteOTP()
768 RMC_Write(RMC_OTP_BASE + otp_num * 8UL, low_word); in RMC_WriteOTP()
773 RMC_Write(RMC_OTP_BASE + otp_num * 8UL+ 4UL, high_word); in RMC_WriteOTP()