/linux-6.3-rc2/drivers/cxl/ |
A D | acpi.c | 192 struct cxl_port *root_port; member 202 struct cxl_port *root_port = ctx->root_port; in cxl_parse_cfmws() local 336 struct cxl_port *root_port = arg; in add_host_bridge_uport() local 337 struct device *host = root_port->dev.parent; in add_host_bridge_uport() 427 struct cxl_port *root_port = arg; in add_host_bridge_dport() local 482 struct cxl_port *root_port = data; in add_root_nvdimm_bridge() local 631 struct cxl_port *root_port; in cxl_acpi_probe() local 651 if (IS_ERR(root_port)) in cxl_acpi_probe() 652 return PTR_ERR(root_port); in cxl_acpi_probe() 665 .root_port = root_port, in cxl_acpi_probe() [all …]
|
/linux-6.3-rc2/net/bridge/ |
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 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() 279 p = br_get_port(br, br->root_port); in br_transmit_tcn() [all …]
|
A D | br_ioctl.c | 179 b.root_port = br->root_port; in br_dev_siocdevprivate()
|
A D | br_sysfs_br.c | 238 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show() 240 static DEVICE_ATTR_RO(root_port);
|
A D | br_private.h | 511 u16 root_port; member
|
A D | br_netlink.c | 1647 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) || in br_fill_info()
|
/linux-6.3-rc2/Documentation/admin-guide/perf/ |
A D | nvidia-pmu.rst | 171 "root_port" bitmap parameter to select the port(s) to monitor, i.e. 172 "root_port=0xF" corresponds to root port 0 to 3. 173 /sys/bus/event_sources/devices/nvidia_pcie_pmu_<socket-id>/format/root_port 174 shows the valid bits that can be set in the "root_port" parameter. 180 perf stat -a -e nvidia_pcie_pmu_0/event=0x0,root_port=0x3/ 184 perf stat -a -e nvidia_pcie_pmu_1/event=0x0,root_port=0x3/
|
/linux-6.3-rc2/drivers/perf/hisilicon/ |
A D | hisi_pcie_pmu.c | 272 struct pci_dev *root_port, *pdev; in hisi_pcie_pmu_valid_requester_id() local 280 root_port = pcie_find_root_port(pdev); in hisi_pcie_pmu_valid_requester_id() 281 if (!root_port) { in hisi_pcie_pmu_valid_requester_id() 287 rp_bdf = pci_dev_id(root_port); in hisi_pcie_pmu_valid_requester_id()
|
/linux-6.3-rc2/drivers/hwtracing/ptt/ |
A D | hisi_ptt.c | 359 struct pci_dev *root_port = pcie_find_root_port(pdev); in hisi_ptt_init_filters() local 364 if (!root_port) in hisi_ptt_init_filters() 367 port_devid = PCI_DEVID(root_port->bus->number, root_port->devfn); in hisi_ptt_init_filters()
|
/linux-6.3-rc2/drivers/usb/host/ |
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() 1842 u16 root_port, hub_port; in set_address_zero() local 1846 &root_port, &hub_port); in set_address_zero() 1850 hub_port, root_port); in set_address_zero()
|
A D | r8a66597.h | 75 u16 root_port; member
|
/linux-6.3-rc2/drivers/thunderbolt/ |
A D | switch.c | 217 struct pci_dev *root_port; in nvm_authenticate_start_dma_port() local 225 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_start_dma_port() 226 if (root_port) in nvm_authenticate_start_dma_port() 227 pm_runtime_get_noresume(&root_port->dev); in nvm_authenticate_start_dma_port() 232 struct pci_dev *root_port; in nvm_authenticate_complete_dma_port() local 234 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_complete_dma_port() 235 if (root_port) in nvm_authenticate_complete_dma_port() 236 pm_runtime_put(&root_port->dev); in nvm_authenticate_complete_dma_port()
|
/linux-6.3-rc2/tools/testing/cxl/test/ |
A D | cxl.c | 1146 struct platform_device *root_port = cxl_root_single[i]; in cxl_single_init() local 1153 pdev->dev.parent = &root_port->dev; in cxl_single_init() 1327 struct platform_device *root_port = cxl_root_port[i]; in cxl_test_init() local 1333 pdev->dev.parent = &root_port->dev; in cxl_test_init()
|
/linux-6.3-rc2/drivers/perf/arm_cspmu/ |
A D | nvidia_cspmu.c | 190 ARM_CSPMU_FORMAT_ATTR(root_port, "config1:0-9"),
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | if_bridge.h | 67 __u8 root_port; member
|
/linux-6.3-rc2/drivers/cxl/core/ |
A D | region.c | 1533 struct cxl_port *ep_port, *root_port; in cxl_region_attach() local 1558 root_port = cxlrd_to_port(cxlrd); in cxl_region_attach() 1559 dport = cxl_find_dport_by_dev(root_port, ep_port->host_bridge); in cxl_region_attach() 1613 dport = cxl_find_dport_by_dev(root_port, in cxl_region_attach()
|
/linux-6.3-rc2/drivers/pci/ |
A D | quirks.c | 4435 struct pci_dev *root_port = pcie_find_root_port(pdev); in quirk_disable_root_port_attributes() local 4437 if (!root_port) { in quirk_disable_root_port_attributes() 4442 …pci_info(root_port, "Disabling No Snoop/Relaxed Ordering Attributes to avoid PCIe Completion errat… in quirk_disable_root_port_attributes() 4444 pcie_capability_clear_and_set_word(root_port, PCI_EXP_DEVCTL, in quirk_disable_root_port_attributes()
|