5#ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_OTP_H_
6#define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_OTP_H_
11#include "hw/top/dt/otp_ctrl.h"
13#include "sw/device/silicon_creator/lib/error.h"
15#include "hw/top/otp_ctrl_regs.h"
36 kOtpSecMmioCreatorSwCfgLockDown = 1,
47uint32_t otp_read32(uint32_t address);
57uint64_t otp_read64(uint32_t address);
67void otp_read(uint32_t address, uint32_t *data,
size_t num_words);
127 uint32_t *data,
size_t num_words);
135void otp_creator_sw_cfg_lockdown(
void);