/linux/drivers/thunderbolt/ |
H A D | nhi_ops.c | 25 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 D | nhi.c | 61 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 …]
|
H A D | acpi.c | 19 struct tb_nhi *nhi = data; in tb_acpi_add_link() local 91 bool tb_acpi_add_links(struct tb_nhi *nhi) in tb_acpi_add_links() 303 struct tb_nhi *nhi = sw->tb->nhi; in tb_acpi_switch_find_companion() local
|
H A D | nhi_regs.h | 85 #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
|
H A D | icm.c | 375 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()
|
H A D | usb4_port.c | 124 struct tb_nhi *nhi; in usb4_usb3_port_match() local
|
H A D | ctl.c | 40 struct tb_nhi *nhi; member 646 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, int index, int timeout_msec, in tb_ctl_alloc()
|
H A D | domain.c | 373 struct tb *tb_domain_alloc(struct tb_nhi *nhi, int timeout_msec, size_t privsize) in tb_domain_alloc()
|
H A D | tb.c | 3297 static bool tb_apple_add_links(struct tb_nhi *nhi) in tb_apple_add_links() 3358 struct tb *tb_probe(struct tb_nhi *nhi) in tb_probe()
|
H A D | tunnel.c | 1866 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi, in tb_tunnel_alloc_dma()
|
H A D | tb.h | 1507 static inline bool tb_acpi_add_links(struct tb_nhi *nhi) { return false; } in tb_acpi_add_links()
|
/linux/include/net/ |
H A D | nexthop.h | 287 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 D | nexthop.c | 98 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 924 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 2149 struct nh_info *nhi; __remove_nexthop() local 2201 struct nh_info *nhi = rtnl_dereference(nhge->nh->nh_info); nh_rt_cache_flush() local 2303 struct nh_info *nhi; nh_group_v4_update() local 2516 struct nh_info *nhi = rtnl_dereference(new->nh_info); replace_nexthop() local 2656 struct nh_info *nhi; nexthop_flush_dev() local 2718 struct nh_info *nhi; nexthop_create_group() local 2792 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 2831 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 2868 struct nh_info *nhi; nexthop_create() local 3391 const struct nh_info *nhi; nh_dump_filtered() local 3853 struct nh_info *nhi; nexthop_sync_mtu() local [all...] |
/linux/include/linux/ |
H A D | thunderbolt.h | 84 struct tb_nhi *nhi; member 540 struct tb_nhi *nhi; member
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 5653 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
|