Home
last modified time | relevance | path

Searched refs:num_hops (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/thunderbolt/
Dpath.c109 size_t num_hops; in tb_path_discover() local
127 num_hops = 0; in tb_path_discover()
148 num_hops++; in tb_path_discover()
157 path->path_length = num_hops; in tb_path_discover()
160 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_discover()
169 for (i = 0; i < num_hops; i++) { in tb_path_discover()
234 size_t num_hops; in tb_path_alloc() local
245 num_hops = abs(tb_route_length(tb_route(src->sw)) - in tb_path_alloc()
248 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_alloc()
257 for (i = 0; i < num_hops; i++) { in tb_path_alloc()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dpsp_v11_0.c748 topology_info_input->nodes[i].num_hops = topology->nodes[i].num_hops; in psp_v11_0_xgmi_get_topology_info()
763 topology->nodes[i].num_hops = topology_info_output->nodes[i].num_hops; in psp_v11_0_xgmi_get_topology_info()
790 topology_info_input->nodes[i].num_hops = topology->nodes[i].num_hops; in psp_v11_0_xgmi_set_topology_info()
Dta_xgmi_if.h73 uint8_t num_hops; member
Damdgpu_psp.h116 uint8_t num_hops; member
Damdgpu_xgmi.c322 return top->nodes[i].num_hops; in amdgpu_xgmi_get_hops_count()