Lines Matching defs:soc_dev_attr
69 struct soc_device_attribute *soc_dev_attr)
75 soc_dev_attr->family = k3_soc_ids[i].family_name;
84 struct soc_device_attribute *soc_dev_attr)
90 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "SR%s",
95 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "SR%x.0",
99 if (!soc_dev_attr->revision)
111 struct soc_device_attribute *soc_dev_attr;
143 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
144 if (!soc_dev_attr)
147 ret = k3_chipinfo_partno_to_names(partno_id, soc_dev_attr);
153 ret = k3_chipinfo_variant_to_sr(partno_id, variant, soc_dev_attr);
160 of_property_read_string(node, "model", &soc_dev_attr->machine);
163 soc_dev = soc_device_register(soc_dev_attr);
170 soc_dev_attr->family,
171 soc_dev_attr->revision, jtag_id);
176 kfree(soc_dev_attr->revision);
178 kfree(soc_dev_attr);