Lines Matching refs:tb_tunnel
37 struct tb_tunnel *__tunnel = (tunnel); \
56 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc()
59 struct tb_tunnel *tunnel; in tb_tunnel_alloc()
79 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
116 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down) in tb_tunnel_discover_pci()
118 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci()
193 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, in tb_tunnel_alloc_pci()
196 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci()
228 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps()
263 static int tb_dp_activate(struct tb_tunnel *tunnel, bool active) in tb_dp_activate()
349 struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in) in tb_tunnel_discover_dp()
351 struct tb_tunnel *tunnel; in tb_tunnel_discover_dp()
428 struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in, in tb_tunnel_alloc_dp()
431 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dp()
486 static int tb_dma_activate(struct tb_tunnel *tunnel, bool active) in tb_dma_activate()
526 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi, in tb_tunnel_alloc_dma()
531 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dma()
571 void tb_tunnel_free(struct tb_tunnel *tunnel) in tb_tunnel_free()
591 bool tb_tunnel_is_invalid(struct tb_tunnel *tunnel) in tb_tunnel_is_invalid()
610 int tb_tunnel_restart(struct tb_tunnel *tunnel) in tb_tunnel_restart()
659 int tb_tunnel_activate(struct tb_tunnel *tunnel) in tb_tunnel_activate()
678 void tb_tunnel_deactivate(struct tb_tunnel *tunnel) in tb_tunnel_deactivate()