Lines Matching refs:dst_port
48 tb_route(__tunnel->dst_port->sw), \
49 __tunnel->dst_port->port, \
94 if (tb_port_is_pcie_up(tunnel->dst_port)) in tb_pci_activate()
95 return tb_pci_port_enable(tunnel->dst_port, activate); in tb_pci_activate()
162 &tunnel->dst_port, "PCIe Up"); in tb_tunnel_discover_pci()
171 path = tb_path_discover(tunnel->dst_port, -1, down, TB_PCI_HOPID, NULL, in tb_tunnel_discover_pci()
179 if (!tb_port_is_pcie_up(tunnel->dst_port)) { in tb_tunnel_discover_pci()
180 tb_port_warn(tunnel->dst_port, in tb_tunnel_discover_pci()
190 if (!tb_pci_port_is_enabled(tunnel->dst_port)) { in tb_tunnel_discover_pci()
230 tunnel->dst_port = up; in tb_tunnel_alloc_pci()
424 struct tb_port *out = tunnel->dst_port; in tb_dp_xchg_caps()
523 tb_dp_port_set_hops(tunnel->dst_port, in tb_dp_activate()
530 if (tb_port_is_dpout(tunnel->dst_port)) in tb_dp_activate()
531 tb_dp_port_set_hops(tunnel->dst_port, 0, 0, 0); in tb_dp_activate()
538 if (tb_port_is_dpout(tunnel->dst_port)) in tb_dp_activate()
539 return tb_dp_port_enable(tunnel->dst_port, active); in tb_dp_activate()
594 if (in->sw->config.depth < tunnel->dst_port->sw->config.depth) { in tb_dp_consumed_bandwidth()
673 &tunnel->dst_port, "Video"); in tb_tunnel_discover_dp()
688 path = tb_path_discover(tunnel->dst_port, -1, in, TB_DP_AUX_RX_HOPID, in tb_tunnel_discover_dp()
696 if (!tb_port_is_dpout(tunnel->dst_port)) { in tb_tunnel_discover_dp()
701 if (!tb_dp_port_is_enabled(tunnel->dst_port)) in tb_tunnel_discover_dp()
704 if (!tb_dp_port_hpd_is_active(tunnel->dst_port)) in tb_tunnel_discover_dp()
757 tunnel->dst_port = out; in tb_tunnel_alloc_dp()
855 tunnel->dst_port = dst; in tb_tunnel_alloc_dma()
914 if (tb_port_is_usb3_up(tunnel->dst_port)) in tb_usb3_activate()
915 return tb_usb3_port_enable(tunnel->dst_port, activate); in tb_usb3_activate()
1054 &tunnel->dst_port, "USB3 Down"); in tb_tunnel_discover_usb3()
1063 path = tb_path_discover(tunnel->dst_port, -1, down, TB_USB3_HOPID, NULL, in tb_tunnel_discover_usb3()
1071 if (!tb_port_is_usb3_up(tunnel->dst_port)) { in tb_tunnel_discover_usb3()
1072 tb_port_warn(tunnel->dst_port, in tb_tunnel_discover_usb3()
1082 if (!tb_usb3_port_is_enabled(tunnel->dst_port)) { in tb_tunnel_discover_usb3()
1171 tunnel->dst_port = up; in tb_tunnel_alloc_usb3()