Lines Matching defs:tunnel
150 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local
170 static int tb_pci_set_ext_encapsulation(struct tb_tunnel *tunnel, bool enable) in tb_pci_set_ext_encapsulation()
204 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
297 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
377 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() local
653 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps()
752 static int tb_dp_bandwidth_alloc_mode_enable(struct tb_tunnel *tunnel) in tb_dp_bandwidth_alloc_mode_enable()
854 static int tb_dp_init(struct tb_tunnel *tunnel) in tb_dp_init()
880 static void tb_dp_deinit(struct tb_tunnel *tunnel) in tb_dp_deinit()
892 static int tb_dp_activate(struct tb_tunnel *tunnel, bool active) in tb_dp_activate()
936 static int tb_dp_bandwidth_mode_maximum_bandwidth(struct tb_tunnel *tunnel, in tb_dp_bandwidth_mode_maximum_bandwidth()
970 static int tb_dp_bandwidth_mode_consumed_bandwidth(struct tb_tunnel *tunnel, in tb_dp_bandwidth_mode_consumed_bandwidth()
1006 static int tb_dp_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_dp_allocated_bandwidth()
1044 static int tb_dp_alloc_bandwidth(struct tb_tunnel *tunnel, int *alloc_up, in tb_dp_alloc_bandwidth()
1079 static int tb_dp_wait_dprx(struct tb_tunnel *tunnel, int timeout_msec) in tb_dp_wait_dprx()
1109 static int tb_dp_read_cap(struct tb_tunnel *tunnel, unsigned int cap, u32 *rate, in tb_dp_read_cap()
1140 static int tb_dp_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up, in tb_dp_maximum_bandwidth()
1163 static int tb_dp_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_dp_consumed_bandwidth()
1301 static void tb_dp_dump(struct tb_tunnel *tunnel) in tb_dp_dump()
1357 struct tb_tunnel *tunnel; in tb_tunnel_discover_dp() local
1452 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dp() local
1631 static void tb_dma_deinit(struct tb_tunnel *tunnel) in tb_dma_deinit()
1661 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dma() local
1733 bool tb_tunnel_match_dma(const struct tb_tunnel *tunnel, int transmit_path, in tb_tunnel_match_dma()
1796 static int tb_usb3_init(struct tb_tunnel *tunnel) in tb_usb3_init()
1806 static int tb_usb3_activate(struct tb_tunnel *tunnel, bool activate) in tb_usb3_activate()
1820 static int tb_usb3_consumed_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_consumed_bandwidth()
1843 static int tb_usb3_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_usb3_release_unused_bandwidth()
1858 static void tb_usb3_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_reclaim_available_bandwidth()
1959 struct tb_tunnel *tunnel; in tb_tunnel_discover_usb3() local
2065 struct tb_tunnel *tunnel; in tb_tunnel_alloc_usb3() local
2133 void tb_tunnel_free(struct tb_tunnel *tunnel) in tb_tunnel_free()
2156 bool tb_tunnel_is_invalid(struct tb_tunnel *tunnel) in tb_tunnel_is_invalid()
2175 int tb_tunnel_restart(struct tb_tunnel *tunnel) in tb_tunnel_restart()
2224 int tb_tunnel_activate(struct tb_tunnel *tunnel) in tb_tunnel_activate()
2243 void tb_tunnel_deactivate(struct tb_tunnel *tunnel) in tb_tunnel_deactivate()
2266 bool tb_tunnel_port_on_path(const struct tb_tunnel *tunnel, in tb_tunnel_port_on_path()
2282 static bool tb_tunnel_is_active(const struct tb_tunnel *tunnel) in tb_tunnel_is_active()
2306 int tb_tunnel_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up, in tb_tunnel_maximum_bandwidth()
2327 int tb_tunnel_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_tunnel_allocated_bandwidth()
2350 int tb_tunnel_alloc_bandwidth(struct tb_tunnel *tunnel, int *alloc_up, in tb_tunnel_alloc_bandwidth()
2374 int tb_tunnel_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_tunnel_consumed_bandwidth()
2411 int tb_tunnel_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_tunnel_release_unused_bandwidth()
2438 void tb_tunnel_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_tunnel_reclaim_available_bandwidth()
2450 const char *tb_tunnel_type_name(const struct tb_tunnel *tunnel) in tb_tunnel_type_name()