Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c661 struct ip_hw_id { struct
782 #define to_ip_hw_id(x) container_of(to_kset(x), struct ip_hw_id, hw_id_kset)
786 struct ip_hw_id *ip_hw_id = to_ip_hw_id(kobj); in ip_hw_id_release() local
788 if (!list_empty(&ip_hw_id->hw_id_kset.list)) in ip_hw_id_release()
790 kfree(ip_hw_id); in ip_hw_id_release()
940 struct ip_hw_id *ip_hw_id = NULL; in amdgpu_discovery_sysfs_ips() local
957 if (!ip_hw_id) { in amdgpu_discovery_sysfs_ips()
958 ip_hw_id = kzalloc(sizeof(*ip_hw_id), GFP_KERNEL); in amdgpu_discovery_sysfs_ips()
959 if (!ip_hw_id) in amdgpu_discovery_sysfs_ips()
961 ip_hw_id->hw_id = ii; in amdgpu_discovery_sysfs_ips()
[all …]