Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/thunderbolt/
Dtb.c609 struct tb_port *upstream_port; in tb_scan_port() local
692 upstream_port = tb_upstream_port(sw); in tb_scan_port()
693 port->remote = upstream_port; in tb_scan_port()
694 upstream_port->remote = port; 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()
727 tb_retimer_scan(upstream_port, true); in tb_scan_port()
Dicm.c95 struct pci_dev *upstream_port; member
217 pci_read_config_dword(icm->upstream_port, in pci2cio_wait_completion()
234 struct pci_dev *pdev = icm->upstream_port; in pcie2cio_read()
255 struct pci_dev *pdev = icm->upstream_port; in pcie2cio_write()
1429 struct pci_dev *upstream_port; in icm_ar_is_supported() local
1446 upstream_port = get_upstream_port(tb->nhi->pdev); in icm_ar_is_supported()
1447 if (upstream_port) { in icm_ar_is_supported()
1450 cap = pci_find_ext_capability(upstream_port, in icm_ar_is_supported()
1453 icm->upstream_port = upstream_port; in icm_ar_is_supported()
1796 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()
177 struct tb_port *port, *upstream_port; in alloc_dev_default() local
299 upstream_port = tb_upstream_port(sw); in alloc_dev_default()
301 port->remote = upstream_port; in alloc_dev_default()
302 upstream_port->remote = port; in alloc_dev_default()
303 if (port->dual_link_port && upstream_port->dual_link_port) { in alloc_dev_default()
304 port->dual_link_port->remote = upstream_port->dual_link_port; in alloc_dev_default()
305 upstream_port->dual_link_port->remote = port->dual_link_port; in alloc_dev_default()
313 upstream_port->bonded = true; in alloc_dev_default()
[all …]
Dtb.h533 const struct tb_port *upstream_port = tb_upstream_port(port->sw); in tb_is_upstream_port() local
534 return port == upstream_port || port->dual_link_port == upstream_port; in tb_is_upstream_port()
Dswitch.c2323 int upstream_port; in tb_switch_alloc() local
2337 upstream_port = tb_cfg_get_upstream_port(tb->ctl, route); in tb_switch_alloc()
2338 if (upstream_port < 0) in tb_switch_alloc()
2339 return ERR_PTR(upstream_port); in tb_switch_alloc()
2356 sw->config.upstream_port_number = upstream_port; in tb_switch_alloc()
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/
Dport.h408 int upstream_port);
440 int upstream_port);
Dport.c1173 int upstream_port) in mv88e6095_port_set_upstream_port() argument
1183 reg |= upstream_port; in mv88e6095_port_set_upstream_port()
1467 int upstream_port) in mv88e6393x_port_set_upstream_port() argument
1471 upstream_port; in mv88e6393x_port_set_upstream_port()
Dchip.h543 int upstream_port);
Dchip.c3251 int upstream_port; in mv88e6xxx_setup_upstream_port() local
3254 upstream_port = dsa_upstream_port(ds, port); in mv88e6xxx_setup_upstream_port()
3257 upstream_port); in mv88e6xxx_setup_upstream_port()
3262 if (port == upstream_port) { in mv88e6xxx_setup_upstream_port()
3265 upstream_port); in mv88e6xxx_setup_upstream_port()
3272 upstream_port); in mv88e6xxx_setup_upstream_port()
3278 upstream_port); in mv88e6xxx_setup_upstream_port()