Home
last modified time | relevance | path

Searched refs:socuid (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/soc/imx/
H A Dsoc-imx8m.c33 int (*soc_revision)(u32 *socrev, u64 *socuid);
52 static int imx8mq_soc_revision(u32 *socrev, u64 *socuid) in imx8mq_soc_revision() argument
88 *socuid = readl_relaxed(ocotp_base + OCOTP_UID_HIGH); in imx8mq_soc_revision()
89 *socuid <<= 32; in imx8mq_soc_revision()
90 *socuid |= readl_relaxed(ocotp_base + OCOTP_UID_LOW); in imx8mq_soc_revision()
105 static int imx8mm_soc_uid(u64 *socuid) in imx8mm_soc_uid() argument
130 *socuid = readl_relaxed(ocotp_base + OCOTP_UID_HIGH + offset); in imx8mm_soc_uid()
131 *socuid <<= 32; in imx8mm_soc_uid()
132 *socuid |= readl_relaxed(ocotp_base + OCOTP_UID_LOW + offset); in imx8mm_soc_uid()
142 static int imx8mm_soc_revision(u32 *socrev, u64 *socuid) in imx8mm_soc_revision() argument
[all …]