Lines Matching refs:src_port

236  * @src_port: Tunnel source port (can be %NULL)
241 * there is not enough bandwidth). If the @src_port and @dst_port are
247 const struct tb_port *src_port,
261 if (src_port != NULL && dst_port != NULL) {
263 tb_route(src_port->sw), src_port->port,
283 tunnel->src_port, tunnel->dst_port);
287 tunnel->src_port, tunnel->dst_port);
294 tunnel->src_port, tunnel->dst_port);
303 if ((usb4_switch_version(tunnel->src_port->sw) < 2) ||
310 ret = usb4_pci_port_set_ext_encapsulation(tunnel->src_port, enable);
344 res = tb_pci_port_enable(tunnel->src_port, activate);
350 res = tb_pci_port_enable(tunnel->src_port, activate);
435 tunnel->src_port = down;
468 if (down != tunnel->src_port) {
512 tunnel->src_port = down;
784 struct tb_port *in = tunnel->src_port;
883 struct tb_port *in = tunnel->src_port;
983 struct tb_port *in = tunnel->src_port;
1009 struct tb_port *in = tunnel->src_port;
1028 struct tb_port *in = tunnel->src_port;
1060 if (tb_dp_is_usb4(tunnel->src_port->sw) &&
1094 return tb_dp_is_usb4(tunnel->src_port->sw) ?
1119 tb_dp_port_set_hops(tunnel->src_port,
1130 tb_dp_port_hpd_clear(tunnel->src_port);
1131 tb_dp_port_set_hops(tunnel->src_port, 0, 0, 0);
1136 ret = tb_dp_port_enable(tunnel->src_port, active);
1159 struct tb_port *in = tunnel->src_port;
1194 struct tb_port *in = tunnel->src_port;
1229 struct tb_port *in = tunnel->src_port;
1267 struct tb_port *in = tunnel->src_port;
1303 struct tb_port *in = tunnel->src_port;
1336 if (!usb4_dp_port_bandwidth_mode_enabled(tunnel->src_port))
1357 const struct tb_switch *sw = tunnel->src_port->sw;
1504 in = tunnel->src_port;
1573 tunnel->src_port = in;
1612 if (port != tunnel->src_port) {
1678 tunnel->src_port = in;
1892 tunnel->src_port = nhi;
2011 return usb4_usb3_port_allocate_bandwidth(tunnel->src_port,
2020 res = tb_usb3_port_enable(tunnel->src_port, activate);
2057 ret = usb4_usb3_port_release_bandwidth(tunnel->src_port,
2074 ret = tb_usb3_max_link_rate(tunnel->dst_port, tunnel->src_port);
2105 ret = usb4_usb3_port_allocate_bandwidth(tunnel->src_port, &allocate_up,
2180 tunnel->src_port = down;
2211 if (down != tunnel->src_port) {
2299 tunnel->src_port = down;
2543 * @consumed_up: Consumed bandwidth in Mb/s from @dst_port to @src_port.
2545 * @consumed_down: Consumed bandwidth in Mb/s from @src_port to @dst_port.