Searched refs:ip_hw_id (Results 1 – 1 of 1) sorted by relevance
883 struct ip_hw_id { struct1001 #define to_ip_hw_id(x) container_of(to_kset(x), struct ip_hw_id, hw_id_kset)1005 struct ip_hw_id *ip_hw_id = to_ip_hw_id(kobj); in ip_hw_id_release() local1007 if (!list_empty(&ip_hw_id->hw_id_kset.list)) in ip_hw_id_release()1009 kfree(ip_hw_id); in ip_hw_id_release()1164 struct ip_hw_id *ip_hw_id = NULL; in amdgpu_discovery_sysfs_ips() local1183 if (!ip_hw_id) { in amdgpu_discovery_sysfs_ips()1184 ip_hw_id = kzalloc_obj(*ip_hw_id); in amdgpu_discovery_sysfs_ips()1185 if (!ip_hw_id) in amdgpu_discovery_sysfs_ips()1187 ip_hw_id->hw_id = ii; in amdgpu_discovery_sysfs_ips()[all …]