Home
last modified time | relevance | path

Searched refs:tb_port (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/thunderbolt/
A Dtb.h160 struct tb_port *ports;
229 struct tb_port { struct
232 struct tb_port *remote; argument
242 struct tb_port *dual_link_port; argument
262 struct tb_port *port; argument
284 struct tb_port *port;
316 struct tb_port *in_port;
317 struct tb_port *out_port;
909 struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end,
910 struct tb_port *prev);
[all …]
A Dtunnel.h46 struct tb_port *src_port;
47 struct tb_port *dst_port;
68 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up,
69 struct tb_port *down);
71 struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in,
72 struct tb_port *out, int max_up,
74 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi,
75 struct tb_port *dst, int transmit_path,
81 struct tb_tunnel *tb_tunnel_alloc_usb3(struct tb *tb, struct tb_port *up,
82 struct tb_port *down, int max_up,
[all …]
A Dusb4.c180 struct tb_port *port; in usb4_switch_check_wakes()
245 struct tb_port *downstream_port; in usb4_switch_setup()
370 struct tb_port *up; in usb4_switch_lane_bonding_possible()
391 struct tb_port *port; in usb4_switch_set_wake()
709 const struct tb_port *port; in usb4_switch_credits_init()
916 struct tb_port *p; in usb4_port_idx()
949 struct tb_port *p; in usb4_switch_map_pcie_down()
980 struct tb_port *p; in usb4_switch_map_usb3_down()
1008 struct tb_port *port; in usb4_switch_add_ports()
1041 struct tb_port *port; in usb4_switch_remove_ports()
[all …]
A Dtb.c75 struct tb_port *port; in tb_add_dp_resources()
112 struct tb_port *port; in tb_discover_tunnels()
235 struct tb_port *port; in tb_find_unused_port()
254 struct tb_port *down; in tb_find_usb3_down()
313 struct tb_port *port; in tb_available_bandwidth()
524 struct tb_port *port; in tb_create_usb3_tunnels()
554 struct tb_port *port; in tb_scan_switch()
815 static struct tb_port *tb_find_dp_out(struct tb *tb, struct tb_port *in) in tb_find_dp_out()
839 struct tb_port *p; in tb_find_dp_out()
987 struct tb_port *p; in tb_dp_resource_available()
[all …]
A Dlc.c30 static int find_port_lc_cap(struct tb_port *port) in find_port_lc_cap()
91 int tb_lc_configure_port(struct tb_port *port) in tb_lc_configure_port()
102 void tb_lc_unconfigure_port(struct tb_port *port) in tb_lc_unconfigure_port()
145 int tb_lc_configure_xdomain(struct tb_port *port) in tb_lc_configure_xdomain()
156 void tb_lc_unconfigure_xdomain(struct tb_port *port) in tb_lc_unconfigure_xdomain()
171 int tb_lc_start_lane_initialization(struct tb_port *port) in tb_lc_start_lane_initialization()
318 struct tb_port *up; in tb_lc_lane_bonding_possible()
338 struct tb_port *in) in tb_lc_dp_sink_from_port()
340 struct tb_port *port; in tb_lc_dp_sink_from_port()
387 bool tb_lc_dp_sink_query(struct tb_switch *sw, struct tb_port *in) in tb_lc_dp_sink_query()
[all …]
A Dswitch.c882 struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end, in tb_next_port_on_path()
885 struct tb_port *next; in tb_next_port_on_path()
1957 struct tb_port *port; in tb_switch_release()
2126 struct tb_port *down; in tb_switch_alloc()
2496 struct tb_port *up; in tb_switch_update_link_attributes()
2537 struct tb_port *up, *down; in tb_switch_lane_bonding_enable()
2826 struct tb_port *port; in tb_switch_remove()
2866 struct tb_port *port; in tb_sw_set_unplugged()
2899 struct tb_port *port; in tb_switch_resume()
2994 struct tb_port *port; in tb_switch_suspend()
[all …]
A Dpath.c18 const struct tb_port *port = hop->in_port; in tb_dump_hop()
34 static struct tb_port *tb_path_find_dst_port(struct tb_port *src, int src_hopid, in tb_path_find_dst_port()
37 struct tb_port *port, *out_port = NULL; in tb_path_find_dst_port()
65 static int tb_path_find_src_hopid(struct tb_port *src, in tb_path_find_src_hopid()
66 const struct tb_port *dst, int dst_hopid) in tb_path_find_src_hopid()
68 struct tb_port *out; in tb_path_find_src_hopid()
101 struct tb_port *dst, int dst_hopid, in tb_path_discover()
102 struct tb_port **last, const char *name) in tb_path_discover()
104 struct tb_port *out_port; in tb_path_discover()
108 struct tb_port *p; in tb_path_discover()
[all …]
A Dtunnel.c158 struct tb_port *port = hop->in_port; in tb_pci_init_credits()
295 struct tb_port *down) in tb_tunnel_alloc_pci()
337 static int tb_dp_cm_handshake(struct tb_port *in, struct tb_port *out) in tb_dp_cm_handshake()
685 struct tb_port *port = hop->in_port; in tb_dp_init_aux_credits()
711 struct tb_port *port = hop->in_port; in tb_dp_init_video_credits()
774 struct tb_port *port; in tb_tunnel_discover_dp()
924 struct tb_port *port = hop->in_port; in tb_dma_reserve_credits()
1015 struct tb_port *port = hop->in_port; in tb_dma_release_credits()
1177 static int tb_usb3_max_link_rate(struct tb_port *up, struct tb_port *down) in tb_usb3_max_link_rate()
1310 struct tb_port *port = hop->in_port; in tb_usb3_init_credits()
[all …]
A Dtmu.c84 static int tb_port_tmu_write(struct tb_port *port, u8 offset, u32 mask, in tb_port_tmu_write()
101 static int tb_port_tmu_set_unidirectional(struct tb_port *port, in tb_port_tmu_set_unidirectional()
113 static inline int tb_port_tmu_unidirectional_disable(struct tb_port *port) in tb_port_tmu_unidirectional_disable()
118 static bool tb_port_tmu_is_unidirectional(struct tb_port *port) in tb_port_tmu_is_unidirectional()
160 struct tb_port *port; in tb_switch_tmu_init()
189 struct tb_port *up = tb_upstream_port(sw); in tb_switch_tmu_init()
311 struct tb_port *up, *down; in tb_switch_tmu_disable()
356 struct tb_port *up, *down; in tb_switch_tmu_enable()
A Ddebugfs.c123 static ssize_t regs_write(struct tb_switch *sw, struct tb_port *port, in regs_write()
170 struct tb_port *port = s->private; in port_regs_write()
190 static int port_clear_all_counters(struct tb_port *port) in port_clear_all_counters()
211 struct tb_port *port = s->private; in counters_write()
255 struct tb_port *port, unsigned int cap, in cap_show_by_dw()
278 struct tb_port *port, unsigned int cap, u8 cap_id, in cap_show()
308 static void port_cap_show(struct tb_port *port, struct seq_file *s, in port_cap_show()
408 struct tb_port *port = s->private; in port_regs_show()
564 struct tb_port *port = s->private; in path_show()
627 struct tb_port *port = s->private; in counters_show()
[all …]
A Dcap.c18 static int tb_port_enable_tmu(struct tb_port *port, bool enable) in tb_port_enable_tmu()
47 static void tb_port_dummy_read(struct tb_port *port) in tb_port_dummy_read()
72 int tb_port_next_cap(struct tb_port *port, unsigned int offset) in tb_port_next_cap()
87 static int __tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap) in __tb_port_find_cap()
119 int tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap) in tb_port_find_cap()
A Dusb4_port.c17 struct tb_port *port = usb4->port; in link_show()
48 struct tb_port *port = usb4->port; in usb4_port_offline()
72 struct tb_port *port = usb4->port; in usb4_port_online()
90 struct tb_port *port = usb4->port; in offline_store()
141 struct tb_port *port = usb4->port; in rescan_store()
229 struct usb4_port *usb4_port_device_add(struct tb_port *port) in usb4_port_device_add()
A Dacpi.c192 static int tb_acpi_retimer_set_power(struct tb_port *port, bool power) in tb_acpi_retimer_set_power()
267 int tb_acpi_power_on_retimers(struct tb_port *port) in tb_acpi_power_on_retimers()
281 int tb_acpi_power_off_retimers(struct tb_port *port) in tb_acpi_power_off_retimers()
292 const struct tb_port *port) in tb_acpi_find_port()
318 struct tb_port *port = tb_port_at(tb_route(sw), parent_sw); in tb_acpi_switch_find_companion()
A Dtest.c787 struct tb_port *down, *up; in tb_test_path_not_connected()
839 struct tb_port *down, *up; in tb_test_path_not_bonded_lane0()
901 struct tb_port *in, *out; in tb_test_path_not_bonded_lane1()
979 struct tb_port *in, *out; in tb_test_path_not_bonded_lane1_chain()
1059 struct tb_port *in, *out; in tb_test_path_not_bonded_lane1_chain_reverse()
1150 struct tb_port *in, *out; in tb_test_path_mixed_chain()
1242 struct tb_port *in, *out; in tb_test_path_mixed_chain_reverse()
1334 struct tb_port *in, *out; in tb_test_tunnel_dp()
1372 struct tb_port *in, *out; in tb_test_tunnel_dp_chain()
1418 struct tb_port *in, *out; in tb_test_tunnel_dp_tree()
[all …]
A Dretimer.c325 static int tb_retimer_add(struct tb_port *port, u8 index, u32 auth_status) in tb_retimer_add()
418 const struct tb_port *port;
430 static struct tb_retimer *tb_port_find_retimer(struct tb_port *port, u8 index) in tb_port_find_retimer()
452 int tb_retimer_scan(struct tb_port *port, bool add) in tb_retimer_scan()
516 struct tb_port *port = data; in remove_retimer()
529 void tb_retimer_remove_all(struct tb_port *port) in tb_retimer_remove_all()
A Dxdomain.c978 struct tb_port *port; in tb_xdomain_update_link_attributes()
1379 struct tb_port *down; in tb_xdomain_alloc()
1507 struct tb_port *port; in tb_xdomain_lane_bonding_enable()
1553 struct tb_port *port; in tb_xdomain_lane_bonding_disable()
1695 struct tb_port *port; in switch_find_xdomain()
A Deeprom.c363 struct tb_port *port; in tb_drom_parse_entry_port()
A Dicm.c2007 struct tb_port *port; in icm_unplug_children()
2052 struct tb_port *port; in icm_free_unplugged_children()

Completed in 59 milliseconds