Home
last modified time | relevance | path

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

/linux/drivers/thunderbolt/
H A 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()
H A Dnhi.c62 static void nhi_mask_interrupt(struct tb_nhi *nhi, int mask, int ring) in nhi_mask_interrupt()
74 static void nhi_clear_interrupt(struct tb_nhi *nhi, int ring) in nhi_clear_interrupt()
163 static void nhi_disable_interrupts(struct tb_nhi *nhi) in nhi_disable_interrupts()
464 struct tb_nhi *nhi = ring->nhi; in ring_request_msix() local
507 static int nhi_alloc_hop(struct tb_nhi *nhi, struct tb_ring *ring) in nhi_alloc_hop()
579 static struct tb_ring *tb_ring_alloc(struct tb_nhi *nhi, u32 hop, int size, in tb_ring_alloc()
648 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_tx()
671 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_rx()
867 int nhi_mailbox_cmd(struct tb_nhi *nhi, enum nhi_mailbox_cmd cmd, u32 data) in nhi_mailbox_cmd()
904 enum nhi_fw_mode nhi_mailbox_mode(struct tb_nhi *nhi) in nhi_mailbox_mode()
[all …]
H A Dicm.c375 static bool icm_firmware_running(const struct tb_nhi *nhi) in icm_firmware_running()
1499 struct tb_nhi *nhi = tb->nhi; in icm_ar_get_mode() local
1677 struct tb_nhi *nhi = tb->nhi; in icm_icl_set_uuid() local
1823 static int icm_firmware_reset(struct tb *tb, struct tb_nhi *nhi) in icm_firmware_reset()
1846 static int icm_firmware_start(struct tb *tb, struct tb_nhi *nhi) in icm_firmware_start()
1946 struct tb_nhi *nhi = tb->nhi; in icm_firmware_init() local
2463 struct tb *icm_probe(struct tb_nhi *nhi) in icm_probe()
/linux/include/net/
H A Dnexthop.h287 const struct nh_info *nhi; nexthop_is_fdb() local
354 struct nh_info *nhi = rcu_dereference_rtnl(nhe->nh_info); nexthop_mpath_fill_node() local
368 const struct nh_info *nhi; nexthop_is_blackhole() local
386 struct nh_info *nhi; nexthop_path_fib_result() local
398 struct nh_info *nhi; nexthop_fib_nhc() local
425 struct nh_info *nhi; nexthop_get_nhc_lookup() local
454 struct nh_info *nhi; nexthop_uses_dev() local
512 struct nh_info *nhi; nexthop_fib6_nh() local
541 struct nh_info *nhi; nexthop_path_fib6_result() local
561 struct nh_info *nhi = rcu_dereference_rtnl(nh->nh_info); nexthop_get_family() local
569 struct nh_info *nhi = rcu_dereference_rtnl(nh->nh_info); nexthop_fdb_nhc() local
577 struct nh_info *nhi; nexthop_path_fdb_result() local
[all...]
/linux/net/ipv4/
H A Dnexthop.c98 const struct nh_info *nhi) in __nh_notifier_single_info_init() argument
116 struct nh_info *nhi in nh_notifier_single_info_init() local
151 struct nh_info *nhi; nh_notifier_mpath_info_init() local
183 struct nh_info *nhi; nh_notifier_res_table_info_init() local
469 nexthop_devhash_add(struct net * net,struct nh_info * nhi) nexthop_devhash_add() argument
507 struct nh_info *nhi; nexthop_free_single() local
925 struct nh_info *nhi; nh_fill_node() local
1025 struct nh_info *nhi = rtnl_dereference(nh->nh_info); nh_nlmsg_size_single() local
1235 struct nh_info *nhi = rtnl_dereference(nh->nh_info); valid_group_nh() local
1251 struct nh_info *nhi; nh_check_attr_fdb_group() local
1401 struct nh_info *nhi = rcu_dereference(nh->nh_info); nexthop_is_good_nh() local
1503 struct nh_info *nhi; nexthop_for_each_fib6_nh() local
1543 struct nh_info *nhi; fib6_check_nexthop() local
1600 nexthop_check_scope(struct nh_info * nhi,u8 scope,struct netlink_ext_ack * extack) nexthop_check_scope() argument
1624 struct nh_info *nhi; fib_check_nexthop() local
2039 struct nh_info *nhi; remove_nh_grp_entry() local
2160 struct nh_info *nhi; __remove_nexthop() local
2212 struct nh_info *nhi = rtnl_dereference(nhge->nh->nh_info); nh_rt_cache_flush() local
2314 struct nh_info *nhi; nh_group_v4_update() local
2534 struct nh_info *nhi = rtnl_dereference(new->nh_info); replace_nexthop() local
2674 struct nh_info *nhi; nexthop_flush_dev() local
2736 struct nh_info *nhi; nexthop_create_group() local
2810 nh_create_ipv4(struct net * net,struct nexthop * nh,struct nh_info * nhi,struct nh_config * cfg,struct netlink_ext_ack * extack) nh_create_ipv4() argument
2849 nh_create_ipv6(struct net * net,struct nexthop * nh,struct nh_info * nhi,struct nh_config * cfg,struct netlink_ext_ack * extack) nh_create_ipv6() argument
2886 struct nh_info *nhi; nexthop_create() local
3408 const struct nh_info *nhi; nh_dump_filtered() local
3870 struct nh_info *nhi; nexthop_sync_mtu() local
[all...]
/linux/include/linux/
H A Dthunderbolt.h84 struct tb_nhi *nhi; member
540 struct tb_nhi *nhi; global() member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c5653 int nhi; in mlxsw_sp_nexthop_obj_mp_hw_stats_get() local
5673 int nhi = -1; in mlxsw_sp_nexthop_obj_res_hw_stats_get() local