Lines Matching refs:soc_dev_attr
29 static struct soc_device_attribute soc_dev_attr; variable
165 soc_dev_attr.machine = machine; in fsl_guts_probe()
170 soc_dev_attr.family = devm_kasprintf(dev, GFP_KERNEL, in fsl_guts_probe()
173 soc_dev_attr.family = devm_kasprintf(dev, GFP_KERNEL, "QorIQ"); in fsl_guts_probe()
175 if (!soc_dev_attr.family) in fsl_guts_probe()
177 soc_dev_attr.soc_id = devm_kasprintf(dev, GFP_KERNEL, in fsl_guts_probe()
179 if (!soc_dev_attr.soc_id) in fsl_guts_probe()
181 soc_dev_attr.revision = devm_kasprintf(dev, GFP_KERNEL, "%d.%d", in fsl_guts_probe()
183 if (!soc_dev_attr.revision) in fsl_guts_probe()
186 soc_dev = soc_device_register(&soc_dev_attr); in fsl_guts_probe()
190 pr_info("Machine: %s\n", soc_dev_attr.machine); in fsl_guts_probe()
191 pr_info("SoC family: %s\n", soc_dev_attr.family); in fsl_guts_probe()
193 soc_dev_attr.soc_id, soc_dev_attr.revision); in fsl_guts_probe()