Lines Matching refs:iolink
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()
385 props->max_bandwidth = iolink->maximum_bandwidth_mbs; in kfd_parse_subtype_iolink()
387 iolink->recommended_transfer_size; in kfd_parse_subtype_iolink()
404 if (props && (iolink->flags & CRAT_IOLINK_FLAGS_BI_DIRECTIONAL)) { in kfd_parse_subtype_iolink()
432 struct crat_subtype_iolink *iolink; in kfd_parse_subtype() local
461 iolink = (struct crat_subtype_iolink *)sub_type_hdr; in kfd_parse_subtype()
462 ret = kfd_parse_subtype_iolink(iolink, device_list); in kfd_parse_subtype()