/openbmc/linux/drivers/thunderbolt/ |
H A 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 …]
|
H A D | nhi.c | 55 int bit = ring->hop; in ring_interrupt_index() 101 index = ring->hop; in ring_interrupt_active() 103 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active() 148 RING_TYPE(ring), ring->hop, in ring_interrupt_active() 180 io += ring->hop * 16; in ring_desc_base() 188 io += ring->hop * 32; in ring_options_base() 520 if (ring->hop < 0) { in nhi_alloc_hop() 530 ring->hop = i; in nhi_alloc_hop() 535 ring->hop = i; in nhi_alloc_hop() 542 if (ring->hop > 0 && ring->hop < start_hop) { in nhi_alloc_hop() [all …]
|
H A D | tunnel.c | 205 static int tb_pci_init_credits(struct tb_path_hop *hop) in tb_pci_init_credits() argument 207 struct tb_port *port = hop->in_port; in tb_pci_init_credits() 228 hop->initial_credits = credits; in tb_pci_init_credits() 234 struct tb_path_hop *hop; in tb_pci_init_path() local 244 tb_path_for_each_hop(path, hop) { in tb_pci_init_path() 247 ret = tb_pci_init_credits(hop); in tb_pci_init_path() 1205 static void tb_dp_init_aux_credits(struct tb_path_hop *hop) in tb_dp_init_aux_credits() argument 1207 struct tb_port *port = hop->in_port; in tb_dp_init_aux_credits() 1211 hop->initial_credits = sw->min_dp_aux_credits; in tb_dp_init_aux_credits() 1213 hop->initial_credits = 1; in tb_dp_init_aux_credits() [all …]
|
H A D | dma_test.c | 158 e2e_tx_hop = ring->hop; in dma_test_start_rings() 195 dt->tx_ring ? dt->tx_ring->hop : -1, in dma_test_start_rings() 197 dt->rx_ring ? dt->rx_ring->hop : -1); in dma_test_start_rings() 221 dt->tx_ring ? dt->tx_ring->hop : -1, in dma_test_stop_rings() 223 dt->rx_ring ? dt->rx_ring->hop : -1); in dma_test_stop_rings()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_training_dpia.c | 236 uint32_t hop) in dpcd_set_lt_pattern() argument 242 if (hop != DPRX) in dpcd_set_lt_pattern() 244 ((DP_REPEATER_CONFIGURATION_AND_STATUS_SIZE) * (hop - 1)); in dpcd_set_lt_pattern() 253 if (hop != DPRX) { in dpcd_set_lt_pattern() 256 hop, in dpcd_set_lt_pattern() 290 uint32_t hop) in dpia_training_cr_non_transparent() argument 318 if (hop == repeater_cnt) { in dpia_training_cr_non_transparent() 357 status = dpcd_set_lt_pattern(link, lt_settings->pattern_for_cr, hop); in dpia_training_cr_non_transparent() 367 if (hop == repeater_cnt - 1) { in dpia_training_cr_non_transparent() 381 status = dpcd_set_lane_settings(link, lt_settings, hop); in dpia_training_cr_non_transparent() [all …]
|
/openbmc/linux/Documentation/networking/ |
H A 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 …]
|
/openbmc/linux/net/ipv6/ |
H A D | calipso.c | 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() 846 static int calipso_opt_find(struct ipv6_opt_hdr *hop, unsigned int *start, in calipso_opt_find() argument 851 unsigned char *opt = (unsigned char *)hop; in calipso_opt_find() 853 opt_len = ipv6_optlen(hop); in calipso_opt_find() 854 offset = sizeof(*hop); in calipso_opt_find() 857 tlv_len = calipso_tlv_len(hop, offset); in calipso_opt_find() 882 *start = offset_s + calipso_tlv_len(hop, offset_s); in calipso_opt_find() 884 *start = sizeof(*hop); in calipso_opt_find() 886 *end = offset_e + calipso_tlv_len(hop, offset_e); in calipso_opt_find() [all …]
|
/openbmc/linux/sound/synth/emux/ |
H A 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 …]
|
/openbmc/linux/sound/core/seq/ |
H A 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 …]
|
H A D | seq_ump_convert.c | 365 int atomic, int hop) in cvt_ump_midi1_to_midi2() argument 428 atomic, hop); in cvt_ump_midi1_to_midi2() 435 int atomic, int hop) in cvt_ump_midi2_to_midi1() argument 472 atomic, hop); in cvt_ump_midi2_to_midi1() 479 atomic, hop); in cvt_ump_midi2_to_midi1() 500 atomic, hop); in cvt_ump_midi2_to_midi1() 508 int atomic, int hop) in cvt_ump_to_any() argument 542 &ev_cvt[i], atomic, hop); in cvt_ump_to_any() 554 int atomic, int hop) in deliver_with_group_convert() argument 565 atomic, hop); in deliver_with_group_convert() [all …]
|
H A 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);
|
H A D | seq_ump_convert.h | 15 int atomic, int hop); 20 int atomic, int hop);
|
H A D | seq_clientmgr.c | 70 int err, int atomic, int hop); 73 int filter, int atomic, int hop); 569 int err, int atomic, int hop) in bounce_error_event() argument 591 result = snd_seq_deliver_single_event(NULL, &bounce_ev, 0, atomic, hop + 1); in bounce_error_event() 631 int atomic, int hop) in __snd_seq_deliver_single_event() argument 644 atomic, hop); in __snd_seq_deliver_single_event() 658 int filter, int atomic, int hop) in snd_seq_deliver_single_event() argument 688 event, atomic, hop); in snd_seq_deliver_single_event() 692 event, atomic, hop); in snd_seq_deliver_single_event() 699 atomic, hop); in snd_seq_deliver_single_event() [all …]
|
H A D | seq_clientmgr.h | 85 int snd_seq_dispatch_event(struct snd_seq_event_cell *cell, int atomic, int hop); 94 int atomic, int hop);
|
H A D | seq_system.c | 102 …t event_input_timer(struct snd_seq_event * ev, int direct, void *private_data, int atomic, int hop) in event_input_timer() argument 104 return snd_seq_control_queue(ev, atomic, hop); in event_input_timer()
|
H A D | seq_dummy.c | 75 int atomic, int hop) in dummy_input() argument 90 return snd_seq_kernel_client_dispatch(p->client, &tmpev, atomic, hop); in dummy_input()
|
/openbmc/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 118 struct ttm_place *hop) in ttm_bo_handle_move_mem() argument 152 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); in ttm_bo_handle_move_mem() 401 struct ttm_place *hop) in ttm_bo_bounce_temp_buffer() argument 408 hop_placement.placement = hop_placement.busy_placement = hop; in ttm_bo_bounce_temp_buffer() 429 struct ttm_place hop; in ttm_bo_evict() local 432 memset(&hop, 0, sizeof(hop)); in ttm_bo_evict() 463 ret = ttm_bo_handle_move_mem(bo, evict_mem, true, ctx, &hop); in ttm_bo_evict() 467 ret = ttm_bo_bounce_temp_buffer(bo, &evict_mem, ctx, &hop); in ttm_bo_evict() 843 struct ttm_place hop; in ttm_bo_move_buffer() local 861 ret = ttm_bo_handle_move_mem(bo, mem, false, ctx, &hop); in ttm_bo_move_buffer() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_control.sh | 280 -t ip hop=1,next=0,payload=$(mld_payload_get 130) -p 100 -q 288 -t ip hop=1,next=0,payload=$(mld_payload_get 131) -p 100 -q 296 -t ip hop=1,next=0,payload=$(mld_payload_get 143) -p 100 -q 304 -t ip hop=1,next=0,payload=$(mld_payload_get 132) -p 100 -q 360 -t ip hop=1,next=58,payload=$(icmpv6_header_get 135) -p 100 -q 368 -t ip hop=1,next=58,payload=$(icmpv6_header_get 136) -p 100 -q 608 -t ip hop=1,next=58,payload=$(icmpv6_header_get 133) -p 100 -q 617 -t ip hop=1,next=58,payload=$(icmpv6_header_get 134) -p 100 -q 626 -t ip hop=1,next=58,payload=$(icmpv6_header_get 137) -p 100 -q
|
/openbmc/linux/drivers/accel/habanalabs/common/mmu/ |
H A 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()
|
/openbmc/linux/kernel/rcu/ |
H A D | tasks.h | 17 typedef void (*pregp_func_t)(struct list_head *hop); 18 typedef void (*pertask_func_t)(struct task_struct *t, struct list_head *hop); 19 typedef void (*postscan_func_t)(struct list_head *hop); 20 typedef void (*holdouts_func_t)(struct list_head *hop, bool ndrpt, bool *frptp); 908 static void rcu_tasks_pregp_step(struct list_head *hop) in rcu_tasks_pregp_step() argument 953 static void rcu_tasks_pertask(struct task_struct *t, struct list_head *hop) in rcu_tasks_pertask() argument 959 list_add(&t->rcu_tasks_holdout_list, hop); in rcu_tasks_pertask() 964 static void rcu_tasks_postscan(struct list_head *hop) in rcu_tasks_postscan() argument 1029 static void check_all_holdout_tasks(struct list_head *hop, in check_all_holdout_tasks() argument 1034 list_for_each_entry_safe(t, t1, hop, rcu_tasks_holdout_list) { in check_all_holdout_tasks() [all …]
|
/openbmc/linux/include/sound/ |
H A D | seq_kernel.h | 51 int (*event_input)(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop); 63 int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event *ev, int atomic, int hop);
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_ttm.c | 141 struct ttm_place *hop) in qxl_bo_move() argument 148 hop->mem_type = TTM_PL_SYSTEM; in qxl_bo_move() 149 hop->flags = TTM_PL_FLAG_TEMPORARY; in qxl_bo_move()
|
/openbmc/linux/sound/core/seq/oss/ |
H A D | seq_oss_device.h | 136 snd_seq_oss_dispatch(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, int atomic, int hop) in snd_seq_oss_dispatch() argument 138 return snd_seq_kernel_client_dispatch(dp->cseq, ev, atomic, hop); in snd_seq_oss_dispatch()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_ttm_move.h | 36 struct ttm_place *hop);
|
/openbmc/linux/include/linux/ |
H A D | thunderbolt.h | 536 int hop; member 607 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, 609 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size,
|