Lines Matching refs:otp
44 struct lpc18xx_otp *otp = context;
54 *buf++ = readl(otp->base + i * LPC18XX_OTP_WORD_SIZE);
60 .name = "lpc18xx-otp",
70 struct lpc18xx_otp *otp;
73 otp = devm_kzalloc(&pdev->dev, sizeof(*otp), GFP_KERNEL);
74 if (!otp)
78 otp->base = devm_ioremap_resource(&pdev->dev, res);
79 if (IS_ERR(otp->base))
80 return PTR_ERR(otp->base);
84 lpc18xx_otp_nvmem_config.priv = otp;
92 { .compatible = "nxp,lpc1850-otp" },