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()
930 static int tb_dp_bandwidth_mode_maximum_bandwidth(struct tb_tunnel *tunnel, in tb_dp_bandwidth_mode_maximum_bandwidth()
978 static int tb_dp_bandwidth_mode_consumed_bandwidth(struct tb_tunnel *tunnel, in tb_dp_bandwidth_mode_consumed_bandwidth()
1015 static int tb_dp_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_dp_allocated_bandwidth()
1053 static int tb_dp_alloc_bandwidth(struct tb_tunnel *tunnel, int *alloc_up, in tb_dp_alloc_bandwidth()
1089 static int tb_dp_wait_dprx(struct tb_tunnel *tunnel, int timeout_msec) in tb_dp_wait_dprx()
1119 static int tb_dp_read_cap(struct tb_tunnel *tunnel, unsigned int cap, u32 *rate, in tb_dp_read_cap()
1150 static int tb_dp_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up, in tb_dp_maximum_bandwidth()
1174 static int tb_dp_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_dp_consumed_bandwidth()
1317 static void tb_dp_dump(struct tb_tunnel *tunnel) in tb_dp_dump()
1373 struct tb_tunnel *tunnel; in tb_tunnel_discover_dp() local
1468 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dp() local
1647 static void tb_dma_deinit(struct tb_tunnel *tunnel) in tb_dma_deinit()
1677 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dma() local
1749 bool tb_tunnel_match_dma(const struct tb_tunnel *tunnel, int transmit_path, in tb_tunnel_match_dma()
1812 static int tb_usb3_init(struct tb_tunnel *tunnel) in tb_usb3_init()
1822 static int tb_usb3_activate(struct tb_tunnel *tunnel, bool activate) in tb_usb3_activate()
1836 static int tb_usb3_consumed_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_consumed_bandwidth()
1859 static int tb_usb3_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_usb3_release_unused_bandwidth()
1874 static void tb_usb3_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_reclaim_available_bandwidth()
1975 struct tb_tunnel *tunnel; in tb_tunnel_discover_usb3() local
2081 struct tb_tunnel *tunnel; in tb_tunnel_alloc_usb3() local
2154 void tb_tunnel_free(struct tb_tunnel *tunnel) in tb_tunnel_free()
2177 bool tb_tunnel_is_invalid(struct tb_tunnel *tunnel) in tb_tunnel_is_invalid()
2196 int tb_tunnel_restart(struct tb_tunnel *tunnel) in tb_tunnel_restart()
2245 int tb_tunnel_activate(struct tb_tunnel *tunnel) in tb_tunnel_activate()
2264 void tb_tunnel_deactivate(struct tb_tunnel *tunnel) in tb_tunnel_deactivate()
2287 bool tb_tunnel_port_on_path(const struct tb_tunnel *tunnel, in tb_tunnel_port_on_path()
2303 static bool tb_tunnel_is_active(const struct tb_tunnel *tunnel) in tb_tunnel_is_active()
2327 int tb_tunnel_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up, in tb_tunnel_maximum_bandwidth()
2348 int tb_tunnel_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_tunnel_allocated_bandwidth()
2371 int tb_tunnel_alloc_bandwidth(struct tb_tunnel *tunnel, int *alloc_up, in tb_tunnel_alloc_bandwidth()
2395 int tb_tunnel_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_tunnel_consumed_bandwidth()
2432 int tb_tunnel_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_tunnel_release_unused_bandwidth()
2459 void tb_tunnel_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_tunnel_reclaim_available_bandwidth()
2471 const char *tb_tunnel_type_name(const struct tb_tunnel *tunnel) in tb_tunnel_type_name()