Searched refs:iolink (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 138 struct kfd_iolink_properties *iolink; in kfd_release_topology_device() local 158 iolink = container_of(dev->io_link_props.next, in kfd_release_topology_device() 160 list_del(&iolink->list); in kfd_release_topology_device() 161 kfree(iolink); in kfd_release_topology_device() 266 struct kfd_iolink_properties *iolink; in iolink_show() local 271 iolink = container_of(attr, struct kfd_iolink_properties, attr); in iolink_show() 272 sysfs_show_32bit_prop(buffer, "type", iolink->iolink_type); in iolink_show() 273 sysfs_show_32bit_prop(buffer, "version_major", iolink->ver_maj); in iolink_show() 274 sysfs_show_32bit_prop(buffer, "version_minor", iolink->ver_min); in iolink_show() 275 sysfs_show_32bit_prop(buffer, "node_from", iolink->node_from); in iolink_show() [all …]
|
D | kfd_crat.c | 350 static int kfd_parse_subtype_iolink(struct crat_subtype_iolink *iolink, in kfd_parse_subtype_iolink() argument 358 id_from = iolink->proximity_domain_from; in kfd_parse_subtype_iolink() 359 id_to = iolink->proximity_domain_to; in kfd_parse_subtype_iolink() 371 props->ver_maj = iolink->version_major; in kfd_parse_subtype_iolink() 372 props->ver_min = iolink->version_minor; in kfd_parse_subtype_iolink() 373 props->iolink_type = iolink->io_interface_type; in kfd_parse_subtype_iolink() 378 props->weight = 15 * iolink->num_hops_xgmi; in kfd_parse_subtype_iolink() 382 props->min_latency = iolink->minimum_latency; in kfd_parse_subtype_iolink() 383 props->max_latency = iolink->maximum_latency; in kfd_parse_subtype_iolink() 384 props->min_bandwidth = iolink->minimum_bandwidth_mbs; in kfd_parse_subtype_iolink() [all …]
|