Lines Matching +full:multi +full:- +full:attr

1 // SPDX-License-Identifier: GPL-2.0-only
21 { .compatible = "arm,realview-eb-soc", },
22 { .compatible = "arm,realview-pb1176-soc", },
23 { .compatible = "arm,realview-pb11mp-soc", },
24 { .compatible = "arm,realview-pba8-soc", },
25 { .compatible = "arm,realview-pbx-soc", },
37 return "Multi-layer AXI"; in realview_arch_str()
44 manufacturer_show(struct device *dev, struct device_attribute *attr, char *buf) in manufacturer_show() argument
52 board_show(struct device *dev, struct device_attribute *attr, char *buf) in board_show() argument
54 return sprintf(buf, "HBI-%03x\n", ((realview_coreid >> 16) & 0xfff)); in board_show()
60 fpga_show(struct device *dev, struct device_attribute *attr, char *buf) in fpga_show() argument
68 build_show(struct device *dev, struct device_attribute *attr, char *buf) in build_show() argument
76 &dev_attr_manufacturer.attr,
77 &dev_attr_board.attr,
78 &dev_attr_fpga.attr,
79 &dev_attr_build.attr,
97 struct device_node *np = pdev->dev.of_node; in realview_soc_probe()
104 soc_dev_attr = devm_kzalloc(&pdev->dev, sizeof(*soc_dev_attr), GFP_KERNEL); in realview_soc_probe()
106 return -ENOMEM; in realview_soc_probe()
109 &soc_dev_attr->soc_id); in realview_soc_probe()
111 return -EINVAL; in realview_soc_probe()
113 soc_dev_attr->machine = "RealView"; in realview_soc_probe()
114 soc_dev_attr->family = "Versatile"; in realview_soc_probe()
115 soc_dev_attr->custom_attr_group = realview_groups[0]; in realview_soc_probe()
118 return -ENODEV; in realview_soc_probe()
120 ret = devm_add_action_or_reset(&pdev->dev, realview_soc_socdev_release, in realview_soc_probe()
128 return -ENODEV; in realview_soc_probe()
130 dev_info(&pdev->dev, "RealView Syscon Core ID: 0x%08x, HBI-%03x\n", in realview_soc_probe()
140 .name = "realview-soc",