Home
last modified time | relevance | path

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

/Linux-v5.4/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()
142 static int icl_nhi_suspend_noirq(struct tb_nhi *nhi, bool wakeup) in icl_nhi_suspend_noirq()
154 static int icl_nhi_resume(struct tb_nhi *nhi) in icl_nhi_resume()
166 static void icl_nhi_shutdown(struct tb_nhi *nhi) in icl_nhi_shutdown()
Dnhi.c117 static void nhi_disable_interrupts(struct tb_nhi *nhi) in nhi_disable_interrupts()
400 struct tb_nhi *nhi = ring->nhi; in ring_request_msix() local
432 static int nhi_alloc_hop(struct tb_nhi *nhi, struct tb_ring *ring) in nhi_alloc_hop()
488 static struct tb_ring *tb_ring_alloc(struct tb_nhi *nhi, u32 hop, int size, in tb_ring_alloc()
558 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_tx()
578 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_rx()
758 int nhi_mailbox_cmd(struct tb_nhi *nhi, enum nhi_mailbox_cmd cmd, u32 data) in nhi_mailbox_cmd()
793 enum nhi_fw_mode nhi_mailbox_mode(struct tb_nhi *nhi) in nhi_mailbox_mode()
806 struct tb_nhi *nhi = container_of(work, typeof(*nhi), interrupt_work); in nhi_interrupt_work() local
858 struct tb_nhi *nhi = data; in nhi_msi() local
[all …]
Dtunnel.c477 static u32 tb_dma_credits(struct tb_port *nhi) in tb_dma_credits()
488 struct tb_port *nhi = tunnel->src_port; in tb_dma_activate() local
526 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi, in tb_tunnel_alloc_dma()
Dnhi_regs.h85 #define RING_NOTIFY_REG_COUNT(nhi) ((31 + 3 * nhi->hop_count) / 32) argument
93 #define RING_INTERRUPT_REG_COUNT(nhi) ((31 + 2 * nhi->hop_count) / 32) argument
Dicm.c1384 struct tb_nhi *nhi = tb->nhi; in icm_ar_get_mode() local
1558 struct tb_nhi *nhi = tb->nhi; in icm_icl_set_uuid() local
1677 static int icm_firmware_reset(struct tb *tb, struct tb_nhi *nhi) in icm_firmware_reset()
1700 static int icm_firmware_start(struct tb *tb, struct tb_nhi *nhi) in icm_firmware_start()
1801 struct tb_nhi *nhi = tb->nhi; in icm_firmware_init() local
2148 struct tb *icm_probe(struct tb_nhi *nhi) in icm_probe()
Dctl.c26 struct tb_nhi *nhi; member
602 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, event_cb cb, void *cb_data) in tb_ctl_alloc()
Ddomain.c340 struct tb *tb_domain_alloc(struct tb_nhi *nhi, size_t privsize) in tb_domain_alloc()
Dtb.c781 struct tb *tb_probe(struct tb_nhi *nhi) in tb_probe()
/Linux-v5.4/net/ipv4/
Dnexthop.c48 static void nexthop_devhash_add(struct net *net, struct nh_info *nhi) in nexthop_devhash_add()
75 struct nh_info *nhi; in nexthop_free_single() local
214 struct nh_info *nhi; in nh_fill_node() local
294 struct nh_info *nhi = rtnl_dereference(nh->nh_info); in nh_nlmsg_size_single() local
377 struct nh_info *nhi = rtnl_dereference(nh->nh_info); in valid_group_nh() local
492 struct nh_info *nhi; in nexthop_select_path() local
524 struct nh_info *nhi; in nexthop_for_each_fib6_nh() local
564 struct nh_info *nhi; in fib6_check_nexthop() local
616 struct nh_info *nhi; in nexthop_check_scope() local
798 struct nh_info *nhi; in __remove_nexthop() local
[all …]
/Linux-v5.4/include/net/
Dnexthop.h172 struct nh_info *nhi = rcu_dereference_rtnl(nhe->nh_info); in nexthop_mpath_fill_node() local
186 const struct nh_info *nhi; in nexthop_is_blackhole() local
202 struct nh_info *nhi; in nexthop_path_fib_result() local
214 struct nh_info *nhi; in nexthop_fib_nhc() local
264 struct nh_info *nhi; in nexthop_fib6_nh() local
290 struct nh_info *nhi; in nexthop_path_fib6_result() local
/Linux-v5.4/include/linux/
Dthunderbolt.h75 struct tb_nhi *nhi; member
482 struct tb_nhi *nhi; member
/Linux-v5.4/drivers/pci/
Dquirks.c3615 struct pci_dev *nhi = NULL; in quirk_apple_wait_for_thunderbolt() local