Home
last modified time | relevance | path

Searched defs:nhi (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/drivers/thunderbolt/
Dnhi_ops.c25 static bool icl_nhi_is_device_connected(struct tb_nhi *nhi) in icl_nhi_is_device_connected()
35 static int icl_nhi_force_power(struct tb_nhi *nhi, bool power) in icl_nhi_force_power()
79 static void icl_nhi_lc_mailbox_cmd(struct tb_nhi *nhi, enum icl_lc_mailbox_cmd cmd) in icl_nhi_lc_mailbox_cmd()
87 static int icl_nhi_lc_mailbox_cmd_complete(struct tb_nhi *nhi, int timeout) in icl_nhi_lc_mailbox_cmd_complete()
111 static void icl_nhi_set_ltr(struct tb_nhi *nhi) in icl_nhi_set_ltr()
122 static int icl_nhi_suspend(struct tb_nhi *nhi) in icl_nhi_suspend()
145 static int icl_nhi_suspend_noirq(struct tb_nhi *nhi, bool wakeup) in icl_nhi_suspend_noirq()
161 static int icl_nhi_resume(struct tb_nhi *nhi) in icl_nhi_resume()
173 static void icl_nhi_shutdown(struct tb_nhi *nhi) in icl_nhi_shutdown()
Dnhi.c61 static void nhi_mask_interrupt(struct tb_nhi *nhi, int mask, int ring) in nhi_mask_interrupt()
73 static void nhi_clear_interrupt(struct tb_nhi *nhi, int ring) in nhi_clear_interrupt()
162 static void nhi_disable_interrupts(struct tb_nhi *nhi) in nhi_disable_interrupts()
461 struct tb_nhi *nhi = ring->nhi; in ring_request_msix() local
504 static int nhi_alloc_hop(struct tb_nhi *nhi, struct tb_ring *ring) in nhi_alloc_hop()
576 static struct tb_ring *tb_ring_alloc(struct tb_nhi *nhi, u32 hop, int size, in tb_ring_alloc()
643 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_tx()
664 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_rx()
859 int nhi_mailbox_cmd(struct tb_nhi *nhi, enum nhi_mailbox_cmd cmd, u32 data) in nhi_mailbox_cmd()
894 enum nhi_fw_mode nhi_mailbox_mode(struct tb_nhi *nhi) in nhi_mailbox_mode()
[all …]
Dacpi.c19 struct tb_nhi *nhi = data; in tb_acpi_add_link() local
111 bool tb_acpi_add_links(struct tb_nhi *nhi) in tb_acpi_add_links()
323 struct tb_nhi *nhi = sw->tb->nhi; in tb_acpi_switch_find_companion() local
Dtest.c1791 struct tb_port *nhi, *port; in tb_test_tunnel_dma() local
1834 struct tb_port *nhi, *port; in tb_test_tunnel_dma_rx() local
1871 struct tb_port *nhi, *port; in tb_test_tunnel_dma_tx() local
1909 struct tb_port *nhi, *port; in tb_test_tunnel_dma_chain() local
1974 struct tb_port *nhi, *port; in tb_test_tunnel_dma_match() local
2252 struct tb_port *nhi, *port; in tb_test_credit_alloc_dma() local
2289 struct tb_port *nhi, *port; in tb_test_credit_alloc_dma_multiple() local
2519 struct tb_port *nhi, *port; in TB_TEST_DMA_TUNNEL1() local
2549 struct tb_port *nhi, *port; in TB_TEST_DMA_TUNNEL2() local
Dnhi_regs.h85 #define RING_NOTIFY_REG_COUNT(nhi) ((31 + 3 * nhi->hop_count) / 32) argument
94 #define RING_INTERRUPT_REG_COUNT(nhi) ((31 + 2 * nhi->hop_count) / 32) argument
Dicm.c374 static bool icm_firmware_running(const struct tb_nhi *nhi) in icm_firmware_running()
1468 struct tb_nhi *nhi = tb->nhi; in icm_ar_get_mode() local
1646 struct tb_nhi *nhi = tb->nhi; in icm_icl_set_uuid() local
1789 static int icm_firmware_reset(struct tb *tb, struct tb_nhi *nhi) in icm_firmware_reset()
1812 static int icm_firmware_start(struct tb *tb, struct tb_nhi *nhi) in icm_firmware_start()
1912 struct tb_nhi *nhi = tb->nhi; in icm_firmware_init() local
2429 struct tb *icm_probe(struct tb_nhi *nhi) in icm_probe()
Dctl.c37 struct tb_nhi *nhi; member
625 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, int timeout_msec, event_cb cb, in tb_ctl_alloc()
Ddomain.c373 struct tb *tb_domain_alloc(struct tb_nhi *nhi, int timeout_msec, size_t privsize) in tb_domain_alloc()
Dtb.c2373 static bool tb_apple_add_links(struct tb_nhi *nhi) in tb_apple_add_links()
2434 struct tb *tb_probe(struct tb_nhi *nhi) in tb_probe()
Dtunnel.c1594 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi, in tb_tunnel_alloc_dma()
Dtb.h1349 static inline bool tb_acpi_add_links(struct tb_nhi *nhi) { return false; } in tb_acpi_add_links()
/Linux-v6.6/include/net/
Dnexthop.h257 const struct nh_info *nhi; in nexthop_is_fdb() local
324 struct nh_info *nhi = rcu_dereference_rtnl(nhe->nh_info); in nexthop_mpath_fill_node() local
338 const struct nh_info *nhi; in nexthop_is_blackhole() local
356 struct nh_info *nhi; in nexthop_path_fib_result() local
368 struct nh_info *nhi; in nexthop_fib_nhc() local
395 struct nh_info *nhi; in nexthop_get_nhc_lookup() local
424 struct nh_info *nhi; in nexthop_uses_dev() local
482 struct nh_info *nhi; in nexthop_fib6_nh() local
511 struct nh_info *nhi; in nexthop_path_fib6_result() local
531 struct nh_info *nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_get_family() local
[all …]
/Linux-v6.6/net/ipv4/
Dnexthop.c86 const struct nh_info *nhi) in __nh_notifier_single_info_init()
103 struct nh_info *nhi = rtnl_dereference(nh->nh_info); in nh_notifier_single_info_init() local
137 struct nh_info *nhi; in nh_notifier_mpath_info_init() local
169 struct nh_info *nhi; in nh_notifier_res_table_info_init() local
454 static void nexthop_devhash_add(struct net *net, struct nh_info *nhi) in nexthop_devhash_add()
491 struct nh_info *nhi; in nexthop_free_single() local
699 struct nh_info *nhi; in nh_fill_node() local
798 struct nh_info *nhi = rtnl_dereference(nh->nh_info); in nh_nlmsg_size_single() local
1008 struct nh_info *nhi = rtnl_dereference(nh->nh_info); in valid_group_nh() local
1024 struct nh_info *nhi; in nh_check_attr_fdb_group() local
[all …]
/Linux-v6.6/include/linux/
Dthunderbolt.h78 struct tb_nhi *nhi; member
534 struct tb_nhi *nhi; member