| /linux/drivers/cxl/ |
| H A D | acpi.c | 210 struct cxl_port *root_port; member 404 struct cxl_port *root_port = ctx->root_port; in DEFINE_FREE() local 433 cxl_root_decoder_alloc(root_port, ways); in DEFINE_FREE() 487 dev_dbg(root_port->dev.parent, "%s added to %s\n", in DEFINE_FREE() 488 dev_name(&cxld->dev), dev_name(&root_port->dev)); in DEFINE_FREE() 632 struct cxl_port *root_port = arg; in add_host_bridge_dport() local 633 struct device *host = root_port->dev.parent; in add_host_bridge_dport() 666 dport = devm_cxl_add_rch_dport(root_port, bridge, ctx.uid, in add_host_bridge_dport() 669 dport = devm_cxl_add_dport(root_port, bridge, ctx.uid, in add_host_bridge_dport() 689 struct cxl_port *root_port = arg; in add_host_bridge_uport() local [all …]
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pcie-stm32.c | 213 struct device_node *root_port; in stm32_pcie_parse_port() local 215 root_port = of_get_next_available_child(dev->of_node, NULL); in stm32_pcie_parse_port() 217 stm32_pcie->phy = devm_of_phy_get(dev, root_port, NULL); in stm32_pcie_parse_port() 219 of_node_put(root_port); in stm32_pcie_parse_port() 224 stm32_pcie->perst_gpio = devm_fwnode_gpiod_get(dev, of_fwnode_handle(root_port), in stm32_pcie_parse_port() 228 of_node_put(root_port); in stm32_pcie_parse_port() 235 stm32_pcie->wake_gpio = devm_fwnode_gpiod_get(dev, of_fwnode_handle(root_port), in stm32_pcie_parse_port() 240 of_node_put(root_port); in stm32_pcie_parse_port() 247 of_node_put(root_port); in stm32_pcie_parse_port()
|
| H A D | pcie-spacemit-k1.c | 259 struct device_node *root_port; in k1_pcie_parse_port() local 263 root_port = of_get_next_available_child(dev_of_node(dev), NULL); in k1_pcie_parse_port() 264 if (!root_port) in k1_pcie_parse_port() 267 phy = devm_of_phy_get(dev, root_port, NULL); in k1_pcie_parse_port() 269 of_node_put(root_port); in k1_pcie_parse_port()
|
| /linux/net/bridge/ |
| H A D | br_stp.c | 103 u16 root_port) in br_should_become_root_port() argument 117 if (!root_port) in br_should_become_root_port() 120 rp = br_get_port(br, root_port); in br_should_become_root_port() 170 u16 root_port = 0; in br_root_selection() local 173 if (!br_should_become_root_port(p, root_port)) in br_root_selection() 179 root_port = p->port_no; in br_root_selection() 182 br->root_port = root_port; in br_root_selection() 184 if (!root_port) { in br_root_selection() 188 p = br_get_port(br, root_port); in br_root_selection() 232 = br_get_port(br, br->root_port); in br_transmit_config() [all …]
|
| H A D | br_ioctl.c | 179 b.root_port = br->root_port; in br_dev_siocdevprivate()
|
| H A D | br_sysfs_br.c | 239 return sysfs_emit(buf, "%d\n", to_bridge(d)->root_port); in root_port_show() 241 static DEVICE_ATTR_RO(root_port);
|
| H A D | br_netlink.c | 1680 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) || in br_fill_info()
|
| H A D | br_private.h | 524 u16 root_port; member
|
| /linux/drivers/pci/hotplug/ |
| H A D | acpiphp_ampere_altra.c | 43 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()
|
| /linux/Documentation/admin-guide/perf/ |
| H A D | nvidia-pmu.rst | 204 "root_port" bitmap parameter to select the port(s) to monitor, i.e. 205 "root_port=0xF" corresponds to root port 0 to 3. The PMU will monitor all root 207 /sys/bus/event_source/devices/nvidia_pcie_pmu_<socket-id>/format/root_port 208 shows the valid bits that can be set in the "root_port" parameter. 214 perf stat -a -e nvidia_pcie_pmu_0/event=0x0,root_port=0x3/ 218 perf stat -a -e nvidia_pcie_pmu_1/event=0x0,root_port=0x3/
|
| /linux/drivers/cxl/core/ |
| H A D | cdat.c | 314 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()
|
| H A D | region.c | 1986 struct cxl_port *ep_port, *root_port; in cxl_region_attach() local 2028 root_port = cxlrd_to_port(cxlrd); in cxl_region_attach() 2029 dport = cxl_find_dport_by_dev(root_port, ep_port->host_bridge); in cxl_region_attach() 2085 dport = cxl_find_dport_by_dev(root_port, in cxl_region_attach()
|
| /linux/drivers/hwtracing/ptt/ |
| H A D | hisi_ptt.c | 615 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()
|
| /linux/drivers/perf/hisilicon/ |
| H A D | hisi_pcie_pmu.c | 284 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()
|
| /linux/drivers/usb/host/ |
| H A D | r8a66597-hcd.c | 248 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()
|
| H A D | r8a66597.h | 75 u16 root_port; member
|
| /linux/drivers/thunderbolt/ |
| H A D | switch.c | 214 struct pci_dev *root_port; in nvm_authenticate_start_dma_port() local 222 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_start_dma_port() 223 if (root_port) in nvm_authenticate_start_dma_port() 224 pm_runtime_get_noresume(&root_port->dev); in nvm_authenticate_start_dma_port() 229 struct pci_dev *root_port; in nvm_authenticate_complete_dma_port() local 231 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_complete_dma_port() 232 if (root_port) in nvm_authenticate_complete_dma_port() 233 pm_runtime_put(&root_port->dev); in nvm_authenticate_complete_dma_port()
|
| /linux/tools/testing/cxl/test/ |
| H A D | cxl.c | 1253 struct platform_device *root_port = cxl_root_single[i]; in cxl_single_topo_init() local 1260 pdev->dev.parent = &root_port->dev; in cxl_single_topo_init() 1500 struct platform_device *root_port = cxl_root_port[i]; in cxl_test_init() local 1506 pdev->dev.parent = &root_port->dev; in cxl_test_init()
|
| /linux/include/uapi/linux/ |
| H A D | if_bridge.h | 67 __u8 root_port; member
|
| /linux/drivers/perf/arm_cspmu/ |
| H A D | nvidia_cspmu.c | 139 ARM_CSPMU_FORMAT_ATTR(root_port, "config1:0-9"),
|
| /linux/drivers/pci/ |
| H A D | quirks.c | 4647 struct pci_dev *root_port = pcie_find_root_port(pdev); in quirk_disable_root_port_attributes() local 4649 if (!root_port) { in quirk_disable_root_port_attributes() 4654 …pci_info(root_port, "Disabling No Snoop/Relaxed Ordering Attributes to avoid PCIe Completion errat… in quirk_disable_root_port_attributes() 4656 pcie_capability_clear_word(root_port, PCI_EXP_DEVCTL, in quirk_disable_root_port_attributes()
|