Lines Matching refs:tunnel
39 int (*init)(struct tb_tunnel *tunnel);
40 int (*activate)(struct tb_tunnel *tunnel, bool activate);
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() argument
64 return tunnel->type == TB_TUNNEL_PCI; in tb_tunnel_is_pci()
67 static inline bool tb_tunnel_is_dp(const struct tb_tunnel *tunnel) in tb_tunnel_is_dp() argument
69 return tunnel->type == TB_TUNNEL_DP; in tb_tunnel_is_dp()
72 static inline bool tb_tunnel_is_dma(const struct tb_tunnel *tunnel) in tb_tunnel_is_dma() argument
74 return tunnel->type == TB_TUNNEL_DMA; in tb_tunnel_is_dma()