Lines Matching refs:top_info
392 struct psp_xgmi_topology_info *top = &adev->psp.xgmi_context.top_info; in amdgpu_xgmi_show_num_hops()
407 struct psp_xgmi_topology_info *top = &adev->psp.xgmi_context.top_info; in amdgpu_xgmi_show_num_links()
422 struct psp_xgmi_topology_info *top = &adev->psp.xgmi_context.top_info; in amdgpu_xgmi_show_connected_port_num()
761 &adev->psp.xgmi_context.top_info); in amdgpu_xgmi_update_topology()
781 struct psp_xgmi_topology_info *top = &adev->psp.xgmi_context.top_info; in amdgpu_xgmi_get_hops_count()
794 struct psp_xgmi_topology_info *top = &adev->psp.xgmi_context.top_info; in amdgpu_xgmi_get_num_links()
832 struct psp_xgmi_topology_info *top_info = &adev->psp.xgmi_context.top_info; in amdgpu_xgmi_fill_topology_info() local
833 struct psp_xgmi_topology_info *peer_info = &peer_adev->psp.xgmi_context.top_info; in amdgpu_xgmi_fill_topology_info()
837 for (int j = 0; j < top_info->num_nodes; j++) { in amdgpu_xgmi_fill_topology_info()
838 if (top_info->nodes[j].node_id == peer_adev->gmc.xgmi.node_id) { in amdgpu_xgmi_fill_topology_info()
839 peer_info->nodes[i].num_hops = top_info->nodes[j].num_hops; in amdgpu_xgmi_fill_topology_info()
841 top_info->nodes[j].is_sharing_enabled; in amdgpu_xgmi_fill_topology_info()
843 top_info->nodes[j].num_links; in amdgpu_xgmi_fill_topology_info()
853 struct psp_xgmi_topology_info *top_info; in amdgpu_xgmi_add_device() local
900 top_info = &adev->psp.xgmi_context.top_info; in amdgpu_xgmi_add_device()
904 top_info->nodes[count++].node_id = entry->node_id; in amdgpu_xgmi_add_device()
905 top_info->num_nodes = count; in amdgpu_xgmi_add_device()
915 top_info = &tmp_adev->psp.xgmi_context.top_info; in amdgpu_xgmi_add_device()
916 top_info->nodes[count - 1].node_id = in amdgpu_xgmi_add_device()
918 top_info->num_nodes = count; in amdgpu_xgmi_add_device()
929 &adev->psp.xgmi_context.top_info, false); in amdgpu_xgmi_add_device()
947 &tmp_adev->psp.xgmi_context.top_info, false); in amdgpu_xgmi_add_device()
970 &tmp_adev->psp.xgmi_context.top_info, true); in amdgpu_xgmi_add_device()