/linux-master/drivers/pci/hotplug/ |
H A D | acpiphp_ampere_altra.c | 43 struct pci_dev *root_port; local 49 root_port = pcie_find_root_port(bus->self); 50 if (!root_port) 63 (PCI_SLOT(root_port->devfn) << 4) | (pci_domain_nr(bus) & 0xf),
|
/linux-master/drivers/cxl/ |
H A D | acpi.c | 197 struct cxl_port *root_port; member in struct:cxl_cfmws_context 323 struct cxl_port *root_port = ctx->root_port; local 373 cxlrd = cxl_root_decoder_alloc(root_port, ways, cxl_calc_hb); 543 struct cxl_port *root_port = arg; local 544 struct device *host = root_port->dev.parent; 577 dport = devm_cxl_add_rch_dport(root_port, bridge, ctx.uid, 580 dport = devm_cxl_add_dport(root_port, bridge, ctx.uid, 600 struct cxl_port *root_port = arg; local 601 struct device *host = root_port 658 struct cxl_port *root_port = data; local 808 struct cxl_port *root_port; local [all...] |
/linux-master/net/bridge/ |
H A D | br_stp.c | 103 u16 root_port) 117 if (!root_port) 120 rp = br_get_port(br, root_port); 170 u16 root_port = 0; local 173 if (!br_should_become_root_port(p, root_port)) 179 root_port = p->port_no; 182 br->root_port = root_port; 184 if (!root_port) { 188 p = br_get_port(br, root_port); 102 br_should_become_root_port(const struct net_bridge_port *p, u16 root_port) argument [all...] |
H A D | br_ioctl.c | 179 b.root_port = br->root_port;
|
H A D | br_sysfs_br.c | 238 return sprintf(buf, "%d\n", to_bridge(d)->root_port); 240 static DEVICE_ATTR_RO(root_port);
|
H A D | br_private.h | 517 u16 root_port; member in struct:net_bridge
|
H A D | br_netlink.c | 1678 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) ||
|
/linux-master/drivers/cxl/core/ |
H A D | cdat.c | 311 static bool cxl_qos_match(struct cxl_port *root_port, argument 317 if (!device_for_each_child(&root_port->dev, &dpa_perf->qos_class, 349 struct cxl_port *root_port; local 358 root_port = &cxl_root->port; 361 if (!cxl_qos_match(root_port, &mds->ram_perf)) 363 if (!cxl_qos_match(root_port, &mds->pmem_perf)) 367 rc = device_for_each_child(&root_port->dev,
|
H A D | region.c | 1719 * root_port 1728 * iteration uses the host-bridge position in the root_port and the ways 1729 * of the root_port to refine the position. 1744 /* Iterate from endpoint to root_port refining the position */ 1795 struct cxl_port *ep_port, *root_port; local 1826 root_port = cxlrd_to_port(cxlrd); 1827 dport = cxl_find_dport_by_dev(root_port, ep_port->host_bridge); 1883 dport = cxl_find_dport_by_dev(root_port,
|
/linux-master/drivers/hwtracing/ptt/ |
H A D | hisi_ptt.c | 615 struct pci_dev *pdev, *root_port; local 620 root_port = pcie_find_root_port(pdev); 621 if (!root_port) 624 port_devid = pci_dev_id(root_port); 662 struct pci_dev *root_port = pcie_find_root_port(pdev); local 667 if (!root_port) 670 port_devid = pci_dev_id(root_port);
|
/linux-master/drivers/perf/hisilicon/ |
H A D | hisi_pcie_pmu.c | 279 struct pci_dev *root_port, *pdev; local 287 root_port = pcie_find_root_port(pdev); 288 if (!root_port) { 294 rp_bdf = pci_dev_id(root_port);
|
/linux-master/drivers/usb/host/ |
H A D | r8a66597-hcd.c | 248 char *devpath, u16 *root_port, u16 *hub_port) 250 if (root_port) { 251 *root_port = (devpath[0] & 0x0F) - 1; 252 if (*root_port >= r8a66597->max_root_hub) 355 &dev->root_port, &dev->hub_port); 357 r8a66597->root_hub[dev->root_port].dev = dev; 362 dev->hub_port, dev->root_port); 1842 u16 root_port, hub_port; local 1846 &root_port, &hub_port); 1850 hub_port, root_port); 247 get_port_number(struct r8a66597 *r8a66597, char *devpath, u16 *root_port, u16 *hub_port) argument [all...] |
H A D | r8a66597.h | 75 u16 root_port; member in struct:r8a66597_device
|
/linux-master/drivers/thunderbolt/ |
H A D | switch.c | 213 struct pci_dev *root_port; local 221 root_port = pcie_find_root_port(sw->tb->nhi->pdev); 222 if (root_port) 223 pm_runtime_get_noresume(&root_port->dev); 228 struct pci_dev *root_port; local 230 root_port = pcie_find_root_port(sw->tb->nhi->pdev); 231 if (root_port) 232 pm_runtime_put(&root_port->dev);
|
/linux-master/tools/testing/cxl/test/ |
H A D | cxl.c | 1184 struct platform_device *root_port = cxl_root_single[i]; local 1191 pdev->dev.parent = &root_port->dev; 1365 struct platform_device *root_port = cxl_root_port[i]; local 1371 pdev->dev.parent = &root_port->dev;
|
/linux-master/include/uapi/linux/ |
H A D | if_bridge.h | 67 __u8 root_port; member in struct:__bridge_info
|
/linux-master/drivers/perf/arm_cspmu/ |
H A D | nvidia_cspmu.c | 191 ARM_CSPMU_FORMAT_ATTR(root_port, "config1:0-9"),
|
/linux-master/drivers/pci/ |
H A D | quirks.c | 4572 struct pci_dev *root_port = pcie_find_root_port(pdev); local 4574 if (!root_port) { 4579 pci_info(root_port, "Disabling No Snoop/Relaxed Ordering Attributes to avoid PCIe Completion erratum in %s\n", 4581 pcie_capability_clear_word(root_port, PCI_EXP_DEVCTL,
|