Home
last modified time | relevance | path

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

/linux/drivers/net/dsa/mv88e6xxx/
H A Dport.h432 int upstream_port);
464 int upstream_port);
H A Dport.c1167 int upstream_port) in mv88e6095_port_set_upstream_port() argument
1177 reg |= upstream_port; in mv88e6095_port_set_upstream_port()
1461 int upstream_port) in mv88e6393x_port_set_upstream_port() argument
1465 upstream_port; in mv88e6393x_port_set_upstream_port()
H A Dchip.h581 int upstream_port);
H A Dchip.c3336 int upstream_port; in mv88e6xxx_setup_upstream_port() local
3339 upstream_port = dsa_upstream_port(ds, port); in mv88e6xxx_setup_upstream_port()
3342 upstream_port); in mv88e6xxx_setup_upstream_port()
3347 if (port == upstream_port) { in mv88e6xxx_setup_upstream_port()
3350 upstream_port); in mv88e6xxx_setup_upstream_port()
3357 upstream_port); in mv88e6xxx_setup_upstream_port()
3363 upstream_port); in mv88e6xxx_setup_upstream_port()
/linux/drivers/thunderbolt/
H A Dtest.c37 u8 upstream_port, u8 max_port_number) in alloc_switch() argument
47 sw->config.upstream_port_number = upstream_port; in alloc_switch()
194 struct tb_port *port, *upstream_port; in alloc_dev_default() local
316 upstream_port = tb_upstream_port(sw); in alloc_dev_default()
318 port->remote = upstream_port; in alloc_dev_default()
319 upstream_port->remote = port; in alloc_dev_default()
320 if (port->dual_link_port && upstream_port->dual_link_port) { in alloc_dev_default()
321 port->dual_link_port->remote = upstream_port->dual_link_port; in alloc_dev_default()
322 upstream_port->dual_link_port->remote = port->dual_link_port; in alloc_dev_default()
330 upstream_port->bonded = true; in alloc_dev_default()
[all …]
H A Dtb.h572 const struct tb_port *upstream_port = tb_upstream_port(port->sw); in tb_is_upstream_port() local
573 return port == upstream_port || port->dual_link_port == upstream_port; in tb_is_upstream_port()
H A Dswitch.c2416 int upstream_port; in tb_switch_alloc() local
2430 upstream_port = tb_cfg_get_upstream_port(tb->ctl, route); in tb_switch_alloc()
2431 if (upstream_port < 0) in tb_switch_alloc()
2432 return ERR_PTR(upstream_port); in tb_switch_alloc()
2449 sw->config.upstream_port_number = upstream_port; in tb_switch_alloc()
H A Dtb.c1265 struct tb_port *upstream_port; in tb_scan_port() local
1349 upstream_port = tb_upstream_port(sw); in tb_scan_port()
1350 tb_configure_link(port, upstream_port, sw); in tb_scan_port()
1371 tb_retimer_scan(upstream_port, true); in tb_scan_port()