Lines Matching refs:activate
142 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate() argument
146 res = tb_pci_port_enable(tunnel->src_port, activate); in tb_pci_activate()
151 return tb_pci_port_enable(tunnel->dst_port, activate); in tb_pci_activate()
227 tunnel->activate = tb_pci_activate; in tb_tunnel_discover_pci()
304 tunnel->activate = tb_pci_activate; in tb_tunnel_alloc_pci()
785 tunnel->activate = tb_dp_activate; in tb_tunnel_discover_dp()
872 tunnel->activate = tb_dp_activate; in tb_tunnel_alloc_dp()
1204 static int tb_usb3_activate(struct tb_tunnel *tunnel, bool activate) in tb_usb3_activate() argument
1208 res = tb_usb3_port_enable(tunnel->src_port, activate); in tb_usb3_activate()
1213 return tb_usb3_port_enable(tunnel->dst_port, activate); in tb_usb3_activate()
1363 tunnel->activate = tb_usb3_activate; in tb_tunnel_discover_usb3()
1487 tunnel->activate = tb_usb3_activate; in tb_tunnel_alloc_usb3()
1603 if (tunnel->activate) { in tb_tunnel_restart()
1604 res = tunnel->activate(tunnel, true); in tb_tunnel_restart()
1648 if (tunnel->activate) in tb_tunnel_deactivate()
1649 tunnel->activate(tunnel, false); in tb_tunnel_deactivate()