Searched refs:root_port (Results 1 - 18 of 18) sorted by relevance

/linux-master/drivers/pci/hotplug/
H A Dacpiphp_ampere_altra.c43 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 Dacpi.c197 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 Dbr_stp.c103 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 Dbr_ioctl.c179 b.root_port = br->root_port;
H A Dbr_sysfs_br.c238 return sprintf(buf, "%d\n", to_bridge(d)->root_port);
240 static DEVICE_ATTR_RO(root_port);
H A Dbr_private.h517 u16 root_port; member in struct:net_bridge
H A Dbr_netlink.c1678 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) ||
/linux-master/drivers/cxl/core/
H A Dcdat.c311 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 Dregion.c1719 * 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 Dhisi_ptt.c615 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 Dhisi_pcie_pmu.c279 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 Dr8a66597-hcd.c248 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 Dr8a66597.h75 u16 root_port; member in struct:r8a66597_device
/linux-master/drivers/thunderbolt/
H A Dswitch.c213 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 Dcxl.c1184 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 Dif_bridge.h67 __u8 root_port; member in struct:__bridge_info
/linux-master/drivers/perf/arm_cspmu/
H A Dnvidia_cspmu.c191 ARM_CSPMU_FORMAT_ATTR(root_port, "config1:0-9"),
/linux-master/drivers/pci/
H A Dquirks.c4572 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,

Completed in 240 milliseconds