Searched refs:sub_set (Results 1 – 1 of 1) sorted by relevance
4345 struct od_kobj *top_set, *sub_set; in amdgpu_od_set_init() local4410 sub_set = kzalloc(sizeof(*sub_set), GFP_KERNEL); in amdgpu_od_set_init()4411 if (!sub_set) { in amdgpu_od_set_init()4415 list_add(&sub_set->entry, &adev->pm.od_kobj_list); in amdgpu_od_set_init()4417 ret = kobject_init_and_add(&sub_set->kobj, in amdgpu_od_set_init()4424 INIT_LIST_HEAD(&sub_set->attribute); in amdgpu_od_set_init()4425 sub_set->priv = adev; in amdgpu_od_set_init()4445 list_add(&attribute->entry, &sub_set->attribute); in amdgpu_od_set_init()4454 ret = sysfs_create_file(&sub_set->kobj, in amdgpu_od_set_init()