Lines Matching refs:el
1147 #define list_to_kobj(el) container_of(el, struct kobject, entry) argument
1151 struct list_head *el, *tmp; in amdgpu_discovery_sysfs_ip_hw_free() local
1156 list_for_each_prev_safe(el, tmp, &hw_id_kset->list) { in amdgpu_discovery_sysfs_ip_hw_free()
1157 list_del_init(el); in amdgpu_discovery_sysfs_ip_hw_free()
1160 kobject_put(list_to_kobj(el)); in amdgpu_discovery_sysfs_ip_hw_free()
1169 struct list_head *el, *tmp; in amdgpu_discovery_sysfs_die_free() local
1174 list_for_each_prev_safe(el, tmp, &ip_kset->list) { in amdgpu_discovery_sysfs_die_free()
1175 list_del_init(el); in amdgpu_discovery_sysfs_die_free()
1177 amdgpu_discovery_sysfs_ip_hw_free(to_ip_hw_id(list_to_kobj(el))); in amdgpu_discovery_sysfs_die_free()
1186 struct list_head *el, *tmp; in amdgpu_discovery_sysfs_fini() local
1191 list_for_each_prev_safe(el, tmp, &die_kset->list) { in amdgpu_discovery_sysfs_fini()
1192 list_del_init(el); in amdgpu_discovery_sysfs_fini()
1194 amdgpu_discovery_sysfs_die_free(to_ip_die_entry(list_to_kobj(el))); in amdgpu_discovery_sysfs_fini()