Home
last modified time | relevance | path

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

/linux/drivers/soc/imx/
H A Dsoc-imx.c34 u64 soc_uid = 0; in imx_soc_device_init() local
155 soc_uid = val & 0xffff; in imx_soc_device_init()
157 soc_uid <<= 16; in imx_soc_device_init()
158 soc_uid |= val & 0xffff; in imx_soc_device_init()
160 soc_uid <<= 16; in imx_soc_device_init()
161 soc_uid |= val & 0xffff; in imx_soc_device_init()
163 soc_uid <<= 16; in imx_soc_device_init()
164 soc_uid |= val & 0xffff; in imx_soc_device_init()
169 soc_uid <<= 8; in imx_soc_device_init()
170 soc_uid |= (val & 0xff); in imx_soc_device_init()
[all …]
H A Dsoc-imx8m.c36 int (*soc_uid)(struct platform_device *pdev, u64 *socuid); member
175 .soc_uid = imx8m_soc_uid,
182 .soc_uid = imx8m_soc_uid,
189 .soc_uid = imx8m_soc_uid,
196 .soc_uid = imx8mp_soc_uid,
231 u64 soc_uid[2] = {0, 0}; in imx8m_soc_probe() local
264 if (data->soc_uid) { in imx8m_soc_probe()
265 ret = data->soc_uid(pdev, soc_uid); in imx8m_soc_probe()
278 if (soc_uid[1]) in imx8m_soc_probe()
280 soc_uid[1], soc_uid[0]); in imx8m_soc_probe()
[all …]
/linux/arch/arm/mach-mxs/
H A Dmach-mxs.c386 u64 soc_uid = 0; in mxs_machine_init() local
406 soc_uid = system_serial_low = ocotp[HW_OCOTP_OPS3]; in mxs_machine_init()
408 soc_uid = system_serial_high = ocotp[HW_OCOTP_OPS2]; in mxs_machine_init()
409 soc_uid <<= 32; in mxs_machine_init()
411 soc_uid |= system_serial_low; in mxs_machine_init()
414 if (soc_uid) in mxs_machine_init()
415 soc_dev_attr->serial_number = kasprintf(GFP_KERNEL, "%016llX", soc_uid); in mxs_machine_init()
/linux/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()