Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c820 static struct ip_hw_instance_attr ip_hw_attr[] = { variable
831 static struct attribute *ip_hw_instance_attrs[ARRAY_SIZE(ip_hw_attr) + 1];
842 struct ip_hw_instance_attr *ip_hw_attr = to_ip_hw_instance_attr(attr); in ip_hw_instance_attr_show() local
844 if (!ip_hw_attr->show) in ip_hw_instance_attr_show()
847 return ip_hw_attr->show(ip_hw_instance, buf); in ip_hw_instance_attr_show()
1201 for (ii = 0; ii < ARRAY_SIZE(ip_hw_attr); ii++) in amdgpu_discovery_sysfs_init()
1202 ip_hw_instance_attrs[ii] = &ip_hw_attr[ii].attr; in amdgpu_discovery_sysfs_init()