Searched refs:ocotp_regs (Results 1 – 14 of 14) sorted by relevance
/external/u-boot/drivers/misc/ |
D | mxc_ocotp.c | 157 static void wait_busy(struct ocotp_regs *regs, unsigned int delay_us) in wait_busy() 163 static void clear_error(struct ocotp_regs *regs) in clear_error() 168 static int prepare_access(struct ocotp_regs **regs, u32 bank, u32 word, in prepare_access() 171 *regs = (struct ocotp_regs *)OCOTP_BASE_ADDR; in prepare_access() 196 static int finish_access(struct ocotp_regs *regs, const char *caller) in finish_access() 215 static int prepare_read(struct ocotp_regs **regs, u32 bank, u32 word, u32 *val, in prepare_read() 223 struct ocotp_regs *regs; in fuse_read() 248 static void set_timing(struct ocotp_regs *regs) in set_timing() 266 static void set_timing(struct ocotp_regs *regs) in set_timing() 272 static void set_timing(struct ocotp_regs *regs) in set_timing() [all …]
|
D | mxs_ocotp.c | 24 static struct mxs_ocotp_regs *ocotp_regs = variable 37 reg = readl(&ocotp_regs->hw_ocotp_ctrl); in mxs_ocotp_wait_busy_clear() 54 writel(OCOTP_CTRL_ERROR, &ocotp_regs->hw_ocotp_ctrl_clr); in mxs_ocotp_clear_error() 63 &ocotp_regs->hw_ocotp_ctrl_set); in mxs_ocotp_read_bank_open() 74 &ocotp_regs->hw_ocotp_ctrl_clr); in mxs_ocotp_read_bank_open() 213 writel(addr | OCOTP_CTRL_WR_UNLOCK_KEY, &ocotp_regs->hw_ocotp_ctrl); in mxs_ocotp_write_fuse() 216 writel(mask, &ocotp_regs->hw_ocotp_data); in mxs_ocotp_write_fuse() 227 if (readl(&ocotp_regs->hw_ocotp_ctrl) & OCOTP_CTRL_ERROR) { in mxs_ocotp_write_fuse() 246 reg = ((uint32_t)&ocotp_regs->hw_ocotp_cust0) + (reg << 4); in mxs_ocotp_read_fuse()
|
/external/u-boot/board/bluegiga/apx4devkit/ |
D | apx4devkit.c | 114 struct mxs_ocotp_regs *ocotp_regs = in get_board_serial() local 120 writel(OCOTP_CTRL_RD_BANK_OPEN, &ocotp_regs->hw_ocotp_ctrl_set); in get_board_serial() 122 if (mxs_wait_mask_clr(&ocotp_regs->hw_ocotp_ctrl_reg, OCOTP_CTRL_BUSY, in get_board_serial() 128 serialnr->low = readl(&ocotp_regs->hw_ocotp_cust3); in get_board_serial()
|
/external/u-boot/arch/arm/mach-imx/ |
D | cpu.c | 351 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in get_cpu_speed_grade_hz() 383 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in get_cpu_temp_grade() 463 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in nxp_board_rev()
|
/external/u-boot/arch/arm/mach-imx/mx7/ |
D | soc.c | 103 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in is_mx7d() 229 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in get_board_serial()
|
/external/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
D | mxs.c | 247 struct mxs_ocotp_regs *ocotp_regs = in imx_get_mac_from_fuse() local 253 writel(OCOTP_CTRL_RD_BANK_OPEN, &ocotp_regs->hw_ocotp_ctrl_set); in imx_get_mac_from_fuse() 255 if (mxs_wait_mask_clr(&ocotp_regs->hw_ocotp_ctrl_reg, OCOTP_CTRL_BUSY, in imx_get_mac_from_fuse() 261 data = readl(&ocotp_regs->hw_ocotp_cust0); in imx_get_mac_from_fuse()
|
/external/u-boot/arch/arm/mach-imx/mx6/ |
D | soc.c | 125 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in get_cpu_speed_grade_hz() 184 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in get_cpu_temp_grade() 329 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in init_bandgap()
|
D | opos6ul.c | 236 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in spl_dram_init()
|
/external/u-boot/arch/arm/cpu/armv7/vf610/ |
D | generic.c | 257 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in imx_get_mac_from_fuse()
|
/external/u-boot/arch/arm/include/asm/arch-mx8m/ |
D | imx-regs.h | 154 struct ocotp_regs { struct
|
/external/u-boot/arch/arm/include/asm/arch-vf610/ |
D | imx-regs.h | 376 struct ocotp_regs { struct
|
/external/u-boot/arch/arm/include/asm/arch-mx6/ |
D | imx-regs.h | 726 struct ocotp_regs { struct
|
/external/u-boot/arch/arm/include/asm/arch-mx7ulp/ |
D | imx-regs.h | 947 struct ocotp_regs { struct
|
/external/u-boot/arch/arm/include/asm/arch-mx7/ |
D | imx-regs.h | 892 struct ocotp_regs { struct
|