Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c753 if (!sys_props.kobj_topology) { in kfd_topology_update_sysfs()
754 sys_props.kobj_topology = in kfd_topology_update_sysfs()
755 kfd_alloc_struct(sys_props.kobj_topology); in kfd_topology_update_sysfs()
756 if (!sys_props.kobj_topology) in kfd_topology_update_sysfs()
759 ret = kobject_init_and_add(sys_props.kobj_topology, in kfd_topology_update_sysfs()
766 sys_props.kobj_topology); in kfd_topology_update_sysfs()
773 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs()
781 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs()
795 if (sys_props.kobj_topology) { in kfd_topology_release_sysfs()
796 sysfs_remove_file(sys_props.kobj_topology, in kfd_topology_release_sysfs()
[all …]
Dkfd_topology.h178 struct kobject *kobj_topology; member