Lines Matching refs:tb_port

72 	struct tb_port *port;  in tb_add_dp_resources()
89 struct tb_port *port, *tmp; in tb_remove_dp_resources()
109 struct tb_port *port; in tb_discover_tunnels()
152 static int tb_port_configure_xdomain(struct tb_port *port) in tb_port_configure_xdomain()
165 static void tb_port_unconfigure_xdomain(struct tb_port *port) in tb_port_unconfigure_xdomain()
175 static void tb_scan_xdomain(struct tb_port *port) in tb_scan_xdomain()
222 static struct tb_port *tb_find_unused_port(struct tb_switch *sw, in tb_find_unused_port()
225 struct tb_port *port; in tb_find_unused_port()
241 static struct tb_port *tb_find_usb3_down(struct tb_switch *sw, in tb_find_usb3_down()
242 const struct tb_port *port) in tb_find_usb3_down()
244 struct tb_port *down; in tb_find_usb3_down()
253 struct tb_port *src_port, in tb_find_tunnel()
254 struct tb_port *dst_port) in tb_find_tunnel()
271 struct tb_port *src_port, in tb_find_first_usb3_tunnel()
272 struct tb_port *dst_port) in tb_find_first_usb3_tunnel()
274 struct tb_port *port, *usb3_down; in tb_find_first_usb3_tunnel()
297 static int tb_available_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_available_bandwidth()
298 struct tb_port *dst_port, int *available_up, int *available_down) in tb_available_bandwidth()
303 struct tb_port *port; in tb_available_bandwidth()
391 struct tb_port *src_port, in tb_release_unused_usb3_bandwidth()
392 struct tb_port *dst_port) in tb_release_unused_usb3_bandwidth()
400 static void tb_reclaim_usb3_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_reclaim_usb3_bandwidth()
401 struct tb_port *dst_port) in tb_reclaim_usb3_bandwidth()
433 struct tb_port *up, *down, *port; in tb_tunnel_usb3()
454 struct tb_port *parent_up; in tb_tunnel_usb3()
509 struct tb_port *port; in tb_create_usb3_tunnels()
529 static void tb_scan_port(struct tb_port *port);
536 struct tb_port *port; in tb_scan_switch()
550 static void tb_scan_port(struct tb_port *port) in tb_scan_port()
553 struct tb_port *upstream_port; in tb_scan_port()
665 struct tb_port *src_port, *dst_port; in tb_deactivate_and_free_tunnel()
727 struct tb_port *port; in tb_free_unplugged_children()
748 static struct tb_port *tb_find_pcie_down(struct tb_switch *sw, in tb_find_pcie_down()
749 const struct tb_port *port) in tb_find_pcie_down()
751 struct tb_port *down = NULL; in tb_find_pcie_down()
797 static struct tb_port *tb_find_dp_out(struct tb *tb, struct tb_port *in) in tb_find_dp_out()
799 struct tb_port *host_port, *port; in tb_find_dp_out()
821 struct tb_port *p; in tb_find_dp_out()
838 struct tb_port *port, *in, *out; in tb_tunnel_dp()
935 static void tb_dp_resource_unavailable(struct tb *tb, struct tb_port *port) in tb_dp_resource_unavailable()
937 struct tb_port *in, *out; in tb_dp_resource_unavailable()
961 static void tb_dp_resource_available(struct tb *tb, struct tb_port *port) in tb_dp_resource_available()
964 struct tb_port *p; in tb_dp_resource_available()
997 struct tb_port *port; in tb_disconnect_and_release_dp()
1000 struct tb_port, list); in tb_disconnect_and_release_dp()
1007 struct tb_port *up, *down, *port; in tb_tunnel_pci()
1044 struct tb_port *nhi_port, *dst_port; in tb_approve_xdomain_paths()
1076 struct tb_port *dst_port; in __tb_disconnect_xdomain_paths()
1115 struct tb_port *port; in tb_handle_hotplug()
1350 struct tb_port *port; in tb_restore_children()
1407 struct tb_port *port; in tb_free_unplugged_xdomains()