Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c1233 struct kfd_iolink_properties *props = NULL, *props2; in kfd_parse_subtype_iolink() local
1288 props2 = kmemdup(props, sizeof(*props2), GFP_KERNEL); in kfd_parse_subtype_iolink()
1289 if (!props2) in kfd_parse_subtype_iolink()
1292 props2->node_from = id_to; in kfd_parse_subtype_iolink()
1293 props2->node_to = id_from; in kfd_parse_subtype_iolink()
1294 props2->kobj = NULL; in kfd_parse_subtype_iolink()
1296 list_add_tail(&props2->list, &to_dev->io_link_props); in kfd_parse_subtype_iolink()
H A Dkfd_topology.c1411 struct kfd_iolink_properties *props = NULL, *props2 = NULL; in kfd_create_indirect_link_prop() local
1473 props2 = kfd_alloc_struct(props2); in kfd_create_indirect_link_prop()
1474 if (!props2) in kfd_create_indirect_link_prop()
1477 memcpy(props2, props, sizeof(struct kfd_iolink_properties)); in kfd_create_indirect_link_prop()
1478 props2->node_from = i; in kfd_create_indirect_link_prop()
1479 props2->node_to = gpu_node; in kfd_create_indirect_link_prop()
1480 props2->kobj = NULL; in kfd_create_indirect_link_prop()
1482 list_add_tail(&props2->list, &cpu_dev->p2p_link_props); in kfd_create_indirect_link_prop()
1483 ret = kfd_build_p2p_node_entry(cpu_dev, props2); in kfd_create_indirect_link_prop()