Home
last modified time | relevance | path

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

/Linux-v5.15/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()
235 size_t num_hops; in tb_path_alloc() local
258 num_hops = i / 2; in tb_path_alloc()
260 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_alloc()
269 for (i = 0; i < num_hops; i++) { in tb_path_alloc()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Dta_xgmi_if.h74 uint8_t num_hops; member
Damdgpu_psp.c1138 uint8_t dst_num_hops = node_info.num_hops; in psp_xgmi_reflect_topology_info()
1154 mirror_top_info->nodes[j].num_hops = dst_num_hops; in psp_xgmi_reflect_topology_info()
1195 topology_info_input->nodes[i].num_hops = topology->nodes[i].num_hops; in psp_xgmi_get_topology_info()
1210 if (topology_info_output->nodes[i].num_hops) in psp_xgmi_get_topology_info()
1211 topology->nodes[i].num_hops = topology_info_output->nodes[i].num_hops; in psp_xgmi_get_topology_info()
1245 get_extended_data && topology->nodes[i].num_hops) in psp_xgmi_get_topology_info()
1273 topology_info_input->nodes[i].num_hops = topology->nodes[i].num_hops; in psp_xgmi_set_topology_info()
Damdgpu_psp.h123 uint8_t num_hops; member
Damdgpu_xgmi.c516 return top->nodes[i].num_hops & num_hops_mask; in amdgpu_xgmi_get_hops_count()
/Linux-v5.15/drivers/misc/habanalabs/common/mmu/
Dmmu_v1.c901 used_hops = mmu_prop->num_hops; in hl_mmu_v1_get_tlb_info()
938 if (i == mmu_prop->num_hops) in hl_mmu_v1_get_tlb_info()
/Linux-v5.15/drivers/misc/habanalabs/common/
Dhabanalabs.h397 u32 num_hops; member
/Linux-v5.15/drivers/misc/habanalabs/goya/
Dgoya.c431 prop->dmmu.num_hops = MMU_ARCH_5_HOPS; in goya_set_fixed_properties()
438 prop->pmmu.num_hops = MMU_ARCH_5_HOPS; in goya_set_fixed_properties()
/Linux-v5.15/drivers/misc/habanalabs/gaudi/
Dgaudi.c615 prop->pmmu.num_hops = MMU_ARCH_5_HOPS; in gaudi_set_fixed_properties()