Searched refs:hops (Results 1 – 9 of 9) sorted by relevance
/drivers/thunderbolt/ |
D | path.c | 163 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_discover() 164 if (!path->hops) { in tb_path_discover() 195 path->hops[i].in_port = p; in tb_path_discover() 196 path->hops[i].in_hop_index = h; in tb_path_discover() 197 path->hops[i].in_counter_index = -1; in tb_path_discover() 198 path->hops[i].out_port = out_port; in tb_path_discover() 199 path->hops[i].next_hop_index = next_hop; in tb_path_discover() 264 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_alloc() 265 if (!path->hops) { in tb_path_alloc() 326 path->hops[i].in_hop_index = in_hopid; in tb_path_alloc() [all …]
|
D | test.c | 855 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane0() 856 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane0() 917 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1() 918 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1() 997 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1_chain() 998 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1_chain() 1077 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1_chain_reverse() 1078 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1_chain_reverse() 1169 in_port = path->hops[i].in_port; in tb_test_path_mixed_chain() 1170 out_port = path->hops[i].out_port; in tb_test_path_mixed_chain() [all …]
|
D | tunnel.c | 599 paths[TB_DP_VIDEO_PATH_OUT]->hops[0].in_hop_index, in tb_dp_activate() 600 paths[TB_DP_AUX_PATH_OUT]->hops[0].in_hop_index, in tb_dp_activate() 601 paths[TB_DP_AUX_PATH_IN]->hops[last].next_hop_index); in tb_dp_activate() 604 paths[TB_DP_VIDEO_PATH_OUT]->hops[last].next_hop_index, in tb_dp_activate() 605 paths[TB_DP_AUX_PATH_IN]->hops[0].in_hop_index, in tb_dp_activate() 606 paths[TB_DP_AUX_PATH_OUT]->hops[last].next_hop_index); in tb_dp_activate() 979 hop = &path->hops[0]; in tb_dma_init_rx_path() 987 ret = tb_dma_reserve_credits(&path->hops[i], credits); in tb_dma_init_rx_path() 1152 if (tb_port_is_nhi(path->hops[0].in_port)) in tb_tunnel_match_dma() 1154 else if (tb_port_is_nhi(path->hops[path->path_length - 1].out_port)) in tb_tunnel_match_dma() [all …]
|
D | tb.h | 376 struct tb_path_hop *hops; member 982 for ((hop) = &(path)->hops[0]; \ 983 (hop) <= &(path)->hops[(path)->path_length - 1]; (hop)++)
|
/drivers/misc/habanalabs/common/mmu/ |
D | mmu.c | 480 struct hl_mmu_hop_info *hops, in hl_mmu_pa_page_with_offset() argument 490 if (hops->unscrambled_paddr) in hl_mmu_pa_page_with_offset() 491 tmp_phys_addr = hops->unscrambled_paddr; in hl_mmu_pa_page_with_offset() 493 tmp_phys_addr = hops->hop_info[hops->used_hops - 1].hop_pte_val; in hl_mmu_pa_page_with_offset() 495 if (hops->range_type == HL_VA_RANGE_TYPE_HOST_HUGE) in hl_mmu_pa_page_with_offset() 497 else if (hops->range_type == HL_VA_RANGE_TYPE_HOST) in hl_mmu_pa_page_with_offset() 502 if ((hops->range_type == HL_VA_RANGE_TYPE_DRAM) && in hl_mmu_pa_page_with_offset() 529 p = (char *)p + ((hops->used_hops - 1) * sizeof(u64)); in hl_mmu_pa_page_with_offset() 540 struct hl_mmu_hop_info hops; in hl_mmu_va_to_pa() local 543 memset(&hops, 0, sizeof(hops)); in hl_mmu_va_to_pa() [all …]
|
D | mmu_v1.c | 870 struct hl_mmu_hop_info *hops) in hl_mmu_v1_get_tlb_info() argument 907 hops->hop_info[0].hop_addr = get_phys_hop0_addr(ctx); in hl_mmu_v1_get_tlb_info() 908 hops->hop_info[0].hop_pte_addr = in hl_mmu_v1_get_tlb_info() 910 hops->hop_info[0].hop_addr, virt_addr); in hl_mmu_v1_get_tlb_info() 911 hops->hop_info[0].hop_pte_val = in hl_mmu_v1_get_tlb_info() 913 hops->hop_info[0].hop_pte_addr); in hl_mmu_v1_get_tlb_info() 916 hops->hop_info[i].hop_addr = in hl_mmu_v1_get_tlb_info() 918 hops->hop_info[i - 1].hop_pte_val); in hl_mmu_v1_get_tlb_info() 919 if (hops->hop_info[i].hop_addr == ULLONG_MAX) in hl_mmu_v1_get_tlb_info() 922 hops->hop_info[i].hop_pte_addr = in hl_mmu_v1_get_tlb_info() [all …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_br_ext.c | 641 u_int8_t hops; member
|
/drivers/staging/gdm724x/ |
D | gdm_lte.c | 588 u8 hops; /* used by relay agents only */ in gdm_lte_netif_rx() member
|
/drivers/misc/habanalabs/common/ |
D | habanalabs.h | 2265 u64 virt_addr, struct hl_mmu_hop_info *hops); 2877 struct hl_mmu_hop_info *hops);
|