Searched refs:offset (Results 1 – 4 of 4) sorted by relevance
66 static uint32_t validate_otp_offset(uint32_t offset) in validate_otp_offset() argument68 if ((offset & 0x3) || (offset > (AM_REG_OTP_SIZE - 4))) in validate_otp_offset()85 uint32_t am_hal_otp_read_word(uint32_t offset, uint32_t *pVal) in am_hal_otp_read_word() argument90 status = validate_otp_offset(offset); in am_hal_otp_read_word()108 *pVal = am_hal_load_ui32((uint32_t *)(AM_REG_OTP_BASEADDR + offset)); in am_hal_otp_read_word()111 *pVal = AM_REGVAL(AM_REG_OTP_BASEADDR + offset); in am_hal_otp_read_word()147 uint32_t am_hal_otp_write_word(uint32_t offset, uint32_t value) in am_hal_otp_write_word() argument152 status = validate_otp_offset(offset); in am_hal_otp_write_word()165 otp_write_word_func(offset, value); in am_hal_otp_write_word()167 if ((am_hal_load_ui32((uint32_t *)(AM_REG_OTP_BASEADDR + offset)) & value) != value) in am_hal_otp_write_word()[all …]
70 uint32_t am_hal_otp_read_word(uint32_t offset, uint32_t *pVal);84 uint32_t am_hal_otp_write_word(uint32_t offset, uint32_t value);
69 uint32_t offset = gStartOff; in get_raw_dcu_mask() local75 ui64Mask |= (uint64_t)threeBitVal << offset; in get_raw_dcu_mask()77 offset += 3; in get_raw_dcu_mask()
180 uint32_t offset : 12; member