/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | nhi_regs.h | 85 #define RING_NOTIFY_REG_COUNT(nhi) ((31 + 3 * nhi->hop_count) / 32) 93 #define RING_INTERRUPT_REG_COUNT(nhi) ((31 + 2 * nhi->hop_count) / 32)
|
H A D | nhi.c | 43 bit += ring->nhi->hop_count; in ring_interrupt_index() 68 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active() 450 * range 1 .. hop_count - 1. in nhi_alloc_hop() 452 for (i = RING_FIRST_USABLE_HOPID; i < nhi->hop_count; i++) { in nhi_alloc_hop() 467 if (ring->hop < 0 || ring->hop >= nhi->hop_count) { in nhi_alloc_hop() 810 for (bit = 0; bit < 3 * nhi->hop_count; bit++) { in nhi_interrupt_work() 815 if (++hop == nhi->hop_count) { in nhi_interrupt_work() 1025 for (i = 0; i < nhi->hop_count; i++) { in nhi_shutdown() 1194 nhi->hop_count = ioread32(nhi->iobase + REG_HOP_COUNT) & 0x3ff; in nhi_probe() 1195 dev_dbg(&pdev->dev, "total paths: %d\n", nhi->hop_count); in nhi_probe() [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | nhi_regs.h | 85 #define RING_NOTIFY_REG_COUNT(nhi) ((31 + 3 * nhi->hop_count) / 32) 94 #define RING_INTERRUPT_REG_COUNT(nhi) ((31 + 2 * nhi->hop_count) / 32)
|
H A D | nhi.c | 57 bit += ring->nhi->hop_count; in ring_interrupt_index() 103 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active() 442 4 * (ring->nhi->hop_count / 32)); in ring_clear_msix() 525 * range 1 .. hop_count - 1. in nhi_alloc_hop() 527 for (i = start_hop; i < nhi->hop_count; i++) { in nhi_alloc_hop() 547 if (ring->hop < 0 || ring->hop >= nhi->hop_count) { in nhi_alloc_hop() 921 for (bit = 0; bit < 3 * nhi->hop_count; bit++) { in nhi_interrupt_work() 926 if (++hop == nhi->hop_count) { in nhi_interrupt_work() 1136 for (i = 0; i < nhi->hop_count; i++) { in nhi_shutdown() 1355 nhi->hop_count in nhi_probe() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_cls_redirect.c | 381 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally() 405 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre() 533 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop() 542 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop() 579 if (encap->unigue.next_hop > encap->unigue.hop_count) { in get_next_hop() 586 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop() 597 return skip_next_hops(pkt, encap->unigue.hop_count - in get_next_hop() 1000 sizeof(encap->unigue) / 4 + encap->unigue.hop_count) { in cls_redirect()
|
H A D | test_cls_redirect.h | 47 uint8_t hop_count; member
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_cls_redirect.c | 382 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally() 406 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre() 540 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop() 549 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop() 586 if (encap->unigue.next_hop > encap->unigue.hop_count) { in get_next_hop() 593 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop() 604 return skip_next_hops(pkt, encap->unigue.hop_count - in get_next_hop() 1007 sizeof(encap->unigue) / 4 + encap->unigue.hop_count) { in cls_redirect()
|
H A D | test_cls_redirect_dynptr.c | 275 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally() 297 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre() 433 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop() 442 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop() 478 if (encap->unigue.next_hop > encap->unigue.hop_count) in get_next_hop() 484 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop() 496 return skip_next_hops(offset, encap->unigue.hop_count - encap->unigue.next_hop - 1); in get_next_hop() 908 sizeof(encap->unigue) / 4 + encap->unigue.hop_count) { in cls_redirect()
|
H A D | test_cls_redirect.h | 47 uint8_t hop_count; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | cls_redirect.c | 249 static void encap_init(encap_headers_t *encap, uint8_t hop_count, uint8_t proto) in encap_init() argument 252 (sizeof(struct guehdr) / sizeof(uint32_t)) + hop_count; in encap_init() 270 .hop_count = hop_count in encap_init()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | cls_redirect.c | 250 static void encap_init(encap_headers_t *encap, uint8_t hop_count, uint8_t proto) in encap_init() argument 253 (sizeof(struct guehdr) / sizeof(uint32_t)) + hop_count; in encap_init() 271 .hop_count = hop_count in encap_init()
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | mesh_hwmp.c | 104 u8 hop_count, u8 ttl, in mesh_path_sel_frame_tx() 158 *pos++ = hop_count; in mesh_path_sel_frame_tx() 497 mpath->hop_count = hopcount; in hwmp_route_info_get() 543 mpath->hop_count = 1; in hwmp_route_info_get() 100 mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags, const u8 *orig_addr, u32 orig_sn, u8 target_flags, const u8 *target, u32 target_sn, const u8 *da, u8 hop_count, u8 ttl, u32 lifetime, u32 metric, u32 preq_id, struct ieee80211_sub_if_data *sdata) mesh_path_sel_frame_tx() argument
|
H A D | mesh.h | 81 * @hop_count: hops to destination 116 u8 hop_count; member
|
H A D | mesh_pathtbl.c | 759 mpath->hop_count = 0; in mesh_path_fix_nexthop()
|
H A D | cfg.c | 1964 pinfo->hop_count = mpath->hop_count; in mpath_set_pinfo()
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | mesh_hwmp.c | 104 u8 hop_count, u8 ttl, in mesh_path_sel_frame_tx() 158 *pos++ = hop_count; in mesh_path_sel_frame_tx() 505 mpath->hop_count = hopcount; in hwmp_route_info_get() 555 mpath->hop_count = 1; in hwmp_route_info_get() 100 mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags, const u8 *orig_addr, u32 orig_sn, u8 target_flags, const u8 *target, u32 target_sn, const u8 *da, u8 hop_count, u8 ttl, u32 lifetime, u32 metric, u32 preq_id, struct ieee80211_sub_if_data *sdata) mesh_path_sel_frame_tx() argument
|
H A D | mesh.h | 82 * @hop_count: hops to destination 117 u8 hop_count; member
|
H A D | mesh_pathtbl.c | 1025 mpath->hop_count = 0; in mesh_path_fix_nexthop()
|
H A D | cfg.c | 2345 pinfo->hop_count = mpath->hop_count; in mpath_set_pinfo()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | thunderbolt.h | 441 * @hop_count: Number of rings (end point hops) supported by NHI. 453 u32 hop_count; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | thunderbolt.h | 488 * @hop_count: Number of rings (end point hops) supported by NHI. 502 u32 hop_count; member
|
/kernel/linux/linux-5.10/include/net/ |
H A D | cfg80211.h | 1792 * @MPATH_INFO_HOP_COUNT: @hop_count filled 1824 * @hop_count: hops to destination 1836 u8 hop_count; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | cfg80211.h | 2133 * @MPATH_INFO_HOP_COUNT: @hop_count filled 2165 * @hop_count: hops to destination 2177 u8 hop_count; member
|
/kernel/linux/linux-5.10/net/wireless/ |
H A D | nl80211.c | 6699 pinfo->hop_count)) || in nl80211_send_mpath()
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | nl80211.c | 7727 pinfo->hop_count)) || in nl80211_send_mpath()
|