Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c784 struct ip_hw_id { struct
909 struct ip_hw_id *ip_hw_id = to_ip_hw_id(kobj); in ip_hw_id_release() local
913 kfree(ip_hw_id); in ip_hw_id_release()
1065 struct ip_hw_id *ip_hw_id = NULL; in amdgpu_discovery_sysfs_ips() local
1084 if (!ip_hw_id) { in amdgpu_discovery_sysfs_ips()
1085 ip_hw_id = kzalloc(sizeof(*ip_hw_id), GFP_KERNEL); in amdgpu_discovery_sysfs_ips()
1086 if (!ip_hw_id) in amdgpu_discovery_sysfs_ips()
1088 ip_hw_id->hw_id = ii; in amdgpu_discovery_sysfs_ips()
1096 kfree(ip_hw_id); in amdgpu_discovery_sysfs_ips()
1101 &ip_hw_id->hw_id_kset.kobj, in amdgpu_discovery_sysfs_ips()
[all …]