Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c753 struct ip_die_entry { struct
892 ssize_t (*show)(struct ip_die_entry *ip_die_entry, char *buf);
897 static ssize_t num_ips_show(struct ip_die_entry *ip_die_entry, char *buf) in num_ips_show() argument
899 return sysfs_emit(buf, "%d\n", ip_die_entry->num_ips); in num_ips_show()
913 ATTRIBUTE_GROUPS(ip_die_entry); /* ip_die_entry_groups */
915 #define to_ip_die_entry(x) container_of(to_kset(x), struct ip_die_entry, ip_kset)
922 struct ip_die_entry *ip_die_entry = to_ip_die_entry(kobj); in ip_die_entry_attr_show() local
927 return ip_die_entry_attr->show(ip_die_entry, buf); in ip_die_entry_attr_show()
932 struct ip_die_entry *ip_die_entry = to_ip_die_entry(kobj); in ip_die_entry_release() local
934 if (!list_empty(&ip_die_entry->ip_kset.list)) in ip_die_entry_release()
[all …]