Searched refs:soc_dev_attr (Results 26 - 28 of 28) sorted by relevance

12

/linux-master/drivers/soc/atmel/
H A Dsoc.c311 struct soc_device_attribute *soc_dev_attr; local
344 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
345 if (!soc_dev_attr)
348 soc_dev_attr->family = soc->family;
349 soc_dev_attr->soc_id = soc->name;
350 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%X",
352 soc_dev = soc_device_register(soc_dev_attr);
354 kfree(soc_dev_attr->revision);
355 kfree(soc_dev_attr);
[all...]
/linux-master/arch/arm/mach-omap2/
H A Did.c788 struct soc_device_attribute *soc_dev_attr; local
790 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
791 if (!soc_dev_attr)
794 soc_dev_attr->machine = soc_name;
795 soc_dev_attr->family = omap_get_family();
796 if (!soc_dev_attr->family) {
797 kfree(soc_dev_attr);
800 soc_dev_attr->revision = soc_rev;
801 soc_dev_attr
[all...]
/linux-master/arch/arm/mach-ep93xx/
H A Dcore.c953 struct soc_device_attribute *soc_dev_attr; local
956 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
957 if (!soc_dev_attr)
960 soc_dev_attr->machine = ep93xx_get_machine_name();
961 soc_dev_attr->family = "Cirrus Logic EP93xx";
962 soc_dev_attr->revision = ep93xx_get_soc_rev();
963 soc_dev_attr->soc_id = ep93xx_get_soc_id();
965 soc_dev = soc_device_register(soc_dev_attr);
967 kfree(soc_dev_attr
[all...]

Completed in 122 milliseconds

12