Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/thunderbolt/
Dtunnel.h44 struct tb_tunnel { struct
50 int (*init)(struct tb_tunnel *tunnel); argument
51 void (*deinit)(struct tb_tunnel *tunnel); argument
52 int (*activate)(struct tb_tunnel *tunnel, bool activate); argument
53 int (*consumed_bandwidth)(struct tb_tunnel *tunnel, int *consumed_up, argument
55 int (*release_unused_bandwidth)(struct tb_tunnel *tunnel); argument
56 void (*reclaim_available_bandwidth)(struct tb_tunnel *tunnel, argument
67 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down, argument
69 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up,
71 struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in,
[all …]
Dtunnel.c51 struct tb_tunnel *__tunnel = (tunnel); \
122 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc()
125 struct tb_tunnel *tunnel; in tb_tunnel_alloc()
145 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
219 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down, in tb_tunnel_discover_pci()
222 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci()
299 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, in tb_tunnel_alloc_pci()
302 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci()
504 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps()
600 static int tb_dp_activate(struct tb_tunnel *tunnel, bool active) in tb_dp_activate()
[all …]
Dtb.c126 struct tb_tunnel *tunnel; in tb_discover_dp_resources()
142 struct tb_tunnel *tunnel = NULL; in tb_switch_discover_tunnels()
183 struct tb_tunnel *tunnel; in tb_discover_tunnels()
300 static struct tb_tunnel *tb_find_tunnel(struct tb *tb, enum tb_tunnel_type type, in tb_find_tunnel()
305 struct tb_tunnel *tunnel; in tb_find_tunnel()
318 static struct tb_tunnel *tb_find_first_usb3_tunnel(struct tb *tb, in tb_find_first_usb3_tunnel()
350 struct tb_tunnel *tunnel; in tb_available_bandwidth()
442 struct tb_tunnel *tunnel; in tb_release_unused_usb3_bandwidth()
452 struct tb_tunnel *tunnel; in tb_reclaim_usb3_bandwidth()
483 struct tb_tunnel *tunnel; in tb_tunnel_usb3()
[all …]
Dtest.c1320 struct tb_tunnel *tunnel1, *tunnel2; in tb_test_tunnel_pcie()
1376 struct tb_tunnel *tunnel; in tb_test_tunnel_dp()
1414 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_chain()
1460 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_tree()
1511 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_max_length()
1589 struct tb_tunnel *tunnel1, *tunnel2; in tb_test_tunnel_usb3()
1645 struct tb_tunnel *dp_tunnel; in tb_test_tunnel_port_on_path()
1710 struct tb_tunnel *tunnel; in tb_test_tunnel_dma()
1753 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_rx()
1790 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_tx()
[all …]