Searched refs:soc_uid (Results 1 – 5 of 5) sorted by relevance
34 u64 soc_uid = 0; in imx_soc_device_init() local155 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 …]
36 static u64 soc_uid; variable87 soc_uid = readl_relaxed(ocotp_base + OCOTP_UID_HIGH); in imx8mq_soc_revision()88 soc_uid <<= 32; in imx8mq_soc_revision()89 soc_uid |= readl_relaxed(ocotp_base + OCOTP_UID_LOW); in imx8mq_soc_revision()113 soc_uid = readl_relaxed(ocotp_base + OCOTP_UID_HIGH + offset); in imx8mm_soc_uid()114 soc_uid <<= 32; in imx8mm_soc_uid()115 soc_uid |= readl_relaxed(ocotp_base + OCOTP_UID_LOW + offset); in imx8mm_soc_uid()215 soc_dev_attr->serial_number = kasprintf(GFP_KERNEL, "%016llX", soc_uid); in imx8_soc_init()
386 u64 soc_uid = 0; in mxs_machine_init() local406 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()
34 static int imx_scu_soc_uid(u64 *soc_uid) in imx_scu_soc_uid() argument51 *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()
192 u64 soc_uid = 0; in fsl_guts_init() local248 soc_uid = fsl_guts_get_soc_uid(soc_data->sfp_compat, in fsl_guts_init()250 if (soc_uid) in fsl_guts_init()252 soc_uid); in fsl_guts_init()