Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c733 static struct ip_hw_instance_attr ip_hw_attr[] = { variable
744 static struct attribute *ip_hw_instance_attrs[ARRAY_SIZE(ip_hw_attr) + 1];
755 struct ip_hw_instance_attr *ip_hw_attr = to_ip_hw_instance_attr(attr); in ip_hw_instance_attr_show() local
757 if (!ip_hw_attr->show) in ip_hw_instance_attr_show()
760 return ip_hw_attr->show(ip_hw_instance, buf); in ip_hw_instance_attr_show()
1114 for (ii = 0; ii < ARRAY_SIZE(ip_hw_attr); ii++) in amdgpu_discovery_sysfs_init()
1115 ip_hw_instance_attrs[ii] = &ip_hw_attr[ii].attr; in amdgpu_discovery_sysfs_init()