Searched refs:upstream_port (Results 1 – 9 of 9) sorted by relevance
96 struct pci_dev *upstream_port; member218 pci_read_config_dword(icm->upstream_port, in pci2cio_wait_completion()235 struct pci_dev *pdev = icm->upstream_port; in pcie2cio_read()256 struct pci_dev *pdev = icm->upstream_port; in pcie2cio_write()1427 struct pci_dev *upstream_port; in icm_ar_is_supported() local1444 upstream_port = get_upstream_port(tb->nhi->pdev); in icm_ar_is_supported()1445 if (upstream_port) { in icm_ar_is_supported()1448 cap = pci_find_ext_capability(upstream_port, in icm_ar_is_supported()1451 icm->upstream_port = upstream_port; in icm_ar_is_supported()1794 if (!icm->upstream_port) in icm_firmware_reset()[all …]
883 struct tb_port *upstream_port; in tb_scan_port() local968 upstream_port = tb_upstream_port(sw); in tb_scan_port()969 port->remote = upstream_port; in tb_scan_port()970 upstream_port->remote = port; in tb_scan_port()971 if (port->dual_link_port && upstream_port->dual_link_port) { in tb_scan_port()972 port->dual_link_port->remote = upstream_port->dual_link_port; in tb_scan_port()973 upstream_port->dual_link_port->remote = port->dual_link_port; in tb_scan_port()999 tb_retimer_scan(upstream_port, true); in tb_scan_port()
37 u8 upstream_port, u8 max_port_number) in alloc_switch() argument47 sw->config.upstream_port_number = upstream_port; in alloc_switch()194 struct tb_port *port, *upstream_port; in alloc_dev_default() local316 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 …]
555 const struct tb_port *upstream_port = tb_upstream_port(port->sw); in tb_is_upstream_port() local556 return port == upstream_port || port->dual_link_port == upstream_port; in tb_is_upstream_port()
2265 int upstream_port; in tb_switch_alloc() local2279 upstream_port = tb_cfg_get_upstream_port(tb->ctl, route); in tb_switch_alloc()2280 if (upstream_port < 0) in tb_switch_alloc()2281 return ERR_PTR(upstream_port); in tb_switch_alloc()2298 sw->config.upstream_port_number = upstream_port; in tb_switch_alloc()
417 int upstream_port);449 int upstream_port);
1167 int upstream_port) in mv88e6095_port_set_upstream_port() argument1177 reg |= upstream_port; in mv88e6095_port_set_upstream_port()1461 int upstream_port) in mv88e6393x_port_set_upstream_port() argument1465 upstream_port; in mv88e6393x_port_set_upstream_port()
562 int upstream_port);
3130 int upstream_port; in mv88e6xxx_setup_upstream_port() local3133 upstream_port = dsa_upstream_port(ds, port); in mv88e6xxx_setup_upstream_port()3136 upstream_port); in mv88e6xxx_setup_upstream_port()3141 if (port == upstream_port) { in mv88e6xxx_setup_upstream_port()3144 upstream_port); in mv88e6xxx_setup_upstream_port()3151 upstream_port); in mv88e6xxx_setup_upstream_port()3157 upstream_port); in mv88e6xxx_setup_upstream_port()