Lines Matching refs:src_port

53 		      tb_route(__tunnel->src_port->sw),                 \
54 __tunnel->src_port->port, \
149 res = tb_pci_port_enable(tunnel->src_port, activate); in tb_pci_activate()
233 tunnel->src_port = down; in tb_tunnel_discover_pci()
266 if (down != tunnel->src_port) { in tb_tunnel_discover_pci()
310 tunnel->src_port = down; in tb_tunnel_alloc_pci()
508 struct tb_port *in = tunnel->src_port; in tb_dp_xchg_caps()
611 tb_dp_port_set_hops(tunnel->src_port, in tb_dp_activate()
621 tb_dp_port_hpd_clear(tunnel->src_port); in tb_dp_activate()
622 tb_dp_port_set_hops(tunnel->src_port, 0, 0, 0); in tb_dp_activate()
627 ret = tb_dp_port_enable(tunnel->src_port, active); in tb_dp_activate()
640 struct tb_port *in = tunnel->src_port; in tb_dp_consumed_bandwidth()
804 tunnel->src_port = in; in tb_tunnel_discover_dp()
843 if (port != tunnel->src_port) { in tb_tunnel_discover_dp()
893 tunnel->src_port = in; in tb_tunnel_alloc_dp()
1099 tunnel->src_port = nhi; in tb_tunnel_alloc_dma()
1218 return usb4_usb3_port_allocate_bandwidth(tunnel->src_port, in tb_usb3_init()
1227 res = tb_usb3_port_enable(tunnel->src_port, activate); in tb_usb3_activate()
1255 ret = usb4_usb3_port_release_bandwidth(tunnel->src_port, in tb_usb3_release_unused_bandwidth()
1272 ret = usb4_usb3_port_actual_link_rate(tunnel->src_port); in tb_usb3_reclaim_available_bandwidth()
1278 ret = usb4_usb3_port_max_link_rate(tunnel->src_port); in tb_usb3_reclaim_available_bandwidth()
1310 ret = usb4_usb3_port_allocate_bandwidth(tunnel->src_port, &allocate_up, in tb_usb3_reclaim_available_bandwidth()
1385 tunnel->src_port = down; in tb_tunnel_discover_usb3()
1416 if (down != tunnel->src_port) { in tb_tunnel_discover_usb3()
1509 tunnel->src_port = down; in tb_tunnel_alloc_usb3()