Lines Matching defs:down

482 	struct tb_port *down;
484 down = usb4_switch_map_usb3_down(sw, port);
485 if (down && !tb_usb3_port_is_enabled(down))
486 return down;
909 struct tb_port *up, *down, *port;
926 * Look up available down port. Since we are chaining it should
930 down = tb_find_usb3_down(parent, port);
931 if (!down)
946 ret = tb_release_unused_usb3_bandwidth(tb, down, up);
951 ret = tb_available_bandwidth(tb, down, up, &available_up, &available_down,
966 down, up);
968 tunnel = tb_tunnel_alloc_usb3(tb, up, down, available_up,
984 tb_reclaim_usb3_bandwidth(tb, down, up);
992 tb_reclaim_usb3_bandwidth(tb, down, up);
1059 struct tb_port *down = tb_switch_downstream_port(up->sw);
1101 !tb_port_width_supported(down, width_down))
1232 static void tb_configure_link(struct tb_port *down, struct tb_port *up,
1238 down->remote = up;
1239 up->remote = down;
1240 if (down->dual_link_port && up->dual_link_port) {
1241 down->dual_link_port->remote = up->dual_link_port;
1242 up->dual_link_port->remote = down->dual_link_port;
1713 /* Keep the domain from powering down */
1817 struct tb_port *down = NULL;
1824 down = usb4_switch_map_pcie_down(sw, port);
1830 * Hard-coded Thunderbolt port to PCIe down port mapping
1847 down = &sw->ports[index];
1850 if (down) {
1851 if (WARN_ON(!tb_port_is_pcie_down(down)))
1853 if (tb_pci_port_is_enabled(down))
1856 return down;
1918 /* If fail reading tunnel's consumed bandwidth, tear it down */
1923 "failed to read consumed bandwidth, tearing down\n");
1957 * also tear down the tunnel and try to re-use the
1963 tb_tunnel_warn(tunnel, "not active, tearing down\n");
2237 * Tear down all DP tunnels and release their resources. They
2277 struct tb_port *up, *down, *port;
2286 * Look up available down port. Since we are chaining it should
2290 down = tb_find_pcie_down(tb_switch_parent(sw), port);
2291 if (!down)
2294 tunnel = tb_tunnel_alloc_pci(tb, up, down);
2485 * tb_xdomain_disable_paths(). We will tear down
2584 * This will "fix" the request down to the maximum supported
2952 * tear them down. Other protocol tunnels can be left
3041 * cannot be sure they are usable for us, tear them down and
3167 * them down.