Lines Matching refs:src_port
59 tb_route(__tunnel->src_port->sw), \
60 __tunnel->src_port->port, \
155 res = tb_pci_port_enable(tunnel->src_port, activate); in tb_pci_activate()
239 tunnel->src_port = down; in tb_tunnel_discover_pci()
272 if (down != tunnel->src_port) { in tb_tunnel_discover_pci()
316 tunnel->src_port = down; in tb_tunnel_alloc_pci()
515 struct tb_port *in = tunnel->src_port; in tb_dp_xchg_caps()
611 struct tb_port *in = tunnel->src_port; in tb_dp_bw_alloc_mode_enable()
698 struct tb_port *in = tunnel->src_port; in tb_dp_init()
724 struct tb_port *in = tunnel->src_port; in tb_dp_deinit()
745 tb_dp_port_set_hops(tunnel->src_port, in tb_dp_activate()
755 tb_dp_port_hpd_clear(tunnel->src_port); in tb_dp_activate()
756 tb_dp_port_set_hops(tunnel->src_port, 0, 0, 0); in tb_dp_activate()
761 ret = tb_dp_port_enable(tunnel->src_port, active); in tb_dp_activate()
774 struct tb_port *in = tunnel->src_port; in tb_dp_nrd_bandwidth()
797 struct tb_port *in = tunnel->src_port; in tb_dp_bw_mode_consumed_bandwidth()
836 struct tb_port *in = tunnel->src_port; in tb_dp_allocated_bandwidth()
874 struct tb_port *in = tunnel->src_port; in tb_dp_alloc_bandwidth()
910 struct tb_port *in = tunnel->src_port; in tb_dp_read_dprx()
943 struct tb_port *in = tunnel->src_port; in tb_dp_read_cap()
976 struct tb_port *in = tunnel->src_port; in tb_dp_maximum_bandwidth()
1003 struct tb_port *in = tunnel->src_port; in tb_dp_consumed_bandwidth()
1168 tunnel->src_port = in; in tb_tunnel_discover_dp()
1207 if (port != tunnel->src_port) { in tb_tunnel_discover_dp()
1261 tunnel->src_port = in; in tb_tunnel_alloc_dp()
1467 tunnel->src_port = nhi; in tb_tunnel_alloc_dma()
1586 return usb4_usb3_port_allocate_bandwidth(tunnel->src_port, in tb_usb3_init()
1595 res = tb_usb3_port_enable(tunnel->src_port, activate); in tb_usb3_activate()
1623 ret = usb4_usb3_port_release_bandwidth(tunnel->src_port, in tb_usb3_release_unused_bandwidth()
1640 ret = usb4_usb3_port_actual_link_rate(tunnel->src_port); in tb_usb3_reclaim_available_bandwidth()
1646 ret = tb_usb3_max_link_rate(tunnel->dst_port, tunnel->src_port); in tb_usb3_reclaim_available_bandwidth()
1678 ret = usb4_usb3_port_allocate_bandwidth(tunnel->src_port, &allocate_up, in tb_usb3_reclaim_available_bandwidth()
1753 tunnel->src_port = down; in tb_tunnel_discover_usb3()
1784 if (down != tunnel->src_port) { in tb_tunnel_discover_usb3()
1877 tunnel->src_port = down; in tb_tunnel_alloc_usb3()