• Home
  • Raw
  • Download

Lines Matching refs:dst_port

135 			struct tb_switch *parent = tunnel->dst_port->sw;  in tb_discover_tunnels()
144 pm_runtime_get_sync(&tunnel->dst_port->sw->dev); in tb_discover_tunnels()
258 struct tb_port *dst_port) in tb_find_tunnel() argument
266 (dst_port && dst_port == tunnel->dst_port))) { in tb_find_tunnel()
276 struct tb_port *dst_port) in tb_find_first_usb3_tunnel() argument
282 if (dst_port->sw->config.depth > src_port->sw->config.depth) in tb_find_first_usb3_tunnel()
283 sw = dst_port->sw; in tb_find_first_usb3_tunnel()
302 struct tb_port *dst_port, int *available_up, int *available_down) in tb_available_bandwidth() argument
309 tb_port_dbg(dst_port, "calculating available bandwidth\n"); in tb_available_bandwidth()
311 tunnel = tb_find_first_usb3_tunnel(tb, src_port, dst_port); in tb_available_bandwidth()
325 tb_for_each_port_on_path(src_port, dst_port, port) { in tb_available_bandwidth()
396 struct tb_port *dst_port) in tb_release_unused_usb3_bandwidth() argument
400 tunnel = tb_find_first_usb3_tunnel(tb, src_port, dst_port); in tb_release_unused_usb3_bandwidth()
405 struct tb_port *dst_port) in tb_reclaim_usb3_bandwidth() argument
410 tunnel = tb_find_first_usb3_tunnel(tb, src_port, dst_port); in tb_reclaim_usb3_bandwidth()
420 ret = tb_available_bandwidth(tb, tunnel->src_port, tunnel->dst_port, in tb_reclaim_usb3_bandwidth()
669 struct tb_port *src_port, *dst_port; in tb_deactivate_and_free_tunnel() local
680 dst_port = tunnel->dst_port; in tb_deactivate_and_free_tunnel()
690 pm_runtime_mark_last_busy(&dst_port->sw->dev); in tb_deactivate_and_free_tunnel()
691 pm_runtime_put_autosuspend(&dst_port->sw->dev); in tb_deactivate_and_free_tunnel()
697 tb_reclaim_usb3_bandwidth(tb, src_port, dst_port); in tb_deactivate_and_free_tunnel()
1048 struct tb_port *nhi_port, *dst_port; in tb_approve_xdomain_paths() local
1053 dst_port = tb_port_at(xd->route, sw); in tb_approve_xdomain_paths()
1057 tunnel = tb_tunnel_alloc_dma(tb, nhi_port, dst_port, xd->transmit_ring, in tb_approve_xdomain_paths()
1080 struct tb_port *dst_port; in __tb_disconnect_xdomain_paths() local
1085 dst_port = tb_port_at(xd->route, sw); in __tb_disconnect_xdomain_paths()
1092 tunnel = tb_find_tunnel(tb, TB_TUNNEL_DMA, NULL, dst_port); in __tb_disconnect_xdomain_paths()