Lines Matching defs:tunnel

171 	struct tb_tunnel *tunnel;  in tb_tunnel_alloc()  local
192 static void tb_tunnel_get(struct tb_tunnel *tunnel) in tb_tunnel_get()
201 struct tb_tunnel *tunnel = container_of(kref, typeof(*tunnel), kref); in tb_tunnel_destroy() local
216 void tb_tunnel_put(struct tb_tunnel *tunnel) in tb_tunnel_put()
223 static int tb_pci_set_ext_encapsulation(struct tb_tunnel *tunnel, bool enable) in tb_pci_set_ext_encapsulation()
257 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
350 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
430 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() local
706 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps()
805 static int tb_dp_bandwidth_alloc_mode_enable(struct tb_tunnel *tunnel) in tb_dp_bandwidth_alloc_mode_enable()
907 static int tb_dp_pre_activate(struct tb_tunnel *tunnel) in tb_dp_pre_activate()
933 static void tb_dp_post_deactivate(struct tb_tunnel *tunnel) in tb_dp_post_deactivate()
951 static int tb_dp_wait_dprx(struct tb_tunnel *tunnel, int timeout_msec) in tb_dp_wait_dprx()
981 struct tb_tunnel *tunnel = container_of(work, typeof(*tunnel), dprx_work.work); in tb_dp_dprx_work() local
1004 static int tb_dp_dprx_start(struct tb_tunnel *tunnel) in tb_dp_dprx_start()
1024 static void tb_dp_dprx_stop(struct tb_tunnel *tunnel) in tb_dp_dprx_stop()
1034 static int tb_dp_activate(struct tb_tunnel *tunnel, bool active) in tb_dp_activate()
1082 static int tb_dp_bandwidth_mode_maximum_bandwidth(struct tb_tunnel *tunnel, in tb_dp_bandwidth_mode_maximum_bandwidth()
1116 static int tb_dp_bandwidth_mode_consumed_bandwidth(struct tb_tunnel *tunnel, in tb_dp_bandwidth_mode_consumed_bandwidth()
1152 static int tb_dp_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_dp_allocated_bandwidth()
1190 static int tb_dp_alloc_bandwidth(struct tb_tunnel *tunnel, int *alloc_up, in tb_dp_alloc_bandwidth()
1226 static int tb_dp_read_cap(struct tb_tunnel *tunnel, unsigned int cap, u32 *rate, in tb_dp_read_cap()
1257 static int tb_dp_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up, in tb_dp_maximum_bandwidth()
1280 static int tb_dp_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_dp_consumed_bandwidth()
1425 static void tb_dp_dump(struct tb_tunnel *tunnel) in tb_dp_dump()
1481 struct tb_tunnel *tunnel; in tb_tunnel_discover_dp() local
1585 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dp() local
1767 static void tb_dma_destroy(struct tb_tunnel *tunnel) in tb_dma_destroy()
1797 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dma() local
1869 bool tb_tunnel_match_dma(const struct tb_tunnel *tunnel, int transmit_path, in tb_tunnel_match_dma()
1932 static int tb_usb3_pre_activate(struct tb_tunnel *tunnel) in tb_usb3_pre_activate()
1942 static int tb_usb3_activate(struct tb_tunnel *tunnel, bool activate) in tb_usb3_activate()
1956 static int tb_usb3_consumed_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_consumed_bandwidth()
1979 static int tb_usb3_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_usb3_release_unused_bandwidth()
1994 static void tb_usb3_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_reclaim_available_bandwidth()
2095 struct tb_tunnel *tunnel; in tb_tunnel_discover_usb3() local
2201 struct tb_tunnel *tunnel; in tb_tunnel_alloc_usb3() local
2267 bool tb_tunnel_is_invalid(struct tb_tunnel *tunnel) in tb_tunnel_is_invalid()
2289 int tb_tunnel_activate(struct tb_tunnel *tunnel) in tb_tunnel_activate()
2342 void tb_tunnel_deactivate(struct tb_tunnel *tunnel) in tb_tunnel_deactivate()
2370 bool tb_tunnel_port_on_path(const struct tb_tunnel *tunnel, in tb_tunnel_port_on_path()
2387 static bool tb_tunnel_is_activated(const struct tb_tunnel *tunnel) in tb_tunnel_is_activated()
2402 int tb_tunnel_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up, in tb_tunnel_maximum_bandwidth()
2423 int tb_tunnel_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_tunnel_allocated_bandwidth()
2446 int tb_tunnel_alloc_bandwidth(struct tb_tunnel *tunnel, int *alloc_up, in tb_tunnel_alloc_bandwidth()
2470 int tb_tunnel_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_tunnel_consumed_bandwidth()
2508 int tb_tunnel_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_tunnel_release_unused_bandwidth()
2535 void tb_tunnel_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_tunnel_reclaim_available_bandwidth()
2547 const char *tb_tunnel_type_name(const struct tb_tunnel *tunnel) in tb_tunnel_type_name()