Lines Matching refs:src_port

65 		      tb_route(__tunnel->src_port->sw),                 \
66 __tunnel->src_port->port, \
162 if (usb4_switch_version(tunnel->src_port->sw) < 2 || in tb_pci_set_ext_encapsulation()
166 ret = usb4_pci_port_set_ext_encapsulation(tunnel->src_port, enable); in tb_pci_set_ext_encapsulation()
189 res = tb_pci_port_enable(tunnel->src_port, activate); in tb_pci_activate()
276 tunnel->src_port = down; in tb_tunnel_discover_pci()
309 if (down != tunnel->src_port) { in tb_tunnel_discover_pci()
353 tunnel->src_port = down; in tb_tunnel_alloc_pci()
580 struct tb_port *in = tunnel->src_port; in tb_dp_xchg_caps()
676 struct tb_port *in = tunnel->src_port; in tb_dp_bandwidth_alloc_mode_enable()
776 struct tb_port *in = tunnel->src_port; in tb_dp_init()
802 struct tb_port *in = tunnel->src_port; in tb_dp_deinit()
823 tb_dp_port_set_hops(tunnel->src_port, in tb_dp_activate()
833 tb_dp_port_hpd_clear(tunnel->src_port); in tb_dp_activate()
834 tb_dp_port_set_hops(tunnel->src_port, 0, 0, 0); in tb_dp_activate()
839 ret = tb_dp_port_enable(tunnel->src_port, active); in tb_dp_activate()
853 struct tb_port *in = tunnel->src_port; in tb_dp_bandwidth_mode_maximum_bandwidth()
903 struct tb_port *in = tunnel->src_port; in tb_dp_bandwidth_mode_consumed_bandwidth()
942 struct tb_port *in = tunnel->src_port; in tb_dp_allocated_bandwidth()
980 struct tb_port *in = tunnel->src_port; in tb_dp_alloc_bandwidth()
1019 struct tb_port *in = tunnel->src_port; in tb_dp_read_dprx()
1052 struct tb_port *in = tunnel->src_port; in tb_dp_read_cap()
1085 struct tb_port *in = tunnel->src_port; in tb_dp_maximum_bandwidth()
1109 struct tb_port *in = tunnel->src_port; in tb_dp_consumed_bandwidth()
1246 in = tunnel->src_port; in tb_dp_dump()
1315 tunnel->src_port = in; in tb_tunnel_discover_dp()
1354 if (port != tunnel->src_port) { in tb_tunnel_discover_dp()
1410 tunnel->src_port = in; in tb_tunnel_alloc_dp()
1620 tunnel->src_port = nhi; in tb_tunnel_alloc_dma()
1739 return usb4_usb3_port_allocate_bandwidth(tunnel->src_port, in tb_usb3_init()
1748 res = tb_usb3_port_enable(tunnel->src_port, activate); in tb_usb3_activate()
1776 ret = usb4_usb3_port_release_bandwidth(tunnel->src_port, in tb_usb3_release_unused_bandwidth()
1793 ret = usb4_usb3_port_actual_link_rate(tunnel->src_port); in tb_usb3_reclaim_available_bandwidth()
1799 ret = tb_usb3_max_link_rate(tunnel->dst_port, tunnel->src_port); in tb_usb3_reclaim_available_bandwidth()
1831 ret = usb4_usb3_port_allocate_bandwidth(tunnel->src_port, &allocate_up, in tb_usb3_reclaim_available_bandwidth()
1906 tunnel->src_port = down; in tb_tunnel_discover_usb3()
1937 if (down != tunnel->src_port) { in tb_tunnel_discover_usb3()
2030 tunnel->src_port = down; in tb_tunnel_alloc_usb3()