Lines Matching refs:die_kset
874 struct kset die_kset; /* ip_discovery/die/, contains ip_die_entry */ member
882 die_kset); in die_kobj_release()
883 if (!list_empty(&ip_top->die_kset.list)) in die_kobj_release()
1035 struct kset *die_kset = &adev->ip_top->die_kset; in amdgpu_discovery_sysfs_recurse() local
1068 ip_die_entry->ip_kset.kobj.kset = die_kset; in amdgpu_discovery_sysfs_recurse()
1085 struct kset *die_kset; in amdgpu_discovery_sysfs_init() local
1104 die_kset = &adev->ip_top->die_kset; in amdgpu_discovery_sysfs_init()
1105 kobject_set_name(&die_kset->kobj, "%s", "die"); in amdgpu_discovery_sysfs_init()
1106 die_kset->kobj.parent = &adev->ip_top->kobj; in amdgpu_discovery_sysfs_init()
1107 die_kset->kobj.ktype = &die_kobj_ktype; in amdgpu_discovery_sysfs_init()
1108 res = kset_register(&adev->ip_top->die_kset); in amdgpu_discovery_sysfs_init()
1168 struct kset *die_kset; in amdgpu_discovery_sysfs_fini() local
1170 die_kset = &adev->ip_top->die_kset; in amdgpu_discovery_sysfs_fini()
1171 spin_lock(&die_kset->list_lock); in amdgpu_discovery_sysfs_fini()
1172 list_for_each_prev_safe(el, tmp, &die_kset->list) { in amdgpu_discovery_sysfs_fini()
1174 spin_unlock(&die_kset->list_lock); in amdgpu_discovery_sysfs_fini()
1176 spin_lock(&die_kset->list_lock); in amdgpu_discovery_sysfs_fini()
1178 spin_unlock(&die_kset->list_lock); in amdgpu_discovery_sysfs_fini()
1179 kobject_put(&adev->ip_top->die_kset.kobj); in amdgpu_discovery_sysfs_fini()