Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/soc/imx/
H A Dsoc-imx.c32 u64 soc_uid = 0; in imx_soc_device_init() local
150 soc_uid = val & 0xffff; in imx_soc_device_init()
152 soc_uid <<= 16; in imx_soc_device_init()
153 soc_uid |= val & 0xffff; in imx_soc_device_init()
155 soc_uid <<= 16; in imx_soc_device_init()
156 soc_uid |= val & 0xffff; in imx_soc_device_init()
158 soc_uid <<= 16; in imx_soc_device_init()
159 soc_uid |= val & 0xffff; in imx_soc_device_init()
162 soc_uid = val; in imx_soc_device_init()
164 soc_uid <<= 32; in imx_soc_device_init()
[all …]
H A Dsoc-imx8m.c35 static u64 soc_uid; variable
78 soc_uid = readl_relaxed(ocotp_base + OCOTP_UID_HIGH); in imx8mq_soc_revision()
79 soc_uid <<= 32; in imx8mq_soc_revision()
80 soc_uid |= readl_relaxed(ocotp_base + OCOTP_UID_LOW); in imx8mq_soc_revision()
102 soc_uid = readl_relaxed(ocotp_base + OCOTP_UID_HIGH + offset); in imx8mm_soc_uid()
103 soc_uid <<= 32; in imx8mm_soc_uid()
104 soc_uid |= readl_relaxed(ocotp_base + OCOTP_UID_LOW + offset); in imx8mm_soc_uid()
204 soc_dev_attr->serial_number = kasprintf(GFP_KERNEL, "%016llX", soc_uid); in imx8_soc_init()
/OK3568_Linux_fs/kernel/drivers/firmware/imx/
H A Dimx-scu-soc.c34 static int imx_scu_soc_uid(u64 *soc_uid) in imx_scu_soc_uid() argument
51 *soc_uid = msg.uid_high; in imx_scu_soc_uid()
52 *soc_uid <<= 32; in imx_scu_soc_uid()
53 *soc_uid |= msg.uid_low; in imx_scu_soc_uid()