Lines Matching refs:el
1263 #define list_to_kobj(el) container_of(el, struct kobject, entry) argument
1267 struct list_head *el, *tmp; in amdgpu_discovery_sysfs_ip_hw_free() local
1272 list_for_each_prev_safe(el, tmp, &hw_id_kset->list) { in amdgpu_discovery_sysfs_ip_hw_free()
1273 list_del_init(el); in amdgpu_discovery_sysfs_ip_hw_free()
1276 kobject_put(list_to_kobj(el)); in amdgpu_discovery_sysfs_ip_hw_free()
1285 struct list_head *el, *tmp; in amdgpu_discovery_sysfs_die_free() local
1290 list_for_each_prev_safe(el, tmp, &ip_kset->list) { in amdgpu_discovery_sysfs_die_free()
1291 list_del_init(el); in amdgpu_discovery_sysfs_die_free()
1293 amdgpu_discovery_sysfs_ip_hw_free(to_ip_hw_id(list_to_kobj(el))); in amdgpu_discovery_sysfs_die_free()
1302 struct list_head *el, *tmp; in amdgpu_discovery_sysfs_fini() local
1307 list_for_each_prev_safe(el, tmp, &die_kset->list) { in amdgpu_discovery_sysfs_fini()
1308 list_del_init(el); in amdgpu_discovery_sysfs_fini()
1310 amdgpu_discovery_sysfs_die_free(to_ip_die_entry(list_to_kobj(el))); in amdgpu_discovery_sysfs_fini()