Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c685 struct ip_die_entry { struct
824 ssize_t (*show)(struct ip_die_entry *ip_die_entry, char *buf);
829 static ssize_t num_ips_show(struct ip_die_entry *ip_die_entry, char *buf) in num_ips_show() argument
831 return sysfs_emit(buf, "%d\n", ip_die_entry->num_ips); in num_ips_show()
845 ATTRIBUTE_GROUPS(ip_die_entry); /* ip_die_entry_groups */
847 #define to_ip_die_entry(x) container_of(to_kset(x), struct ip_die_entry, ip_kset)
854 struct ip_die_entry *ip_die_entry = to_ip_die_entry(kobj); in ip_die_entry_attr_show() local
859 return ip_die_entry_attr->show(ip_die_entry, buf); in ip_die_entry_attr_show()
864 struct ip_die_entry *ip_die_entry = to_ip_die_entry(kobj); in ip_die_entry_release() local
866 if (!list_empty(&ip_die_entry->ip_kset.list)) in ip_die_entry_release()
[all …]