Lines Matching refs:tb_tunnel
33 struct tb_tunnel { struct
39 int (*init)(struct tb_tunnel *tunnel); argument
40 int (*activate)(struct tb_tunnel *tunnel, bool activate); argument
45 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down); argument
46 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up,
48 struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in);
49 struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in,
51 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi,
56 void tb_tunnel_free(struct tb_tunnel *tunnel);
57 int tb_tunnel_activate(struct tb_tunnel *tunnel);
58 int tb_tunnel_restart(struct tb_tunnel *tunnel);
59 void tb_tunnel_deactivate(struct tb_tunnel *tunnel);
60 bool tb_tunnel_is_invalid(struct tb_tunnel *tunnel);
62 static inline bool tb_tunnel_is_pci(const struct tb_tunnel *tunnel) in tb_tunnel_is_pci()
67 static inline bool tb_tunnel_is_dp(const struct tb_tunnel *tunnel) in tb_tunnel_is_dp()
72 static inline bool tb_tunnel_is_dma(const struct tb_tunnel *tunnel) in tb_tunnel_is_dma()