Lines Matching refs:soc_dev_attr
119 static void __init soc_info_populate(struct soc_device_attribute *soc_dev_attr, in soc_info_populate() argument
122 soc_dev_attr->soc_id = soc_id; in soc_info_populate()
123 soc_dev_attr->machine = ux500_get_machine(); in soc_info_populate()
124 soc_dev_attr->family = ux500_get_family(); in soc_info_populate()
125 soc_dev_attr->revision = ux500_get_revision(); in soc_info_populate()
135 struct soc_device_attribute *soc_dev_attr; in ux500_soc_device_init() local
137 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL); in ux500_soc_device_init()
138 if (!soc_dev_attr) in ux500_soc_device_init()
141 soc_info_populate(soc_dev_attr, soc_id); in ux500_soc_device_init()
143 soc_dev = soc_device_register(soc_dev_attr); in ux500_soc_device_init()
145 kfree(soc_dev_attr); in ux500_soc_device_init()