Searched refs:tb_tunnel (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/drivers/thunderbolt/ |
D | tunnel.h | 44 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 68 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, 70 struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in); [all …]
|
D | tunnel.c | 51 struct tb_tunnel *__tunnel = (tunnel); \ 119 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() 122 struct tb_tunnel *tunnel; in tb_tunnel_alloc() 142 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate() 215 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down) in tb_tunnel_discover_pci() 217 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() 294 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, in tb_tunnel_alloc_pci() 297 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() 499 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps() 585 static int tb_dp_activate(struct tb_tunnel *tunnel, bool active) in tb_dp_activate() [all …]
|
D | tb.c | 115 struct tb_tunnel *tunnel = NULL; in tb_discover_tunnels() 262 static struct tb_tunnel *tb_find_tunnel(struct tb *tb, enum tb_tunnel_type type, in tb_find_tunnel() 267 struct tb_tunnel *tunnel; in tb_find_tunnel() 280 static struct tb_tunnel *tb_find_first_usb3_tunnel(struct tb *tb, in tb_find_first_usb3_tunnel() 312 struct tb_tunnel *tunnel; in tb_available_bandwidth() 404 struct tb_tunnel *tunnel; in tb_release_unused_usb3_bandwidth() 414 struct tb_tunnel *tunnel; in tb_reclaim_usb3_bandwidth() 445 struct tb_tunnel *tunnel; in tb_tunnel_usb3() 681 static void tb_deactivate_and_free_tunnel(struct tb_tunnel *tunnel) in tb_deactivate_and_free_tunnel() 731 struct tb_tunnel *tunnel; in tb_free_invalid_tunnels() [all …]
|
D | test.c | 1279 struct tb_tunnel *tunnel1, *tunnel2; in tb_test_tunnel_pcie() 1335 struct tb_tunnel *tunnel; in tb_test_tunnel_dp() 1373 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_chain() 1419 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_tree() 1470 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_max_length() 1548 struct tb_tunnel *tunnel1, *tunnel2; in tb_test_tunnel_usb3() 1604 struct tb_tunnel *dp_tunnel; in tb_test_tunnel_port_on_path() 1669 struct tb_tunnel *tunnel; in tb_test_tunnel_dma() 1712 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_rx() 1749 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_tx() [all …]
|