Home
last modified time | relevance | path

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

/linux/drivers/thunderbolt/
H A Dswitch.c872 (next == prev || next->dual_link_port == prev)) in tb_next_port_on_path()
883 if (next->dual_link_port && in tb_next_port_on_path()
885 next = next->dual_link_port; in tb_next_port_on_path()
1125 width = tb_port_get_link_width(port->dual_link_port); in tb_port_lane_bonding_enable()
1127 ret = tb_port_set_link_width(port->dual_link_port, in tb_port_lane_bonding_enable()
1148 port->dual_link_port->bonded = true; in tb_port_lane_bonding_enable()
1153 tb_port_set_link_width(port->dual_link_port, TB_LINK_WIDTH_SINGLE); in tb_port_lane_bonding_enable()
1170 tb_port_set_link_width(port->dual_link_port, TB_LINK_WIDTH_SINGLE); in tb_port_lane_bonding_disable()
1172 port->dual_link_port->bonded = false; in tb_port_lane_bonding_disable()
1260 if (!port->dual_link_port) in tb_port_update_credits()
[all...]
H A 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()
H A Dxdomain.c1351 ret = tb_port_set_link_width(port->dual_link_port, width); in tb_xdomain_bond_lanes_uuid_high()
1353 tb_port_warn(port->dual_link_port, in tb_xdomain_bond_lanes_uuid_high()
1373 port->dual_link_port->bonded = width > TB_LINK_WIDTH_SINGLE; in tb_xdomain_bond_lanes_uuid_high()
1462 tb_port_disable(port->dual_link_port); in tb_xdomain_get_properties()
1905 if (!down->dual_link_port) in tb_xdomain_link_init()
1914 down->dual_link_port->bonded = true; in tb_xdomain_link_init()
1924 if (!down->dual_link_port) in tb_xdomain_link_exit()
1929 down->dual_link_port->bonded = false; in tb_xdomain_link_exit()
1938 } else if (down->dual_link_port) { in tb_xdomain_link_exit()
1943 tb_port_enable(down->dual_link_port); in tb_xdomain_link_exit()
[all...]
H A 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()
213 sw->ports[1].dual_link_port = &sw->ports[2]; in alloc_dev_default()
220 sw->ports[2].dual_link_port = &sw->ports[1]; in alloc_dev_default()
228 sw->ports[3].dual_link_port = &sw->ports[4]; in alloc_dev_default()
235 sw->ports[4].dual_link_port = &sw->ports[3]; in alloc_dev_default()
243 sw->ports[5].dual_link_port = &sw->ports[6]; in alloc_dev_default()
250 sw->ports[6].dual_link_port in alloc_dev_default()
[all...]
H A Dtb.c1232 if (down->dual_link_port && up->dual_link_port) { in tb_configure_link()
1233 down->dual_link_port->remote = up->dual_link_port; in tb_configure_link()
1234 up->dual_link_port->remote = down->dual_link_port; in tb_configure_link()
1301 if (port->dual_link_port && port->link_nr) in tb_scan_port()
1798 if (port->dual_link_port) in tb_free_unplugged_children()
1799 port->dual_link_port->remote = NULL; in tb_free_unplugged_children()
2464 if (port->dual_link_port) in tb_handle_hotplug()
[all...]
H A Dclx.c74 if (!port->bonded && port->dual_link_port) in tb_port_clx_supported()
H A Dtb.h260 * @dual_link_port: If the switch is connected using two ports, points
293 struct tb_port *dual_link_port; member
578 return port == upstream_port || port->dual_link_port == upstream_port; in tb_is_upstream_port()
624 if (port->dual_link_port && port->link_nr) in tb_port_has_remote()
H A Deeprom.c396 port->dual_link_port = in tb_drom_parse_entry_port()