Home
last modified time | relevance | path

Searched refs:root_port (Results 1 – 11 of 11) sorted by relevance

/drivers/cxl/
A Dacpi.c181 struct cxl_port *root_port; member
402 struct cxl_port *root_port = ctx->root_port; in DEFINE_FREE() local
433 cxl_root_decoder_alloc(root_port, ways); in DEFINE_FREE()
631 struct cxl_port *root_port = arg; in add_host_bridge_dport() local
632 struct device *host = root_port->dev.parent; in add_host_bridge_dport()
688 struct cxl_port *root_port = arg; in add_host_bridge_uport() local
746 struct cxl_port *root_port = data; in add_root_nvdimm_bridge() local
890 struct cxl_port *root_port; in cxl_acpi_probe() local
912 root_port = &cxl_root->port; in cxl_acpi_probe()
925 .root_port = root_port, in cxl_acpi_probe()
[all …]
/drivers/pci/hotplug/
A Dacpiphp_ampere_altra.c43 struct pci_dev *root_port; in set_attention_status() local
49 root_port = pcie_find_root_port(bus->self); in set_attention_status()
50 if (!root_port) in set_attention_status()
63 (PCI_SLOT(root_port->devfn) << 4) | (pci_domain_nr(bus) & 0xf), in set_attention_status()
/drivers/cxl/core/
A Dcdat.c314 static bool cxl_qos_match(struct cxl_port *root_port, in cxl_qos_match() argument
320 if (!device_for_each_child(&root_port->dev, &dpa_perf->qos_class, in cxl_qos_match()
351 struct cxl_port *root_port; in cxl_qos_class_verify() local
363 root_port = &cxl_root->port; in cxl_qos_class_verify()
371 if (!device_for_each_child(&root_port->dev, in cxl_qos_class_verify()
385 if (!cxl_qos_match(root_port, perf)) in cxl_qos_class_verify()
A Dregion.c1925 struct cxl_port *ep_port, *root_port; in cxl_region_attach() local
1967 root_port = cxlrd_to_port(cxlrd); in cxl_region_attach()
1968 dport = cxl_find_dport_by_dev(root_port, ep_port->host_bridge); in cxl_region_attach()
2024 dport = cxl_find_dport_by_dev(root_port, in cxl_region_attach()
/drivers/hwtracing/ptt/
A Dhisi_ptt.c615 struct pci_dev *pdev, *root_port; in hisi_ptt_notifier_call() local
620 root_port = pcie_find_root_port(pdev); in hisi_ptt_notifier_call()
621 if (!root_port) in hisi_ptt_notifier_call()
624 port_devid = pci_dev_id(root_port); in hisi_ptt_notifier_call()
662 struct pci_dev *root_port = pcie_find_root_port(pdev); in hisi_ptt_init_filters() local
667 if (!root_port) in hisi_ptt_init_filters()
670 port_devid = pci_dev_id(root_port); in hisi_ptt_init_filters()
/drivers/perf/hisilicon/
A Dhisi_pcie_pmu.c284 struct pci_dev *root_port, *pdev; in hisi_pcie_pmu_valid_requester_id() local
292 root_port = pcie_find_root_port(pdev); in hisi_pcie_pmu_valid_requester_id()
293 if (!root_port) { in hisi_pcie_pmu_valid_requester_id()
299 rp_bdf = pci_dev_id(root_port); in hisi_pcie_pmu_valid_requester_id()
/drivers/usb/host/
A Dr8a66597-hcd.c248 char *devpath, u16 *root_port, u16 *hub_port) in get_port_number() argument
250 if (root_port) { in get_port_number()
251 *root_port = (devpath[0] & 0x0F) - 1; in get_port_number()
252 if (*root_port >= r8a66597->max_root_hub) in get_port_number()
355 &dev->root_port, &dev->hub_port); in make_r8a66597_device()
357 r8a66597->root_hub[dev->root_port].dev = dev; in make_r8a66597_device()
362 dev->hub_port, dev->root_port); in make_r8a66597_device()
1843 u16 root_port, hub_port; in set_address_zero() local
1847 &root_port, &hub_port); in set_address_zero()
1851 hub_port, root_port); in set_address_zero()
A Dr8a66597.h75 u16 root_port; member
/drivers/thunderbolt/
A Dswitch.c213 struct pci_dev *root_port; in nvm_authenticate_start_dma_port() local
221 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_start_dma_port()
222 if (root_port) in nvm_authenticate_start_dma_port()
223 pm_runtime_get_noresume(&root_port->dev); in nvm_authenticate_start_dma_port()
228 struct pci_dev *root_port; in nvm_authenticate_complete_dma_port() local
230 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_complete_dma_port()
231 if (root_port) in nvm_authenticate_complete_dma_port()
232 pm_runtime_put(&root_port->dev); in nvm_authenticate_complete_dma_port()
/drivers/perf/arm_cspmu/
A Dnvidia_cspmu.c128 ARM_CSPMU_FORMAT_ATTR(root_port, "config1:0-9"),
/drivers/pci/
A Dquirks.c4589 struct pci_dev *root_port = pcie_find_root_port(pdev); in quirk_disable_root_port_attributes() local
4591 if (!root_port) { in quirk_disable_root_port_attributes()
4596 …pci_info(root_port, "Disabling No Snoop/Relaxed Ordering Attributes to avoid PCIe Completion errat… in quirk_disable_root_port_attributes()
4598 pcie_capability_clear_word(root_port, PCI_EXP_DEVCTL, in quirk_disable_root_port_attributes()

Completed in 48 milliseconds