Searched refs:top_set (Results 1 – 1 of 1) sorted by relevance
4345 struct od_kobj *top_set, *sub_set; in amdgpu_od_set_init() local4353 top_set = kzalloc(sizeof(*top_set), GFP_KERNEL); in amdgpu_od_set_init()4354 if (!top_set) in amdgpu_od_set_init()4356 list_add(&top_set->entry, &adev->pm.od_kobj_list); in amdgpu_od_set_init()4358 ret = kobject_init_and_add(&top_set->kobj, in amdgpu_od_set_init()4365 INIT_LIST_HEAD(&top_set->attribute); in amdgpu_od_set_init()4366 top_set->priv = adev; in amdgpu_od_set_init()4395 list_add(&attribute->entry, &top_set->attribute); in amdgpu_od_set_init()4404 ret = sysfs_create_file(&top_set->kobj, in amdgpu_od_set_init()4419 &top_set->kobj, in amdgpu_od_set_init()