Lines Matching refs:die_kset
961 struct kset die_kset; /* ip_discovery/die/, contains ip_die_entry */ member
969 die_kset); in die_kobj_release()
970 if (!list_empty(&ip_top->die_kset.list)) in die_kobj_release()
1122 struct kset *die_kset = &adev->ip_top->die_kset; in amdgpu_discovery_sysfs_recurse() local
1155 ip_die_entry->ip_kset.kobj.kset = die_kset; in amdgpu_discovery_sysfs_recurse()
1172 struct kset *die_kset; in amdgpu_discovery_sysfs_init() local
1191 die_kset = &adev->ip_top->die_kset; in amdgpu_discovery_sysfs_init()
1192 kobject_set_name(&die_kset->kobj, "%s", "die"); in amdgpu_discovery_sysfs_init()
1193 die_kset->kobj.parent = &adev->ip_top->kobj; in amdgpu_discovery_sysfs_init()
1194 die_kset->kobj.ktype = &die_kobj_ktype; in amdgpu_discovery_sysfs_init()
1195 res = kset_register(&adev->ip_top->die_kset); in amdgpu_discovery_sysfs_init()
1255 struct kset *die_kset; in amdgpu_discovery_sysfs_fini() local
1257 die_kset = &adev->ip_top->die_kset; in amdgpu_discovery_sysfs_fini()
1258 spin_lock(&die_kset->list_lock); in amdgpu_discovery_sysfs_fini()
1259 list_for_each_prev_safe(el, tmp, &die_kset->list) { in amdgpu_discovery_sysfs_fini()
1261 spin_unlock(&die_kset->list_lock); in amdgpu_discovery_sysfs_fini()
1263 spin_lock(&die_kset->list_lock); in amdgpu_discovery_sysfs_fini()
1265 spin_unlock(&die_kset->list_lock); in amdgpu_discovery_sysfs_fini()
1266 kobject_put(&adev->ip_top->die_kset.kobj); in amdgpu_discovery_sysfs_fini()