Home
last modified time | relevance | path

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

/drivers/soc/imx/
Dsoc-imx8.c30 static u64 soc_uid; variable
35 return sprintf(buf, "%016llX\n", soc_uid); in soc_uid_show()
38 static DEVICE_ATTR_RO(soc_uid);
58 soc_uid = readl_relaxed(ocotp_base + OCOTP_UID_HIGH); in imx8mq_soc_revision()
59 soc_uid <<= 32; in imx8mq_soc_revision()
60 soc_uid |= readl_relaxed(ocotp_base + OCOTP_UID_LOW); in imx8mq_soc_revision()
81 soc_uid = readl_relaxed(ocotp_base + OCOTP_UID_HIGH); in imx8mm_soc_uid()
82 soc_uid <<= 32; in imx8mm_soc_uid()
83 soc_uid |= readl_relaxed(ocotp_base + OCOTP_UID_LOW); in imx8mm_soc_uid()
Dsoc-imx-scu.c41 u64 soc_uid; in soc_uid_show() local
55 soc_uid = msg.uid_high; in soc_uid_show()
56 soc_uid <<= 32; in soc_uid_show()
57 soc_uid |= msg.uid_low; in soc_uid_show()
59 return sprintf(buf, "%016llX\n", soc_uid); in soc_uid_show()
62 static DEVICE_ATTR_RO(soc_uid);