Searched refs:tb_tunnel (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.6/drivers/thunderbolt/ |
| D | tunnel.h | 49 struct tb_tunnel { struct 55 int (*init)(struct tb_tunnel *tunnel); argument 56 void (*deinit)(struct tb_tunnel *tunnel); argument 57 int (*activate)(struct tb_tunnel *tunnel, bool activate); argument 58 int (*maximum_bandwidth)(struct tb_tunnel *tunnel, int *max_up, argument 60 int (*allocated_bandwidth)(struct tb_tunnel *tunnel, int *allocated_up, argument 62 int (*alloc_bandwidth)(struct tb_tunnel *tunnel, int *alloc_up, argument 64 int (*consumed_bandwidth)(struct tb_tunnel *tunnel, int *consumed_up, argument 66 int (*release_unused_bandwidth)(struct tb_tunnel *tunnel); argument 67 void (*reclaim_available_bandwidth)(struct tb_tunnel *tunnel, argument [all …]
|
| D | tunnel.c | 63 struct tb_tunnel *__tunnel = (tunnel); \ 134 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() 137 struct tb_tunnel *tunnel; in tb_tunnel_alloc() 157 static int tb_pci_set_ext_encapsulation(struct tb_tunnel *tunnel, bool enable) in tb_pci_set_ext_encapsulation() 179 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate() 262 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down, in tb_tunnel_discover_pci() 265 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() 342 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, in tb_tunnel_alloc_pci() 345 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() 576 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps() [all …]
|
| D | tb.c | 99 struct tb_tunnel *tunnel; in tb_attach_bandwidth_group() 235 struct tb_tunnel *tunnel; in tb_discover_dp_resources() 248 const struct tb_tunnel *tunnel; in tb_enable_clx() 325 static void tb_increase_tmu_accuracy(struct tb_tunnel *tunnel) in tb_increase_tmu_accuracy() 392 struct tb_tunnel *tunnel = NULL; in tb_switch_discover_tunnels() 427 struct tb_tunnel *tunnel; in tb_discover_tunnels() 530 static struct tb_tunnel *tb_find_tunnel(struct tb *tb, enum tb_tunnel_type type, in tb_find_tunnel() 535 struct tb_tunnel *tunnel; in tb_find_tunnel() 548 static struct tb_tunnel *tb_find_first_usb3_tunnel(struct tb *tb, in tb_find_first_usb3_tunnel() 580 struct tb_tunnel *tunnel; in tb_available_bandwidth() [all …]
|
| D | test.c | 1337 struct tb_tunnel *tunnel1, *tunnel2; in tb_test_tunnel_pcie() 1393 struct tb_tunnel *tunnel; in tb_test_tunnel_dp() 1431 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_chain() 1477 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_tree() 1528 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_max_length() 1607 struct tb_tunnel *tunnel1, *tunnel2, *tunnel3; in tb_test_tunnel_3dp() 1671 struct tb_tunnel *tunnel1, *tunnel2; in tb_test_tunnel_usb3() 1727 struct tb_tunnel *dp_tunnel; in tb_test_tunnel_port_on_path() 1792 struct tb_tunnel *tunnel; in tb_test_tunnel_dma() 1835 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_rx() [all …]
|