Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thunderbolt/
Dtb.c557 struct tb_port *upstream_port; in tb_scan_port() local
635 upstream_port = tb_upstream_port(sw); in tb_scan_port()
636 port->remote = upstream_port; in tb_scan_port()
637 upstream_port->remote = port; 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()
652 tb_retimer_scan(upstream_port); in tb_scan_port()
Dicm.c81 struct pci_dev *upstream_port; member
201 pci_read_config_dword(icm->upstream_port, in pci2cio_wait_completion()
218 struct pci_dev *pdev = icm->upstream_port; in pcie2cio_read()
239 struct pci_dev *pdev = icm->upstream_port; in pcie2cio_write()
1391 struct pci_dev *upstream_port; in icm_ar_is_supported() local
1408 upstream_port = get_upstream_port(tb->nhi->pdev); in icm_ar_is_supported()
1409 if (upstream_port) { in icm_ar_is_supported()
1412 cap = pci_find_ext_capability(upstream_port, in icm_ar_is_supported()
1415 icm->upstream_port = upstream_port; in icm_ar_is_supported()
1742 if (!icm->upstream_port) in icm_firmware_reset()
[all …]
Dtest.c37 u8 upstream_port, u8 max_port_number) in alloc_switch() argument
47 sw->config.upstream_port_number = upstream_port; in alloc_switch()
149 struct tb_port *port, *upstream_port; in alloc_dev_default() local
255 upstream_port = tb_upstream_port(sw); in alloc_dev_default()
257 port->remote = upstream_port; in alloc_dev_default()
258 upstream_port->remote = port; in alloc_dev_default()
259 if (port->dual_link_port && upstream_port->dual_link_port) { in alloc_dev_default()
260 port->dual_link_port->remote = upstream_port->dual_link_port; in alloc_dev_default()
261 upstream_port->dual_link_port->remote = port->dual_link_port; in alloc_dev_default()
267 upstream_port->bonded = true; in alloc_dev_default()
[all …]
Dtb.h431 const struct tb_port *upstream_port = tb_upstream_port(port->sw); in tb_is_upstream_port() local
432 return port == upstream_port || port->dual_link_port == upstream_port; in tb_is_upstream_port()
Dswitch.c1885 int upstream_port; in tb_switch_alloc() local
1899 upstream_port = tb_cfg_get_upstream_port(tb->ctl, route); in tb_switch_alloc()
1900 if (upstream_port < 0) in tb_switch_alloc()
1901 return ERR_PTR(upstream_port); in tb_switch_alloc()
1918 sw->config.upstream_port_number = upstream_port; in tb_switch_alloc()
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
Dport.h369 int upstream_port);
Dport.c990 int upstream_port) in mv88e6095_port_set_upstream_port() argument
1000 reg |= upstream_port; in mv88e6095_port_set_upstream_port()
Dchip.h478 int upstream_port);
Dchip.c2533 int upstream_port; in mv88e6xxx_setup_upstream_port() local
2536 upstream_port = dsa_upstream_port(ds, port); in mv88e6xxx_setup_upstream_port()
2539 upstream_port); in mv88e6xxx_setup_upstream_port()
2544 if (port == upstream_port) { in mv88e6xxx_setup_upstream_port()
2547 upstream_port); in mv88e6xxx_setup_upstream_port()
2555 upstream_port); in mv88e6xxx_setup_upstream_port()
2561 upstream_port); in mv88e6xxx_setup_upstream_port()