Lines Matching +full:revision +full:- +full:id
1 // SPDX-License-Identifier: GPL-2.0-or-later
14 const u32 id; member
34 unsigned int id = siliconid & 0xff00ffff; in siliconid_to_name() local
38 if (rev_table[i].id == id) in siliconid_to_name()
88 np = of_find_compatible_node(NULL, NULL, "aspeed,silicon-id"); in aspeed_socinfo_init()
91 return -ENODEV; in aspeed_socinfo_init()
97 return -ENODEV; in aspeed_socinfo_init()
114 return -ENODEV; in aspeed_socinfo_init()
119 * Revision: A1 in aspeed_socinfo_init()
120 * SoC ID: raw silicon revision id in aspeed_socinfo_init()
121 * Serial Number: 64-bit chipid in aspeed_socinfo_init()
127 attrs->machine = kstrdup(machine, GFP_KERNEL); in aspeed_socinfo_init()
130 attrs->family = siliconid_to_name(siliconid); in aspeed_socinfo_init()
131 attrs->revision = siliconid_to_rev(siliconid); in aspeed_socinfo_init()
132 attrs->soc_id = kasprintf(GFP_KERNEL, "%08x", siliconid); in aspeed_socinfo_init()
135 attrs->serial_number = kasprintf(GFP_KERNEL, "%08x%08x", in aspeed_socinfo_init()
140 kfree(attrs->machine); in aspeed_socinfo_init()
141 kfree(attrs->soc_id); in aspeed_socinfo_init()
142 kfree(attrs->serial_number); in aspeed_socinfo_init()
148 attrs->family, in aspeed_socinfo_init()
149 attrs->revision, in aspeed_socinfo_init()
150 attrs->soc_id); in aspeed_socinfo_init()