Lines Matching refs:tb_port

75 	struct tb_port *port;  in tb_add_dp_resources()
92 struct tb_port *port, *tmp; in tb_remove_dp_resources()
113 struct tb_port *port; in tb_switch_discover_tunnels()
170 static int tb_port_configure_xdomain(struct tb_port *port) in tb_port_configure_xdomain()
177 static void tb_port_unconfigure_xdomain(struct tb_port *port) in tb_port_unconfigure_xdomain()
187 static void tb_scan_xdomain(struct tb_port *port) in tb_scan_xdomain()
237 static struct tb_port *tb_find_unused_port(struct tb_switch *sw, in tb_find_unused_port()
240 struct tb_port *port; in tb_find_unused_port()
256 static struct tb_port *tb_find_usb3_down(struct tb_switch *sw, in tb_find_usb3_down()
257 const struct tb_port *port) in tb_find_usb3_down()
259 struct tb_port *down; in tb_find_usb3_down()
268 struct tb_port *src_port, in tb_find_tunnel()
269 struct tb_port *dst_port) in tb_find_tunnel()
286 struct tb_port *src_port, in tb_find_first_usb3_tunnel()
287 struct tb_port *dst_port) in tb_find_first_usb3_tunnel()
289 struct tb_port *port, *usb3_down; in tb_find_first_usb3_tunnel()
312 static int tb_available_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_available_bandwidth()
313 struct tb_port *dst_port, int *available_up, int *available_down) in tb_available_bandwidth()
318 struct tb_port *port; in tb_available_bandwidth()
406 struct tb_port *src_port, in tb_release_unused_usb3_bandwidth()
407 struct tb_port *dst_port) in tb_release_unused_usb3_bandwidth()
415 static void tb_reclaim_usb3_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_reclaim_usb3_bandwidth()
416 struct tb_port *dst_port) in tb_reclaim_usb3_bandwidth()
448 struct tb_port *up, *down, *port; in tb_tunnel_usb3()
474 struct tb_port *parent_up; in tb_tunnel_usb3()
529 struct tb_port *port; in tb_create_usb3_tunnels()
552 static void tb_scan_port(struct tb_port *port);
559 struct tb_port *port; in tb_scan_switch()
573 static void tb_scan_port(struct tb_port *port) in tb_scan_port()
576 struct tb_port *upstream_port; in tb_scan_port()
693 struct tb_port *src_port, *dst_port; in tb_deactivate_and_free_tunnel()
755 struct tb_port *port; in tb_free_unplugged_children()
776 static struct tb_port *tb_find_pcie_down(struct tb_switch *sw, in tb_find_pcie_down()
777 const struct tb_port *port) in tb_find_pcie_down()
779 struct tb_port *down = NULL; in tb_find_pcie_down()
825 static struct tb_port *tb_find_dp_out(struct tb *tb, struct tb_port *in) in tb_find_dp_out()
827 struct tb_port *host_port, *port; in tb_find_dp_out()
849 struct tb_port *p; in tb_find_dp_out()
866 struct tb_port *port, *in, *out; in tb_tunnel_dp()
983 static void tb_dp_resource_unavailable(struct tb *tb, struct tb_port *port) in tb_dp_resource_unavailable()
985 struct tb_port *in, *out; in tb_dp_resource_unavailable()
1009 static void tb_dp_resource_available(struct tb *tb, struct tb_port *port) in tb_dp_resource_available()
1012 struct tb_port *p; in tb_dp_resource_available()
1045 struct tb_port *port; in tb_disconnect_and_release_dp()
1048 struct tb_port, list); in tb_disconnect_and_release_dp()
1056 struct tb_port *up; in tb_disconnect_pci()
1076 struct tb_port *up, *down, *port; in tb_tunnel_pci()
1125 struct tb_port *nhi_port, *dst_port; in tb_approve_xdomain_paths()
1159 struct tb_port *nhi_port, *dst_port; in __tb_disconnect_xdomain_paths()
1206 struct tb_port *port; in tb_handle_hotplug()
1448 struct tb_port *port; in tb_restore_children()
1538 struct tb_port *port; in tb_free_unplugged_xdomains()