Lines Matching refs:tb_port
69 struct tb_port *in) in tb_bandwidth_group_attach_port()
95 tb_attach_bandwidth_group(struct tb_cm *tcm, struct tb_port *in, in tb_attach_bandwidth_group()
96 struct tb_port *out) in tb_attach_bandwidth_group()
131 static void tb_discover_bandwidth_group(struct tb_cm *tcm, struct tb_port *in, in tb_discover_bandwidth_group()
132 struct tb_port *out) in tb_discover_bandwidth_group()
149 static void tb_detach_bandwidth_group(struct tb_port *in) in tb_detach_bandwidth_group()
184 struct tb_port *port; in tb_add_dp_resources()
201 struct tb_port *port, *tmp; in tb_remove_dp_resources()
217 static void tb_discover_dp_resource(struct tb *tb, struct tb_port *port) in tb_discover_dp_resource()
220 struct tb_port *p; in tb_discover_dp_resource()
248 struct tb_port *port; in tb_switch_discover_tunnels()
305 struct tb_port *in = tunnel->src_port; in tb_discover_tunnels()
306 struct tb_port *out = tunnel->dst_port; in tb_discover_tunnels()
317 static int tb_port_configure_xdomain(struct tb_port *port, struct tb_xdomain *xd) in tb_port_configure_xdomain()
324 static void tb_port_unconfigure_xdomain(struct tb_port *port) in tb_port_unconfigure_xdomain()
334 static void tb_scan_xdomain(struct tb_port *port) in tb_scan_xdomain()
384 static struct tb_port *tb_find_unused_port(struct tb_switch *sw, in tb_find_unused_port()
387 struct tb_port *port; in tb_find_unused_port()
403 static struct tb_port *tb_find_usb3_down(struct tb_switch *sw, in tb_find_usb3_down()
404 const struct tb_port *port) in tb_find_usb3_down()
406 struct tb_port *down; in tb_find_usb3_down()
415 struct tb_port *src_port, in tb_find_tunnel()
416 struct tb_port *dst_port) in tb_find_tunnel()
433 struct tb_port *src_port, in tb_find_first_usb3_tunnel()
434 struct tb_port *dst_port) in tb_find_first_usb3_tunnel()
436 struct tb_port *port, *usb3_down; in tb_find_first_usb3_tunnel()
459 static int tb_available_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_available_bandwidth()
460 struct tb_port *dst_port, int *available_up, int *available_down) in tb_available_bandwidth()
465 struct tb_port *port; in tb_available_bandwidth()
569 struct tb_port *src_port, in tb_release_unused_usb3_bandwidth()
570 struct tb_port *dst_port) in tb_release_unused_usb3_bandwidth()
578 static void tb_reclaim_usb3_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_reclaim_usb3_bandwidth()
579 struct tb_port *dst_port) in tb_reclaim_usb3_bandwidth()
611 struct tb_port *up, *down, *port; in tb_tunnel_usb3()
637 struct tb_port *parent_up; in tb_tunnel_usb3()
692 struct tb_port *port; in tb_create_usb3_tunnels()
715 static void tb_scan_port(struct tb_port *port);
722 struct tb_port *port; in tb_scan_switch()
736 static void tb_scan_port(struct tb_port *port) in tb_scan_port()
739 struct tb_port *upstream_port; in tb_scan_port()
880 struct tb_port *src_port, *dst_port; in tb_deactivate_and_free_tunnel()
943 struct tb_port *port; in tb_free_unplugged_children()
964 static struct tb_port *tb_find_pcie_down(struct tb_switch *sw, in tb_find_pcie_down()
965 const struct tb_port *port) in tb_find_pcie_down()
967 struct tb_port *down = NULL; in tb_find_pcie_down()
1018 struct tb_port *in; in tb_recalc_estimated_bandwidth_for_group()
1028 struct tb_port *out; in tb_recalc_estimated_bandwidth_for_group()
1106 static struct tb_port *tb_find_dp_out(struct tb *tb, struct tb_port *in) in tb_find_dp_out()
1108 struct tb_port *host_port, *port; in tb_find_dp_out()
1130 struct tb_port *p; in tb_find_dp_out()
1147 struct tb_port *port, *in, *out; in tb_tunnel_dp()
1278 static void tb_dp_resource_unavailable(struct tb *tb, struct tb_port *port) in tb_dp_resource_unavailable()
1280 struct tb_port *in, *out; in tb_dp_resource_unavailable()
1305 static void tb_dp_resource_available(struct tb *tb, struct tb_port *port) in tb_dp_resource_available()
1308 struct tb_port *p; in tb_dp_resource_available()
1341 struct tb_port *port; in tb_disconnect_and_release_dp()
1344 struct tb_port, list); in tb_disconnect_and_release_dp()
1352 struct tb_port *up; in tb_disconnect_pci()
1372 struct tb_port *up, *down, *port; in tb_tunnel_pci()
1421 struct tb_port *nhi_port, *dst_port; in tb_approve_xdomain_paths()
1455 struct tb_port *nhi_port, *dst_port; in __tb_disconnect_xdomain_paths()
1502 struct tb_port *port; in tb_handle_hotplug()
1614 struct tb_port *in, *out; in tb_alloc_dp_bandwidth()
1727 struct tb_port *in, *out; in tb_handle_dp_bandwidth_request()
1992 struct tb_port *port; in tb_restore_children()
2094 struct tb_port *port; in tb_free_unplugged_xdomains()