Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c666 struct ip_die_entry { struct
805 ssize_t (*show)(struct ip_die_entry *ip_die_entry, char *buf);
810 static ssize_t num_ips_show(struct ip_die_entry *ip_die_entry, char *buf) in num_ips_show() argument
812 return sysfs_emit(buf, "%d\n", ip_die_entry->num_ips); in num_ips_show()
826 ATTRIBUTE_GROUPS(ip_die_entry); /* ip_die_entry_groups */
828 #define to_ip_die_entry(x) container_of(to_kset(x), struct ip_die_entry, ip_kset)
835 struct ip_die_entry *ip_die_entry = to_ip_die_entry(kobj); in ip_die_entry_attr_show() local
840 return ip_die_entry_attr->show(ip_die_entry, buf); in ip_die_entry_attr_show()
845 struct ip_die_entry *ip_die_entry = to_ip_die_entry(kobj); in ip_die_entry_release() local
847 if (!list_empty(&ip_die_entry->ip_kset.list)) in ip_die_entry_release()
[all …]