Searched refs:ocotp_base (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/arm/mach-mxs/
H A Dmach-mxs.c93 void __iomem *ocotp_base; mxs_get_ocotp() local
102 ocotp_base = of_iomap(np, 0); mxs_get_ocotp()
103 WARN_ON(!ocotp_base); mxs_get_ocotp()
113 __mxs_clrl(BM_OCOTP_CTRL_ERROR, ocotp_base); mxs_get_ocotp()
116 while ((__raw_readl(ocotp_base) & mxs_get_ocotp()
124 __mxs_setl(BM_OCOTP_CTRL_RD_BANK_OPEN, ocotp_base); mxs_get_ocotp()
131 while ((__raw_readl(ocotp_base) & BM_OCOTP_CTRL_BUSY) && --timeout) mxs_get_ocotp()
138 ocotp_words[i] = __raw_readl(ocotp_base + OCOTP_WORD_OFFSET + mxs_get_ocotp()
142 __mxs_clrl(BM_OCOTP_CTRL_RD_BANK_OPEN, ocotp_base); mxs_get_ocotp()

Completed in 60 milliseconds