/Linux-v6.1/drivers/thunderbolt/ |
D | path.c | 16 static void tb_dump_hop(const struct tb_path_hop *hop, const struct tb_regs_hop *regs) in tb_dump_hop() argument 18 const struct tb_port *port = hop->in_port; in tb_dump_hop() 21 hop->in_hop_index, regs->out_port, regs->next_hop); in tb_dump_hop() 38 struct tb_regs_hop hop; in tb_path_find_dst_port() local 48 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hopid, 2); in tb_path_find_dst_port() 54 if (!hop.enable) in tb_path_find_dst_port() 57 out_port = &sw->ports[hop.out_port]; in tb_path_find_dst_port() 58 hopid = hop.next_hop; in tb_path_find_dst_port() 107 struct tb_regs_hop hop; in tb_path_discover() local 134 ret = tb_port_read(p, &hop, TB_CFG_HOPS, 2 * h, 2); in tb_path_discover() [all …]
|
D | nhi.c | 51 int bit = ring->hop; in ring_interrupt_index() 76 index = ring->hop; in ring_interrupt_active() 78 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active() 116 RING_TYPE(ring), ring->hop, in ring_interrupt_active() 144 io += ring->hop * 16; in ring_desc_base() 152 io += ring->hop * 32; in ring_options_base() 481 if (ring->hop < 0) { in nhi_alloc_hop() 491 ring->hop = i; in nhi_alloc_hop() 496 ring->hop = i; in nhi_alloc_hop() 503 if (ring->hop > 0 && ring->hop < start_hop) { in nhi_alloc_hop() [all …]
|
D | tunnel.c | 159 static int tb_pci_init_credits(struct tb_path_hop *hop) in tb_pci_init_credits() argument 161 struct tb_port *port = hop->in_port; in tb_pci_init_credits() 182 hop->initial_credits = credits; in tb_pci_init_credits() 188 struct tb_path_hop *hop; in tb_pci_init_path() local 198 tb_path_for_each_hop(path, hop) { in tb_pci_init_path() 201 ret = tb_pci_init_credits(hop); in tb_pci_init_path() 698 static void tb_dp_init_aux_credits(struct tb_path_hop *hop) in tb_dp_init_aux_credits() argument 700 struct tb_port *port = hop->in_port; in tb_dp_init_aux_credits() 704 hop->initial_credits = sw->min_dp_aux_credits; in tb_dp_init_aux_credits() 706 hop->initial_credits = 1; in tb_dp_init_aux_credits() [all …]
|
D | nhi_regs.h | 40 * 16 bytes per entry, one entry for every hop (REG_HOP_COUNT) 49 * 16 bytes per entry, one entry for every hop (REG_HOP_COUNT) 59 * 32 bytes per entry, one entry for every hop (REG_HOP_COUNT) 67 * 32 bytes per entry, one entry for every hop (REG_HOP_COUNT) 70 * the corresponding TX hop id. 80 * Every bitfield contains one bit for every hop (REG_HOP_COUNT). Registers are 89 * Both bitfields contains one bit for every hop (REG_HOP_COUNT). To
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dpia.c | 240 uint32_t hop) in dpcd_set_lt_pattern() argument 246 if (hop != DPRX) in dpcd_set_lt_pattern() 248 ((DP_REPEATER_CONFIGURATION_AND_STATUS_SIZE) * (hop - 1)); in dpcd_set_lt_pattern() 257 if (hop != DPRX) { in dpcd_set_lt_pattern() 260 hop, in dpcd_set_lt_pattern() 278 /* Execute clock recovery phase of link training for specified hop in display 282 * - Drive (VS/PE) only transmitted for the hop immediately downstream of DPOA. 283 * - CR for the first hop (DPTX-to-DPIA) is assumed to be successful. 287 * @param hop The Hop in display path. DPRX = 0. 293 uint32_t hop) in dpia_training_cr_non_transparent() argument [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | nexthop-group-resilient.rst | 4 Resilient Next-hop Groups 7 Resilient groups are a type of next-hop group that is aimed at minimizing 12 the legacy multipath next-hop group, which uses the hash-threshold 15 To select a next hop, hash-threshold algorithm first assigns a range of 16 hashes to each next hop in the group, and then selects the next hop by 17 comparing the SKB hash with the individual ranges. When a next hop is 19 reassignment of parts of hash space from one next hop to another. RFC 2992 28 Before and after deletion of next hop 3 31 Note how next hop 2 gave up part of the hash space in favor of next hop 1, 33 previous and the new distribution, some traffic flows change the next hop [all …]
|
/Linux-v6.1/net/ipv6/ |
D | calipso.c | 767 /* Hop-by-hop hdr helper functions 771 * calipso_opt_update - Replaces socket's hop options with a new set 773 * @hop: new hop options 776 * Replaces @sk's hop options with @hop. @hop may be NULL to leave 777 * the socket with no hop options. 780 static int calipso_opt_update(struct sock *sk, struct ipv6_opt_hdr *hop) in calipso_opt_update() argument 784 txopts = ipv6_renew_options(sk, old, IPV6_HOPOPTS, hop); in calipso_opt_update() 826 * calipso_opt_find - Finds the CALIPSO option in an IPv6 hop options header 827 * @hop: the hop options header 836 * offsets within @hop of the start of padding before the first [all …]
|
D | mcast_snoop.c | 164 * with a hop-by-hop option. 165 * -ENODATA: IP+ICMPv6 header with hop-by-hop option validation succeeded
|
/Linux-v6.1/net/6lowpan/ |
D | Kconfig | 41 tristate "Hop-by-Hop Options Header Support" 44 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to 72 tristate "GHC Hop-by-Hop Options Header Support" 74 6LoWPAN IPv6 Hop-by-Hop option generic header compression according
|
D | nhc_hop.c | 3 * 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to RFC6282 11 LOWPAN_NHC(nhc_hop, "RFC6282 Hop-by-Hop Options", NEXTHDR_HOP, 0, 15 MODULE_DESCRIPTION("6LoWPAN next header RFC6282 Hop-by-Hop Options compression");
|
D | nhc_ghc_ext_hop.c | 11 LOWPAN_NHC(ghc_ext_hop, "RFC7400 Hop-by-Hop Extension Header", NEXTHDR_HOP, 0, 15 MODULE_DESCRIPTION("6LoWPAN generic header hop-by-hop extension compression");
|
/Linux-v6.1/sound/synth/emux/ |
D | emux_oss.c | 27 void *private, int atomic, int hop); 30 int cmd, unsigned char *event, int atomic, int hop); 32 int cmd, unsigned char *event, int atomic, int hop); 34 int ch, int param, int val, int atomic, int hop); 288 int atomic, int hop) in snd_emux_event_oss_input() argument 301 return snd_emux_event_input(ev, direct, private_data, atomic, hop); in snd_emux_event_oss_input() 309 emuspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input() 311 gusspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input() 321 unsigned char *event, int atomic, int hop) in emuspec_control() argument 361 fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop); in emuspec_control() [all …]
|
/Linux-v6.1/drivers/misc/habanalabs/common/mmu/ |
D | mmu.c | 523 /* last hop holds the phys address and flags */ in hl_mmu_pa_page_with_offset() 559 * find the correct hop shift field in hl_mmu_properties in hl_mmu_pa_page_with_offset() 755 * hl_mmu_get_hop_pte_phys_addr() - extract PTE address from HOP 758 * @hop_idx: HOP index. 759 * @hop_addr: HOP address. 770 dev_err_ratelimited(ctx->hdev->dev, "Invalid hop index %d\n", hop_idx); in hl_mmu_get_hop_pte_phys_addr() 800 * @hop_table_size: HOP table size. 843 * @hop_table_size: HOP table size. 908 dev_err(hdev->dev, "Failed to allocate HOP from pgt pool\n"); in hl_mmu_hr_init() 930 * @hop_table_size: HOP table size [all …]
|
D | mmu_v2_hr.c | 192 int hop; in hl_mmu_v2_get_last_hop() local 194 for (hop = (mmu_prop->num_hops - 1); hop; hop--) { in hl_mmu_v2_get_last_hop() 195 if (mmu_prop->hop_shifts[hop] == 0) in hl_mmu_v2_get_last_hop() 198 if (page_size <= (1 << mmu_prop->hop_shifts[hop])) in hl_mmu_v2_get_last_hop() 202 return hop; in hl_mmu_v2_get_last_hop() 234 dev_err(ctx->hdev->dev, "Invalid last HOP %d\n", hop_last); in _hl_mmu_v2_hr_map() 266 dev_dbg(hdev->dev, "hop%d pte: 0x%llx (0x%llx)\n", in _hl_mmu_v2_hr_map() 284 /* for each new hop, add its address to the table of previous-hop */ in _hl_mmu_v2_hr_map()
|
D | mmu_v1.c | 110 * The value to write is actually the address of the next shadow hop + in write_pte() 113 * clear the 12 LSBs and translate the shadow hop to its associated in write_pte() 114 * physical hop, and add back the original 12 LSBs. in write_pte() 149 * put_pte - decrement the num of ptes and free the hop if possible 152 * @hop_addr: addr of the hop 154 * This function returns the number of ptes left on this hop. If the number is 199 /* translates shadow address inside hop to a physical address */ 243 dev_err(hdev->dev, "failed to alloc hop 1\n"); in dram_default_mapping_init() 252 dev_err(hdev->dev, "failed to alloc hop 2\n"); in dram_default_mapping_init() 262 dev_err(hdev->dev, "failed to alloc hop 3, i: %d\n", i); in dram_default_mapping_init() [all …]
|
/Linux-v6.1/sound/core/seq/ |
D | seq_queue.c | 240 void snd_seq_check_queue(struct snd_seq_queue *q, int atomic, int hop) in snd_seq_check_queue() argument 268 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue() 279 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue() 300 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop) in snd_seq_enqueue_event() argument 344 snd_seq_check_queue(q, atomic, hop); in snd_seq_enqueue_event() 630 int atomic, int hop) in queue_broadcast_event() argument 645 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event() 654 int atomic, int hop) in snd_seq_queue_process_event() argument 661 queue_broadcast_event(q, ev, atomic, hop); in snd_seq_queue_process_event() 666 queue_broadcast_event(q, ev, atomic, hop); in snd_seq_queue_process_event() [all …]
|
D | seq_clientmgr.c | 68 int err, int atomic, int hop); 71 int filter, int atomic, int hop); 535 int err, int atomic, int hop) in bounce_error_event() argument 557 result = snd_seq_deliver_single_event(NULL, &bounce_ev, 0, atomic, hop + 1); in bounce_error_event() 603 int filter, int atomic, int hop) in snd_seq_deliver_single_event() argument 640 atomic, hop); in snd_seq_deliver_single_event() 653 result = bounce_error_event(client, event, result, atomic, hop); in snd_seq_deliver_single_event() 664 int atomic, int hop) in deliver_to_subscribers() argument 683 down_read_nested(&grp->list_mutex, hop); in deliver_to_subscribers() 694 0, atomic, hop); in deliver_to_subscribers() [all …]
|
D | seq_queue.h | 66 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop); 81 void snd_seq_check_queue(struct snd_seq_queue *q, int atomic, int hop); 93 int snd_seq_control_queue(struct snd_seq_event *ev, int atomic, int hop);
|
/Linux-v6.1/drivers/infiniband/core/ |
D | smi.c | 86 /* C14-9:5 -- Fail unreasonable hop pointer */ in __smi_handle_dr_smp_send() 120 /* C14-13:5 -- Check for unreasonable hop pointer */ in __smi_handle_dr_smp_send() 174 /* C14-9:2 -- intermediate hop */ in __smi_handle_dr_smp_recv() 197 /* C14-9:5 -- fail unreasonable hop pointer */ in __smi_handle_dr_smp_recv() 231 /* C14-13:5 -- Check for unreasonable hop pointer */ in __smi_handle_dr_smp_recv() 276 /* C14-9:2 -- intermediate hop */ in __smi_check_forward_dr_smp() 289 /* C14-13:2 -- intermediate hop */ in __smi_check_forward_dr_smp()
|
D | opa_smi.h | 57 /* C14-9:4 -- Hop Pointer = Hop Count + 1 -> give to SMA/SM */ in opa_smi_check_local_smp() 72 /* C14-13:4 -- Hop Pointer == 0 -> give to SM */ in opa_smi_check_local_returning_smp()
|
D | smi.h | 69 /* C14-9:4 -- Hop Pointer = Hop Count + 1 -> give to SMA/SM */ in smi_check_local_smp() 84 /* C14-13:4 -- Hop Pointer == 0 -> give to SM */ in smi_check_local_returning_smp()
|
/Linux-v6.1/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 118 struct ttm_place *hop) in ttm_bo_handle_move_mem() argument 153 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); in ttm_bo_handle_move_mem() 441 struct ttm_place *hop) in ttm_bo_bounce_temp_buffer() argument 448 hop_placement.placement = hop_placement.busy_placement = hop; in ttm_bo_bounce_temp_buffer() 469 struct ttm_place hop; in ttm_bo_evict() local 472 memset(&hop, 0, sizeof(hop)); in ttm_bo_evict() 503 ret = ttm_bo_handle_move_mem(bo, evict_mem, true, ctx, &hop); in ttm_bo_evict() 505 ret = ttm_bo_bounce_temp_buffer(bo, &evict_mem, ctx, &hop); in ttm_bo_evict() 857 struct ttm_place hop; in ttm_bo_move_buffer() local 869 * the second hop. in ttm_bo_move_buffer() [all …]
|
/Linux-v6.1/tools/testing/selftests/net/forwarding/ |
D | mirror_gre_nh.sh | 8 # is reachable through a next-hop route (as opposed to directly-attached route). 91 log_test "mirror to gre with next-hop remote ($tcflags)" 102 log_test "mirror to ip6gre with next-hop remote ($tcflags)"
|
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_control.sh | 279 -t ip hop=1,next=0,payload=$(mld_payload_get 130) -p 100 -q 287 -t ip hop=1,next=0,payload=$(mld_payload_get 131) -p 100 -q 295 -t ip hop=1,next=0,payload=$(mld_payload_get 143) -p 100 -q 303 -t ip hop=1,next=0,payload=$(mld_payload_get 132) -p 100 -q 359 -t ip hop=1,next=58,payload=$(icmpv6_header_get 135) -p 100 -q 367 -t ip hop=1,next=58,payload=$(icmpv6_header_get 136) -p 100 -q 567 # https://en.wikipedia.org/wiki/IPv6_packet#Hop-by-hop_options_and_destination_options 607 -t ip hop=1,next=58,payload=$(icmpv6_header_get 133) -p 100 -q 616 -t ip hop=1,next=58,payload=$(icmpv6_header_get 134) -p 100 -q 625 -t ip hop=1,next=58,payload=$(icmpv6_header_get 137) -p 100 -q
|
/Linux-v6.1/net/ipv6/netfilter/ |
D | Kconfig | 113 tristate '"hbh" hop-by-hop and "dst" opts header match support' 116 This allows one to match packets based on the hop-by-hop
|