Searched refs:otp_base (Results 1 – 1 of 1) sorted by relevance
137 static int check_sbpi_done_int(uint32_t otp_base) in check_sbpi_done_int() argument144 if (((mmio_read_32(otp_base + REG_OTPC_INT_STATUS) >> 1) & 0x01) == 0x01) { in check_sbpi_done_int()145 mmio_write_32(otp_base + REG_OTPC_INT_STATUS, in check_sbpi_done_int()164 uint32_t otp_base = 0; in otp_select() local167 otp_base = OTP_S_BASE; in otp_select()172 otp_base = OTP_NS_BASE; in otp_select()177 return otp_base; in otp_select()180 static int rk_otp_ecc_enable(uint32_t otp_base, bool enable) in rk_otp_ecc_enable() argument182 mmio_write_32(otp_base + REG_OTPC_SBPI_CTRL, in rk_otp_ecc_enable()185 mmio_write_32(otp_base + REG_OTPC_SBPI_CMD_VALID_PRE, SBPI_VAILI_COMMAND(1)); in rk_otp_ecc_enable()[all …]