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()
156 static int tb_port_configure_xdomain(struct tb_port *port) in tb_port_configure_xdomain()
169 static void tb_port_unconfigure_xdomain(struct tb_port *port) in tb_port_unconfigure_xdomain()
179 static void tb_scan_xdomain(struct tb_port *port) in tb_scan_xdomain()
226 static struct tb_port *tb_find_unused_port(struct tb_switch *sw, in tb_find_unused_port()
229 struct tb_port *port; in tb_find_unused_port()
245 static struct tb_port *tb_find_usb3_down(struct tb_switch *sw, in tb_find_usb3_down()
246 const struct tb_port *port) in tb_find_usb3_down()
248 struct tb_port *down; in tb_find_usb3_down()
257 struct tb_port *src_port, in tb_find_tunnel()
258 struct tb_port *dst_port) in tb_find_tunnel()
275 struct tb_port *src_port, in tb_find_first_usb3_tunnel()
276 struct tb_port *dst_port) in tb_find_first_usb3_tunnel()
278 struct tb_port *port, *usb3_down; in tb_find_first_usb3_tunnel()
301 static int tb_available_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_available_bandwidth()
302 struct tb_port *dst_port, int *available_up, int *available_down) in tb_available_bandwidth()
307 struct tb_port *port; in tb_available_bandwidth()
395 struct tb_port *src_port, in tb_release_unused_usb3_bandwidth()
396 struct tb_port *dst_port) in tb_release_unused_usb3_bandwidth()
404 static void tb_reclaim_usb3_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_reclaim_usb3_bandwidth()
405 struct tb_port *dst_port) in tb_reclaim_usb3_bandwidth()
437 struct tb_port *up, *down, *port; in tb_tunnel_usb3()
458 struct tb_port *parent_up; in tb_tunnel_usb3()
513 struct tb_port *port; in tb_create_usb3_tunnels()
533 static void tb_scan_port(struct tb_port *port);
540 struct tb_port *port; in tb_scan_switch()
554 static void tb_scan_port(struct tb_port *port) in tb_scan_port()
557 struct tb_port *upstream_port; in tb_scan_port()
669 struct tb_port *src_port, *dst_port; in tb_deactivate_and_free_tunnel()
731 struct tb_port *port; in tb_free_unplugged_children()
752 static struct tb_port *tb_find_pcie_down(struct tb_switch *sw, in tb_find_pcie_down()
753 const struct tb_port *port) in tb_find_pcie_down()
755 struct tb_port *down = NULL; in tb_find_pcie_down()
801 static struct tb_port *tb_find_dp_out(struct tb *tb, struct tb_port *in) in tb_find_dp_out()
803 struct tb_port *host_port, *port; in tb_find_dp_out()
825 struct tb_port *p; in tb_find_dp_out()
842 struct tb_port *port, *in, *out; in tb_tunnel_dp()
939 static void tb_dp_resource_unavailable(struct tb *tb, struct tb_port *port) in tb_dp_resource_unavailable()
941 struct tb_port *in, *out; in tb_dp_resource_unavailable()
965 static void tb_dp_resource_available(struct tb *tb, struct tb_port *port) in tb_dp_resource_available()
968 struct tb_port *p; in tb_dp_resource_available()
1001 struct tb_port *port; in tb_disconnect_and_release_dp()
1004 struct tb_port, list); in tb_disconnect_and_release_dp()
1011 struct tb_port *up, *down, *port; in tb_tunnel_pci()
1048 struct tb_port *nhi_port, *dst_port; in tb_approve_xdomain_paths()
1080 struct tb_port *dst_port; in __tb_disconnect_xdomain_paths()
1119 struct tb_port *port; in tb_handle_hotplug()
1354 struct tb_port *port; in tb_restore_children()
1411 struct tb_port *port; in tb_free_unplugged_xdomains()