Searched refs:tb_tunnel (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/thunderbolt/ |
| H A D | tunnel.h | 73 struct tb_tunnel { struct 80 int (*pre_activate)(struct tb_tunnel *tunnel); argument 81 int (*activate)(struct tb_tunnel *tunnel, bool activate); argument 82 void (*post_deactivate)(struct tb_tunnel *tunnel); argument 83 void (*destroy)(struct tb_tunnel *tunnel); argument 84 int (*maximum_bandwidth)(struct tb_tunnel *tunnel, int *max_up, argument 86 int (*allocated_bandwidth)(struct tb_tunnel *tunnel, int *allocated_up, argument 88 int (*alloc_bandwidth)(struct tb_tunnel *tunnel, int *alloc_up, argument 90 int (*consumed_bandwidth)(struct tb_tunnel *tunnel, int *consumed_up, argument 92 int (*release_unused_bandwidth)(struct tb_tunnel *tunnel); argument [all …]
|
| H A D | tunnel.c | 178 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() 181 struct tb_tunnel *tunnel; in tb_tunnel_alloc() 202 static void tb_tunnel_get(struct tb_tunnel *tunnel) in tb_tunnel_get() 211 struct tb_tunnel *tunnel = container_of(kref, typeof(*tunnel), kref); in tb_tunnel_destroy() 226 void tb_tunnel_put(struct tb_tunnel *tunnel) in tb_tunnel_put() 280 static inline void tb_tunnel_set_active(struct tb_tunnel *tunnel, bool active) in tb_tunnel_set_active() 293 static inline void tb_tunnel_changed(struct tb_tunnel *tunnel) in tb_tunnel_changed() 299 static int tb_pci_set_ext_encapsulation(struct tb_tunnel *tunnel, bool enable) in tb_pci_set_ext_encapsulation() 333 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate() 424 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down, in tb_tunnel_discover_pci() [all …]
|
| H A D | tb.c | 175 struct tb_tunnel *tunnel; in tb_discover_dp_resources() 188 const struct tb_tunnel *tunnel; in tb_enable_clx() 281 static void tb_increase_tmu_accuracy(struct tb_tunnel *tunnel) in tb_increase_tmu_accuracy() 384 struct tb_tunnel *tunnel = NULL; in tb_switch_discover_tunnels() 490 static struct tb_tunnel *tb_find_tunnel(struct tb *tb, enum tb_tunnel_type type, in tb_find_tunnel() 495 struct tb_tunnel *tunnel; in tb_find_tunnel() 508 static struct tb_tunnel *tb_find_first_usb3_tunnel(struct tb *tb, in tb_find_first_usb3_tunnel() 559 struct tb_tunnel *tunnel; in tb_consumed_usb3_pcie_bandwidth() 614 struct tb_tunnel *tunnel; in tb_consumed_dp_bandwidth() 870 struct tb_tunnel *tunnel; in tb_release_unused_usb3_bandwidth() [all …]
|
| H A 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 …]
|