Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/thunderbolt/
Dtb.c217 tb_port_enable(port->dual_link_port); in tb_port_unconfigure_xdomain()
626 if (port->dual_link_port && port->link_nr) in tb_scan_port()
695 if (port->dual_link_port && upstream_port->dual_link_port) { in tb_scan_port()
696 port->dual_link_port->remote = upstream_port->dual_link_port; in tb_scan_port()
697 upstream_port->dual_link_port->remote = port->dual_link_port; in tb_scan_port()
825 if (port->dual_link_port) in tb_free_unplugged_children()
826 port->dual_link_port->remote = NULL; in tb_free_unplugged_children()
1313 if (port->dual_link_port) in tb_handle_hotplug()
1314 port->dual_link_port->remote = NULL; in tb_handle_hotplug()
Dpath.c287 if (!in_port->bonded && in_port->dual_link_port && in tb_path_alloc()
289 in_port = in_port->dual_link_port; in tb_path_alloc()
304 if (out_port->dual_link_port) { in tb_path_alloc()
311 out_port = out_port->dual_link_port; in tb_path_alloc()
318 out_port = out_port->dual_link_port; in tb_path_alloc()
Dswitch.c859 (next == prev || next->dual_link_port == prev)) in tb_next_port_on_path()
870 if (next->dual_link_port && in tb_next_port_on_path()
872 next = next->dual_link_port; in tb_next_port_on_path()
1031 port->dual_link_port->bonded = bonding; in tb_port_set_lane_bonding()
1063 ret = tb_port_get_link_width(port->dual_link_port); in tb_port_lane_bonding_enable()
1065 ret = tb_port_set_link_width(port->dual_link_port, 2); in tb_port_lane_bonding_enable()
1077 tb_port_set_link_width(port->dual_link_port, 1); in tb_port_lane_bonding_enable()
1093 tb_port_set_link_width(port->dual_link_port, 1); in tb_port_lane_bonding_disable()
1174 return tb_port_do_update_credits(port->dual_link_port); in tb_port_update_credits()
1213 if (!port->bonded && port->dual_link_port) in tb_port_clx_supported()
[all …]
Dtest.c92 sw->ports[1].dual_link_port = &sw->ports[2]; in alloc_host()
99 sw->ports[2].dual_link_port = &sw->ports[1]; in alloc_host()
107 sw->ports[3].dual_link_port = &sw->ports[4]; in alloc_host()
114 sw->ports[4].dual_link_port = &sw->ports[3]; in alloc_host()
196 sw->ports[1].dual_link_port = &sw->ports[2]; in alloc_dev_default()
203 sw->ports[2].dual_link_port = &sw->ports[1]; in alloc_dev_default()
211 sw->ports[3].dual_link_port = &sw->ports[4]; in alloc_dev_default()
218 sw->ports[4].dual_link_port = &sw->ports[3]; in alloc_dev_default()
226 sw->ports[5].dual_link_port = &sw->ports[6]; in alloc_dev_default()
233 sw->ports[6].dual_link_port = &sw->ports[5]; in alloc_dev_default()
[all …]
Dxdomain.c1321 ret = tb_port_set_link_width(port->dual_link_port, width); in tb_xdomain_bond_lanes_uuid_high()
1323 tb_port_warn(port->dual_link_port, in tb_xdomain_bond_lanes_uuid_high()
1342 port->dual_link_port->bonded = width == 2; in tb_xdomain_bond_lanes_uuid_high()
1433 tb_port_disable(port->dual_link_port); in tb_xdomain_get_properties()
1884 xd->bonding_possible = !!down->dual_link_port; in tb_xdomain_alloc()
1986 if (!port->dual_link_port) in tb_xdomain_lane_bonding_enable()
1989 ret = tb_port_enable(port->dual_link_port); in tb_xdomain_lane_bonding_enable()
1993 ret = tb_wait_for_port(port->dual_link_port, true); in tb_xdomain_lane_bonding_enable()
2031 if (port->dual_link_port) { in tb_xdomain_lane_bonding_disable()
2035 tb_port_disable(port->dual_link_port); in tb_xdomain_lane_bonding_disable()
Dtb.h267 struct tb_port *dual_link_port; member
534 return port == upstream_port || port->dual_link_port == upstream_port; in tb_is_upstream_port()
564 if (port->dual_link_port && port->link_nr) in tb_port_has_remote()
Deeprom.c396 port->dual_link_port = in tb_drom_parse_entry_port()