Searched refs:tb_tunnel (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.10/drivers/thunderbolt/ |
| D | tunnel.h | 43 struct tb_tunnel { struct 49 int (*init)(struct tb_tunnel *tunnel); argument 50 int (*activate)(struct tb_tunnel *tunnel, bool activate); argument 51 int (*consumed_bandwidth)(struct tb_tunnel *tunnel, int *consumed_up, argument 53 int (*release_unused_bandwidth)(struct tb_tunnel *tunnel); argument 54 void (*reclaim_available_bandwidth)(struct tb_tunnel *tunnel, argument 65 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down); argument 66 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, 68 struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in); 69 struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in, [all …]
|
| D | tunnel.c | 44 struct tb_tunnel *__tunnel = (tunnel); \ 63 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() 66 struct tb_tunnel *tunnel; in tb_tunnel_alloc() 86 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate() 141 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down) in tb_tunnel_discover_pci() 143 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() 218 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, in tb_tunnel_alloc_pci() 221 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() 421 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps() 507 static int tb_dp_activate(struct tb_tunnel *tunnel, bool active) in tb_dp_activate() [all …]
|
| D | tb.c | 112 struct tb_tunnel *tunnel = NULL; in tb_discover_tunnels() 252 static struct tb_tunnel *tb_find_tunnel(struct tb *tb, enum tb_tunnel_type type, in tb_find_tunnel() 257 struct tb_tunnel *tunnel; in tb_find_tunnel() 270 static struct tb_tunnel *tb_find_first_usb3_tunnel(struct tb *tb, in tb_find_first_usb3_tunnel() 302 struct tb_tunnel *tunnel; in tb_available_bandwidth() 394 struct tb_tunnel *tunnel; in tb_release_unused_usb3_bandwidth() 404 struct tb_tunnel *tunnel; in tb_reclaim_usb3_bandwidth() 435 struct tb_tunnel *tunnel; in tb_tunnel_usb3() 663 static void tb_deactivate_and_free_tunnel(struct tb_tunnel *tunnel) in tb_deactivate_and_free_tunnel() 713 struct tb_tunnel *tunnel; in tb_free_invalid_tunnels() [all …]
|
| D | test.c | 1210 struct tb_tunnel *tunnel1, *tunnel2; in tb_test_tunnel_pcie() 1266 struct tb_tunnel *tunnel; in tb_test_tunnel_dp() 1304 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_chain() 1350 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_tree() 1401 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_max_length() 1479 struct tb_tunnel *tunnel1, *tunnel2; in tb_test_tunnel_usb3() 1535 struct tb_tunnel *dp_tunnel; in tb_test_tunnel_port_on_path()
|