Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c632 if (dev->kobj_node) { in kfd_remove_sysfs_node_entry()
633 sysfs_remove_file(dev->kobj_node, &dev->attr_gpuid); in kfd_remove_sysfs_node_entry()
634 sysfs_remove_file(dev->kobj_node, &dev->attr_name); in kfd_remove_sysfs_node_entry()
635 sysfs_remove_file(dev->kobj_node, &dev->attr_props); in kfd_remove_sysfs_node_entry()
636 kobject_del(dev->kobj_node); in kfd_remove_sysfs_node_entry()
637 kobject_put(dev->kobj_node); in kfd_remove_sysfs_node_entry()
638 dev->kobj_node = NULL; in kfd_remove_sysfs_node_entry()
654 if (WARN_ON(dev->kobj_node)) in kfd_build_sysfs_node_entry()
660 dev->kobj_node = kfd_alloc_struct(dev->kobj_node); in kfd_build_sysfs_node_entry()
661 if (!dev->kobj_node) in kfd_build_sysfs_node_entry()
[all …]
H A Dkfd_topology.h148 struct kobject *kobj_node; member