Home
last modified time | relevance | path

Searched refs:tb_tunnel (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/thunderbolt/
Dtunnel.h33 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);
[all …]
Dtunnel.c37 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()
[all …]
Dtb.c67 struct tb_tunnel *tunnel = NULL; in tb_discover_tunnels()
227 struct tb_tunnel *tunnel; in tb_free_tunnel()
249 struct tb_tunnel *tunnel; in tb_free_invalid_tunnels()
250 struct tb_tunnel *n; in tb_free_invalid_tunnels()
365 struct tb_tunnel *tunnel; in tb_tunnel_dp()
404 struct tb_tunnel *tunnel; in tb_tunnel_pci()
439 struct tb_tunnel *tunnel; in tb_approve_xdomain_paths()
612 struct tb_tunnel *tunnel; in tb_stop()
613 struct tb_tunnel *n; in tb_stop()
708 struct tb_tunnel *tunnel, *n; in tb_resume_noirq()