Home
last modified time | relevance | path

Searched refs:soc_dev_attr (Results 1 – 1 of 1) sorted by relevance

/arch/arm/mach-ux500/
Dcpu.c103 static void __init soc_info_populate(struct soc_device_attribute *soc_dev_attr, in soc_info_populate() argument
106 soc_dev_attr->soc_id = soc_id; in soc_info_populate()
107 soc_dev_attr->machine = ux500_get_machine(); in soc_info_populate()
108 soc_dev_attr->family = ux500_get_family(); in soc_info_populate()
109 soc_dev_attr->revision = ux500_get_revision(); in soc_info_populate()
119 struct soc_device_attribute *soc_dev_attr; in ux500_soc_device_init() local
121 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL); in ux500_soc_device_init()
122 if (!soc_dev_attr) in ux500_soc_device_init()
125 soc_info_populate(soc_dev_attr, soc_id); in ux500_soc_device_init()
127 soc_dev = soc_device_register(soc_dev_attr); in ux500_soc_device_init()
[all …]