Home
last modified time | relevance | path

Searched refs:dual_link_port (Results 1 – 6 of 6) sorted by relevance

/drivers/thunderbolt/
Dtb.c162 tb_port_disable(port->dual_link_port); in tb_port_configure_xdomain()
176 tb_port_enable(port->dual_link_port); in tb_port_unconfigure_xdomain()
573 if (port->dual_link_port && port->link_nr) in tb_scan_port()
638 if (port->dual_link_port && upstream_port->dual_link_port) { in tb_scan_port()
639 port->dual_link_port->remote = upstream_port->dual_link_port; in tb_scan_port()
640 upstream_port->dual_link_port->remote = port->dual_link_port; in tb_scan_port()
744 if (port->dual_link_port) in tb_free_unplugged_children()
745 port->dual_link_port->remote = NULL; in tb_free_unplugged_children()
1163 if (port->dual_link_port) in tb_handle_hotplug()
1164 port->dual_link_port->remote = NULL; in tb_handle_hotplug()
Dtest.c90 sw->ports[1].dual_link_port = &sw->ports[2]; in alloc_host()
95 sw->ports[2].dual_link_port = &sw->ports[1]; in alloc_host()
101 sw->ports[3].dual_link_port = &sw->ports[4]; in alloc_host()
106 sw->ports[4].dual_link_port = &sw->ports[3]; in alloc_host()
166 sw->ports[1].dual_link_port = &sw->ports[2]; in alloc_dev_default()
171 sw->ports[2].dual_link_port = &sw->ports[1]; in alloc_dev_default()
177 sw->ports[3].dual_link_port = &sw->ports[4]; in alloc_dev_default()
182 sw->ports[4].dual_link_port = &sw->ports[3]; in alloc_dev_default()
188 sw->ports[5].dual_link_port = &sw->ports[6]; in alloc_dev_default()
193 sw->ports[6].dual_link_port = &sw->ports[5]; in alloc_dev_default()
[all …]
Dpath.c275 if (!in_port->bonded && in_port->dual_link_port && in tb_path_alloc()
277 in_port = in_port->dual_link_port; in tb_path_alloc()
292 if (out_port->dual_link_port) { in tb_path_alloc()
299 out_port = out_port->dual_link_port; in tb_path_alloc()
306 out_port = out_port->dual_link_port; in tb_path_alloc()
Dswitch.c884 (next == prev || next->dual_link_port == prev)) in tb_next_port_on_path()
895 if (next->dual_link_port && in tb_next_port_on_path()
897 next = next->dual_link_port; in tb_next_port_on_path()
1013 ret = tb_port_get_link_width(port->dual_link_port); in tb_port_lane_bonding_enable()
1015 ret = tb_port_set_link_width(port->dual_link_port, 2); in tb_port_lane_bonding_enable()
1023 port->dual_link_port->bonded = true; in tb_port_lane_bonding_enable()
1030 port->dual_link_port->bonded = false; in tb_port_lane_bonding_disable()
1033 tb_port_set_link_width(port->dual_link_port, 1); in tb_port_lane_bonding_disable()
2222 if (!port->dual_link_port && !subordinate->dual_link_port) { in tb_switch_default_link_ports()
2224 port->dual_link_port = subordinate; in tb_switch_default_link_ports()
[all …]
Dtb.h212 struct tb_port *dual_link_port; member
432 return port == upstream_port || port->dual_link_port == upstream_port; in tb_is_upstream_port()
462 if (port->dual_link_port && port->link_nr) in tb_port_has_remote()
Deeprom.c371 port->dual_link_port = in tb_drom_parse_entry_port()