Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/cxl/
Dacpi.c75 struct cxl_port *root_port; member
85 struct cxl_port *root_port = ctx->root_port; in cxl_parse_cfmws() local
131 cxlrd = cxl_root_decoder_alloc(root_port, ways); in cxl_parse_cfmws()
194 struct cxl_port *root_port = arg; in add_host_bridge_uport() local
195 struct device *host = root_port->dev.parent; in add_host_bridge_uport()
205 dport = cxl_find_dport_by_dev(root_port, match); in add_host_bridge_uport()
258 struct cxl_port *root_port = arg; in add_host_bridge_dport() local
259 struct device *host = root_port->dev.parent; in add_host_bridge_dport()
285 dport = devm_cxl_add_dport(root_port, match, uid, ctx.chbcr); in add_host_bridge_dport()
298 struct cxl_port *root_port = data; in add_root_nvdimm_bridge() local
[all …]
/linux-6.1.9/net/bridge/
Dbr_stp.c103 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 …]
Dbr_ioctl.c179 b.root_port = br->root_port; in br_dev_siocdevprivate()
Dbr_sysfs_br.c238 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
240 static DEVICE_ATTR_RO(root_port);
Dbr_private.h490 u16 root_port; member
Dbr_netlink.c1611 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) || in br_fill_info()
/linux-6.1.9/drivers/perf/hisilicon/
Dhisi_pcie_pmu.c261 struct pci_dev *root_port, *pdev; in hisi_pcie_pmu_valid_requester_id() local
269 root_port = pcie_find_root_port(pdev); in hisi_pcie_pmu_valid_requester_id()
270 if (!root_port) { in hisi_pcie_pmu_valid_requester_id()
276 rp_bdf = pci_dev_id(root_port); in hisi_pcie_pmu_valid_requester_id()
/linux-6.1.9/tools/testing/cxl/test/
Dcxl.c780 struct platform_device *root_port = cxl_root_single[i]; in cxl_single_init() local
787 pdev->dev.parent = &root_port->dev; in cxl_single_init()
946 struct platform_device *root_port = cxl_root_port[i]; in cxl_test_init() local
952 pdev->dev.parent = &root_port->dev; in cxl_test_init()
/linux-6.1.9/drivers/usb/host/
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()
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()
Dr8a66597.h75 u16 root_port; member
/linux-6.1.9/drivers/thunderbolt/
Dswitch.c216 struct pci_dev *root_port; in nvm_authenticate_start_dma_port() local
224 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_start_dma_port()
225 if (root_port) in nvm_authenticate_start_dma_port()
226 pm_runtime_get_noresume(&root_port->dev); in nvm_authenticate_start_dma_port()
231 struct pci_dev *root_port; in nvm_authenticate_complete_dma_port() local
233 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_complete_dma_port()
234 if (root_port) in nvm_authenticate_complete_dma_port()
235 pm_runtime_put(&root_port->dev); in nvm_authenticate_complete_dma_port()
/linux-6.1.9/include/uapi/linux/
Dif_bridge.h67 __u8 root_port; member
/linux-6.1.9/drivers/cxl/core/
Dregion.c1187 struct cxl_port *ep_port, *root_port, *iter; in cxl_region_attach() local
1244 root_port = cxlrd_to_port(cxlrd); in cxl_region_attach()
1245 dport = cxl_find_dport_by_dev(root_port, ep_port->host_bridge); in cxl_region_attach()
/linux-6.1.9/drivers/pci/
Dquirks.c4435 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()