Lines Matching defs:down
142 /* Keep the domain from powering down */
248 struct tb_port *down;
250 down = usb4_switch_map_usb3_down(sw, port);
251 if (down && !tb_usb3_port_is_enabled(down))
252 return down;
372 * If USB3 is tunneled from the host router down to the
437 struct tb_port *up, *down, *port;
449 * Look up available down port. Since we are chaining it should
453 down = tb_find_usb3_down(parent, port);
454 if (!down)
469 ret = tb_release_unused_usb3_bandwidth(tb, down, up);
474 ret = tb_available_bandwidth(tb, down, up, &available_up,
482 tunnel = tb_tunnel_alloc_usb3(tb, up, down, available_up,
498 tb_reclaim_usb3_bandwidth(tb, down, up);
506 tb_reclaim_usb3_bandwidth(tb, down, up);
755 struct tb_port *down = NULL;
762 down = usb4_switch_map_pcie_down(sw, port);
768 * Hard-coded Thunderbolt port to PCIe down port mapping
785 down = &sw->ports[index];
788 if (down) {
789 if (WARN_ON(!tb_port_is_pcie_down(down)))
791 if (tb_pci_port_is_enabled(down))
794 return down;
992 * Tear down all DP tunnels and release their resources. They
1011 struct tb_port *up, *down, *port;
1021 * Look up available down port. Since we are chaining it should
1026 down = tb_find_pcie_down(parent_sw, port);
1027 if (!down)
1030 tunnel = tb_tunnel_alloc_pci(tb, up, down);
1088 * It is possible that the tunnel was already teared down (in
1175 * tb_xdomain_disable_paths(). We will tear down
1254 * tear them down. Other protocol tunnels can be left