Searched refs:tb_tunnel (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/thunderbolt/ |
H A 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 …]
|
H A D | tunnel.c | 137 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() 140 struct tb_tunnel *tunnel; in tb_tunnel_alloc() 160 static int tb_pci_set_ext_encapsulation(struct tb_tunnel *tunnel, bool enable) in tb_pci_set_ext_encapsulation() 182 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate() 265 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down, in tb_tunnel_discover_pci() 268 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() 345 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, in tb_tunnel_alloc_pci() 348 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() 624 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps() 723 static int tb_dp_bandwidth_alloc_mode_enable(struct tb_tunnel *tunnel) in tb_dp_bandwidth_alloc_mode_enable() [all …]
|
H A D | tb.c | 122 struct tb_tunnel *tunnel; in tb_attach_bandwidth_group() 258 struct tb_tunnel *tunnel; in tb_discover_dp_resources() 271 const struct tb_tunnel *tunnel; in tb_enable_clx() 366 static void tb_increase_tmu_accuracy(struct tb_tunnel *tunnel) in tb_increase_tmu_accuracy() 469 struct tb_tunnel *tunnel = NULL; in tb_switch_discover_tunnels() 504 struct tb_tunnel *tunnel; in tb_discover_tunnels() 607 static struct tb_tunnel *tb_find_tunnel(struct tb *tb, enum tb_tunnel_type type, in tb_find_tunnel() 612 struct tb_tunnel *tunnel; in tb_find_tunnel() 625 static struct tb_tunnel *tb_find_first_usb3_tunnel(struct tb *tb, in tb_find_first_usb3_tunnel() 673 struct tb_tunnel *tunnel; in tb_consumed_usb3_pcie_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 …]
|